v1

latestOpenAPI 3.1.02026-07-2617125852.3 KB
InboxPlacementTest

Get inbox placement test

Requires one of the following scopes: inbox_placement_tests:read, inbox_placement_tests:all, all:read, all:all

get/api/v2/inbox-placement-tests/{id}

Path parameters

idstring uuid required
Example:019f94cd-aeb7-7164-ba3b-fdc9fb7adab2

The ID of the requested item

Query parameters

with_metadataboolean
Example:true

Whether to include additional metadata about the inbox placement test

Response

The requested Inbox Placement Test

idstring uuid

Unique identifier for the inbox placement test

organization_idstring uuid

Organization ID

namestring

Name of the inbox placement test

delivery_mode1 | 2 | null nullable

Whether to send emails one by one or all together

descriptionstring nullable

Description of the inbox placement test

type1 | 2

Whether the inbox placement test is a one-time test or an automated test

sending_method1 | 2

Whether the inbox placement test will be sent from Instantly or from outside Instantly

campaign_idstring uuid nullable

Campaign ID

email_subjectstring

Email subject of the inbox placement test

email_bodystring

Email body of the inbox placement test

emailsstring[]

Emails to send the inbox placement test to

test_codestring nullable

Code for identifying inbox placement tests sent from outside Instantly. Use ptid_ followed by letters, numbers, hyphens, or underscores. When creating a test, the ptid_ prefix is added automatically if omitted. The full code must be at most 50 characters.

tagsstring[] nullable

List of tag IDs to use for sending emails

text_onlyboolean nullable

Disables open tracking

recipientsstring[]
timestamp_createdstring

Timestamp when the inbox placement test was created

timestamp_next_runstring nullable

Timestamp when the inbox placement test will run next

status1 | 2 | 3 nullable

Status of the inbox placement test

not_sending_status'daily_limits_hit' | 'other' nullable

Why the inbox placement test is currently not sending. It will be an empty string if there are no issues.

Example response

{
  "id": "019f94cd-83af-7ac5-acf5-0f661da52ad9",
  "organization_id": "019f94cd-83af-7ac5-acf5-0f67604a4657",
  "name": "My Inbox Placement Test",
  "delivery_mode": 1,
  "description": "This is a test description",
  "schedule": {
    "days": {
      "0": false,
      "1": false,
      "2": true,
      "3": true,
      "4": false,
      "5": false,
      "6": false
    },
    "timing": {
      "from": "02:30"
    },
    "timezone": "Etc/GMT+12"
  },
  "type": 1,
  "sending_method": 1,
  "campaign_id": "019f94cd-83af-7ac5-acf5-0f68a4abdeac",
  "email_subject": "My Email Subject",
  "email_body": "Hi, this is my email body",
  "emails": [
    "john@doe.com"
  ],
  "test_code": "ptid_ywYL4giOvjmGfhXDhI6JC",
  "tags": [
    "019f94cd-83af-7ac5-acf5-0f692bce3808"
  ],
  "text_only": true,
  "recipients": [
    "johndoe@instantly.ai"
  ],
  "recipients_labels": [
    {
      "region": "North America",
      "sub_region": "US",
      "type": "Professional",
      "esp": "Google"
    }
  ],
  "timestamp_created": "2026-07-24T15:45:24.399Z",
  "timestamp_next_run": "2026-07-24T15:45:24.399Z",
  "automations": [
    {
      "when": {
        "condition": "placement_goes_below",
        "condition_value": 80
      },
      "then": {
        "webhook_url": "https://example.com/webhook",
        "pause_sending_campaigns_for": 14,
        "pause": true,
        "enable_slow_ramp": true,
        "disable_slow_ramp": true,
        "add_tags": [
          "019f94cd-83af-7ac5-acf5-0f6b51f6e50e"
        ],
        "remove_tags": [
          "019f94cd-83af-7ac5-acf5-0f6c269291d5"
        ]
      }
    }
  ],
  "status": 1,
  "not_sending_status": "daily_limits_hit",
  "metadata": {
    "campaign": {
      "id": "campaign-id",
      "name": "Campaign Name"
    },
    "tags": {
      "tag-id": {
        "id": "tag-id",
        "label": "Tag Label"
      }
    }
  }
}