Dashboard

Campaigns

Auth Required

Send Test

POSThttps://api.inboxjot.com/v1/campaigns/{campaign_id}/test

Sends the campaign to up to 5 addresses, with [Test] before the subject. The campaign itself does not change. Test emails count toward the daily sending limit. Needs a Full key. A key limited to one domain answers 403. Send an optional Idempotency-Key header to retry safely. See Idempotency.

POST/v1/campaigns/{campaign_id}/test
curl -X POST https://api.inboxjot.com/v1/campaigns/cpg_06d2mfk8r7hm4ps9wb2kd/test \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": [
      "suhasinee@example.com"
    ]
  }'
{
  "ids": [
    "eml_06d2mfk8r4tq9xv2bnc7s"
  ]
}

Accepted. Inboxjot sends the test emails in the background.

Path Parameters

campaign_idstringrequired

The campaign id.

Body Parameters

tostring[]required

1 to 5 email addresses.

Response

idsstring[]

The id of each test email. Look them up with Retrieve Email.

Responses

POST/v1/campaigns/{campaign_id}/test
curl -X POST https://api.inboxjot.com/v1/campaigns/cpg_06d2mfk8r7hm4ps9wb2kd/test \
  -H "Authorization: Bearer $INBOXJOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": [
      "suhasinee@example.com"
    ]
  }'
{
  "ids": [
    "eml_06d2mfk8r4tq9xv2bnc7s"
  ]
}

Accepted. Inboxjot sends the test emails in the background.