APICampaigns

List campaign sending inboxes

Returns the GTM Sending inboxes of the organization and whether each can send for the given campaign type. Use the ids of eligible inboxes in a campaign's `provider_config.inbox_ids`.

GET
/v1/campaigns/sending-inboxes

Returns the GTM Sending inboxes of the organization and whether each can send for the given campaign type. Use the ids of eligible inboxes in a campaign's provider_config.inbox_ids.

X-Api-Key<token>

In: header

Query Parameters

campaign_type?string

Campaign type to evaluate eligibility for. Marketing-domain inboxes are only eligible for "newsletter". When omitted, eligibility is evaluated for a non-newsletter (Live) campaign.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/campaigns/sending-inboxes"
{
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email_address": "string",
      "display_name": "string",
      "status": "string",
      "daily_send_limit": 0,
      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
      "domain": "string",
      "domain_purpose": "string",
      "eligible": true,
      "ineligible_reason": "string"
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}