Send a campaign step as a test
Renders a saved email step for the given contact exactly as a real send would (template variables, AI content, tracking and unsubscribe settings) and delivers it to `recipientEmail` instead of the contact. `recipientEmail` must belong to an active user in your organization. Works on draft campaigns. Nothing is recorded against the contact. Uses one of the campaign's sending inboxes, so it counts toward that inbox's daily limit.
Renders a saved email step for the given contact exactly as a real send would (template variables, AI content, tracking and unsubscribe settings) and delivers it to recipientEmail instead of the contact. recipientEmail must belong to an active user in your organization. Works on draft campaigns. Nothing is recorded against the contact. Uses one of the campaign's sending inboxes, so it counts toward that inbox's daily limit.
Authorization
apiKey In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08/steps/497f6eca-6276-4993-bfeb-53cbbbba6f08/test-send" \ -H "Content-Type: application/json" \ -d '{ "contactId": "b5ec5d98-4bee-4da1-ad24-dde86346cb1d" }'{
"data": {
"status": "string",
"recipientEmail": "string",
"mailboxId": "string",
"replyContextSimulated": true,
"warning": "string"
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Remove contacts or accounts from a campaign POST
Stops the campaign for the given contacts, or for every contact linked to the given accounts. Future-dated enrollments are cancelled; active ones are ended and their pending sends are skipped. Contacts that are not active in the campaign are ignored, so the call is safe to retry. Works on paused campaigns; not available for scheduled (newsletter) campaigns.
Update a campaign step PATCH
Partially updates a campaign step.