Campaigns

List campaigns

One row per campaign sent from the domain in the period. A campaign is every email that shared the same subject line.

get/v1/domains/{domain}/campaigns

Request

  • Base URL
    https://data.inboxpro.io
  • Auth
    HTTP bearer

Path parameters

domainstring required

One of your sending domains (the part after @ in your From address).

Query parameters

fromstring date

First day to include, YYYY-MM-DD (UTC). Defaults to 6 days before to.

tostring date

Last day to include, YYYY-MM-DD (UTC). Defaults to today. The range can span at most 90 days.

exclude_botsboolean

Leave out opens and clicks made automatically by security scanners and mail privacy features, so engagement reflects real people. Set to false to count every open and click.

pageinteger

Page number, starting at 1.

page_sizeinteger

Rows per page (max 100).

sort'last_sent_at' | 'sent' | 'open_rate' | 'click_rate' | 'bounce_rate' | 'unsubscribe_rate'

Order campaigns by this column, highest or most recent first.

searchstring

Only campaigns whose subject contains this text (not case-sensitive).

Response

Default Response

domainstring required
bots_excludedboolean required
data_as_ofstring date-time required

Numbers include activity up to this moment. Recent hours may still change slightly.

Example response

{
  "domain": "example.com",
  "campaigns": [
    {
      "subject": "October newsletter"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.