/campaigns/{id}/sequences/{sequence_id}/test-email Authentication
Send your organization API key as a Bearer credential.
Authorization: Bearer YOUR_API_KEY Path parameters
id string required sequence_id number required Range: x ≥ 1, x ≤ 2147483647
Body
application/json lead_id number required ID of a lead in this campaign
Range: x ≥ 1, x ≤ 2147483647
account_id number required ID of a connected sender linked to this campaign
Range: x ≥ 1, x ≤ 2147483647
to string required String length: maximum 254
Response
application/json Response
status string required Allowed values: sent
to string required account_id number required Range: x ≥ 1, x ≤ 2147483647
sequence_id number required Range: x ≥ 1, x ≤ 2147483647
Invalid request.
API key required.
Workspace permissions are insufficient.
The campaign or a related resource was not found in this workspace.
The sender is disconnected, or the message has missing content, unresolved variables, or invalid template syntax.
Rate limit reached.
The test email could not be sent.
Campaign workflow API is temporarily unavailable.