Broadcasts

Send broadcast to individual

POST https://demo.notifuse.com/api/broadcasts.sendToIndividual

Sends a broadcast to a single recipient for testing purposes. Optionally specify which template variation to send.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Body application/json

workspace_id string required

The ID of the workspace

Example ws_1234567890
broadcast_id string required

ID of the broadcast

Example broadcast_12345
recipient_email string<email> required

Email address to send test to

Example test@example.com
template_id string

Optional specific template variation to send

Example template_variant_a

Response

200 Broadcast sent to individual successfully object
success boolean
Example true
400 Bad request - validation failed object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

404 Broadcast not found object
error string required

Error message

422 The email cannot be built from the template and the recipient's data: a Liquid error, such as a filter that fails or a comparison of a text with a number, or an MJML error. Nothing is sent. The template or the data has to change; sending again fails the same way. object
error string required

Error message

500 Internal server error object
error string required

Error message