CampaignsGet test email status

Get test email status

Status of a test email queued by POST /v1/campaigns/{campaignId}/send-test-email, for when that call returned 202. Jobs are kept for 24 hours.

  • queued / processing - not finished yet; lastError is set while a failed attempt is being retried.
  • sent - messageId is set.
  • failed - the mailbox could not send it; error has the reason.
curl -X GET "https://api.sendkit.ai/v1/campaigns/example_string/send-test-email/example_string" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "jobId": "preview_email_665a1b2c3d4e5f6a7b8c9d0e_test_example_com_1730000000000_k3x9q2",
    "status": "sent",
    "messageId": "<abc123@smtp.gmail.com>",
    "recipient": "test@example.com",
    "createdAt": "2026-11-02T10:00:00.000Z",
    "updatedAt": "2026-11-02T10:00:21.000Z"
  }
}
GET
/v1/campaigns/{campaignId}/send-test-email/{jobId}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-Api-Key)
X-Api-Keystring
Required

Platform API key (sk_user_...) or Workspace API key (sk_...)

Platform API key (sk_user_...) or Workspace API key (sk_...)
path
jobIdstring
Required

The jobId returned by POST /v1/campaigns/{campaignId}/send-test-email

Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-Api-Keystring
Required

API Key for authentication. Platform API key (sk_user_...) or Workspace API key (sk_...)

Path Parameters

jobIdstring
Required

The jobId returned by POST /v1/campaigns/{campaignId}/send-test-email

Responses

successboolean
dataobject