Access & visibility
Allow newsletters.SendNewsletterTestEmail on your API key.
Acting member required. Send Brigg-Act-As with an approved member account ID. The key supplies permissions; the member selects whose data is used.
The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply.
Request fields
Send a JSON object with the following fields. Required fields must be included; omit optional fields you do not need.
newsletter_idstringRequiredRead the issue and use its newsletter_id when available. This is the content identity, not the issue or schedule ID. newsletters.GetNewsletterIssue.
At least 1 character.
subjectstring or nullOptionalSubject override for this test only, trimmed before use. Omit, null or blank uses the saved campaign subject, then a subject derived from the content. It does not update the saved draft.
preview_textstring or nullOptionalInbox preview line for this test only. Omit or null uses the saved draft's preview text; an empty string explicitly removes it from this test. It does not update the saved draft.
Send a preview without changing the campaign
Read Get newsletter issue and retain its newsletter_id once prepared. The test uses the acting member's current draft when present, otherwise the published content. The member must be allowed to act on this newsletter, not merely know its ID.
The test is addressed only to the acting member, personalizes merge fields with that member's contact details, and prefixes the subject with a preview label in the newsletter's language. It does not save your overrides, publish the newsletter, create a campaign send or mail subscribers.
A successful response means accepted for sending, not delivered. Inspect the actual email's layout, links, merge values and footer before a person sends the campaign in Brigg. The test recipient's existing unsubscribe preference still applies. After a lost response, retry with the original idempotency key instead of creating another preview.
Response
Returns 200 OK with a JSON body.
okbooleanRequiredTrue when the test message was accepted for sending. It does not confirm mailbox delivery or that a person read it.
message_idstringRequiredIdentifier for this outgoing test message. Keep it for troubleshooting. It is not a newsletter, issue or Brigg inbox-message ID; this operation provides no delivery-status polling endpoint.
tostringRequiredEmail address belonging to the approved acting member. There is no recipient override; member delegation selects whose own preview is sent.
Errors & retries
Set BRIGG_REQUEST_ID once for each logical action. The samples send it as Idempotency-Key. Reuse the same value and body on retries, including after a timeout; a missing response does not prove the action failed.
For rate limits, follow the server’s retry guidance and back off. See HTTP errors and safe retries and limits.
| HTTP status | Code | What to do |
|---|---|---|
| 400 | invalid_json |
Send a JSON object with Content-Type: application/json. |
| 400 | invalid_input |
Check the request fields and types. Supply a stable Idempotency-Key containing 1–200 characters. |
| 401 | invalid_key |
The workspace API key is missing, invalid or revoked. |
| 403 | forbidden |
Check the key’s operation and resource grants. Supply Brigg-Act-As with a member authorized by the key’s delegation grant. The selected member must be active and approved by the credential. This selects whose private data is used; the credential supplies permissions. Private ownership and project boundaries still apply. |
| 404 | not_found |
The requested operation or resource is not available to this credential. |
| 429 | rate_limited |
Wait for Retry-After before retrying. Reuse the original Idempotency-Key. |
| 400 | no_email |
The acting member has no email address for the preview. Complete that member's account setup in Brigg. |
| 409 | not_built |
The selected newsletter has no prepared email content. Finish preparing and reviewing it in Brigg first. |
| 409 | images_not_hosted |
Newsletter images are not ready for email delivery. Finish preparing the newsletter's images in Brigg before retrying. |
| 422 | suppressed |
This member's email address is suppressed or unsubscribed for this workspace. No preview was sent; respect the existing preference. |
Next steps
JSON schemas
Use the complete schemas for validation or client generation.
Full request JSON schema
{
"type": "object",
"properties": {
"newsletter_id": {
"type": "string",
"minLength": 1,
"description": "Read the issue and use its newsletter_id when available. This is the content identity, not the issue or schedule ID. [newsletters.GetNewsletterIssue](/developers/reference/newsletters/GetNewsletterIssue)."
},
"subject": {
"type": [
"string",
"null"
],
"description": "Subject override for this test only, trimmed before use. Omit, null or blank uses the saved campaign subject, then a subject derived from the content. It does not update the saved draft."
},
"preview_text": {
"type": [
"string",
"null"
],
"description": "Inbox preview line for this test only. Omit or null uses the saved draft's preview text; an empty string explicitly removes it from this test. It does not update the saved draft."
}
},
"required": [
"newsletter_id"
],
"additionalProperties": false,
"examples": [
{
"newsletter_id": "c_newsletter_autumn"
}
]
}Full response JSON schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"description": "True when the test message was accepted for sending. It does not confirm mailbox delivery or that a person read it."
},
"message_id": {
"type": "string",
"description": "Identifier for this outgoing test message. Keep it for troubleshooting. It is not a newsletter, issue or Brigg inbox-message ID; this operation provides no delivery-status polling endpoint."
},
"to": {
"type": "string",
"description": "Email address belonging to the approved acting member. There is no recipient override; member delegation selects whose own preview is sent."
}
},
"required": [
"ok",
"message_id",
"to"
],
"additionalProperties": false,
"examples": [
{
"ok": true,
"message_id": "msg_preview_autumn",
"to": "jamie@example.com"
}
]
}