API Explorer (2.0.0)

The entire API V2 documentation is interactive and can be tested here. To the right side of every endpoint you will see a box with an example request. You can click on the "Try it" button to send a request to the server right from the docs. You will need to provide an API key by clicking the ApiKeyAuth_token blue text.

Languages
Servers
Instantly API Server

https://api.instantly.ai/

Mock server

https://developer.instantly.ai/_mock/api/v2/

Analytics

Endpoints related to analytics

Operations

Account

An email account that can be used to send campaigns

Operations

Campaign

A campaign that can be sent to a list of recipients

Operations

Email

A campaign email, a reply, a manually sent email, or any other email that's visible in the Unibox

Operations

Email Verification

A single email verification

Operations

Lead List

A list used to store leads

Operations

Inbox Placement Test

An inbox placement test

Operations

Inbox Placement Analytics

Analytics data for individual emails in inbox placement tests

Operations

Inbox Placement Blacklist & SpamAssassin Report

Report data for an inbox placement test

Operations

API Key

API Key

Operations

Account Campaign Mapping

Account Campaign Mapping

Operations

Lead

A lead entity representing an individual lead

Operations

Background Job

A background job that can be used to perform long-running tasks

Operations

Custom Tag

A custom tag for organizing and categorizing accounts and campaigns. You can use them as filters in apis that list accounts and campaigns.

Operations

Custom Tag

A custom tag for organizing and categorizing accounts and campaigns. You can use them as filters in apis that list accounts and campaigns.

idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
{ "id": "019762d9-4a0b-73bf-a9ca-ce0bae225217", "timestamp_created": "2025-06-12T06:34:56.907Z", "timestamp_updated": "2025-06-12T06:34:56.907Z", "organization_id": "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca", "label": "Important", "description": "Used for marking important items" }

Create custom tag

Request

Requires one of the following scopes: custom_tags:create, custom_tags:all, all:create, all:all

Bodyapplication/jsonrequired

The Custom Tag to create

labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionstring or null

Detailed description of the custom tag purpose

Example: "Used for marking important items"
curl -i -X POST \
  https://api.instantly.ai/api/v2/custom-tags \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Important"
  }'

Responses

The Custom Tag

Bodyapplication/json
idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
Response
application/json
{ "id": "019762d9-4a0b-73bf-a9ca-ce0bae225217", "timestamp_created": "2025-06-12T06:34:56.907Z", "timestamp_updated": "2025-06-12T06:34:56.907Z", "organization_id": "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca", "label": "Important", "description": "Used for marking important items" }

List custom tag

Request

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

Query
limitinteger[ 1 .. 100 ]

The number of items to return

Example: limit=10
starting_afterstring

The ID of the last item in the previous page - used for pagination. You can use the value of the next_starting_after field from the previous response.

Example: starting_after=01956fbd-0eb1-72db-a565-82977a586084
searchstring
Example: search=Important
resource_idsstring
Example: resource_ids=id1,id2,id3
tag_idsstring
Example: tag_ids=id1,id2,id3
curl -i -X GET \
  'https://api.instantly.ai/api/v2/custom-tags?limit=10&resource_ids=id1%2Cid2%2Cid3&search=Important&starting_after=01956fbd-0eb1-72db-a565-82977a586084&tag_ids=id1%2Cid2%2Cid3' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The list of Custom Tag

Bodyapplication/json
itemsArray of objects(Custom Tag)required
items[].​idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
items[].​timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
items[].​timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
items[].​organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
items[].​labelstringrequired

Display label for the custom tag

Example: "Important"
items[].​descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
next_starting_afterstring

The filter for getting the next items after this one, this could either be a UUID, a MongoDB ID, a timestamp, on an email depending on the specific API

Example: "019762d9-7a28-7b87-81cf-853943c199fa"
Response
application/json
{ "items": [ { … } ], "next_starting_after": "019762d9-7a28-7b87-81cf-853943c199fa" }

Get custom tag

Request

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

Path
idstring(uuid)required

The ID of the requested item

Example: 019762d9-7a29-78eb-9c65-41efcef4eca8
curl -i -X GET \
  https://api.instantly.ai/api/v2/custom-tags/019762d9-7a29-78eb-9c65-41efcef4eca8 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

The requested Custom Tag

Bodyapplication/json
idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
Response
application/json
{ "id": "019762d9-4a0b-73bf-a9ca-ce0bae225217", "timestamp_created": "2025-06-12T06:34:56.907Z", "timestamp_updated": "2025-06-12T06:34:56.907Z", "organization_id": "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca", "label": "Important", "description": "Used for marking important items" }

Patch custom tag

Request

Requires one of the following scopes: custom_tags:update, custom_tags:all, all:update, all:all

Path
idstring(uuid)required

The ID of the item to update

Example: 019762d9-7a29-78eb-9c65-41f0522e42ee
Bodyapplication/json
non-empty
labelstring

Display label for the custom tag

Example: "Important"
descriptionstring or null

Detailed description of the custom tag purpose

Example: "Used for marking important items"
curl -i -X PATCH \
  https://api.instantly.ai/api/v2/custom-tags/019762d9-7a29-78eb-9c65-41f0522e42ee \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{}'

Responses

The updated Custom Tag

Bodyapplication/json
idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
Response
application/json
{ "id": "019762d9-4a0b-73bf-a9ca-ce0bae225217", "timestamp_created": "2025-06-12T06:34:56.907Z", "timestamp_updated": "2025-06-12T06:34:56.907Z", "organization_id": "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca", "label": "Important", "description": "Used for marking important items" }

Delete custom tag

Request

Requires one of the following scopes: custom_tags:delete, custom_tags:all, all:delete, all:all

Path
idstring(uuid)required

The ID of the item to delete

Example: 019762d9-7a2b-741f-93c7-613f3aad33c0
Bodyapplication/json
null
curl -i -X DELETE \
  https://api.instantly.ai/api/v2/custom-tags/019762d9-7a2b-741f-93c7-613f3aad33c0 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json'

Responses

The deleted Custom Tag

Bodyapplication/json
idstring(uuid)read-onlyrequired

Unique identifier for the custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0bae225217"
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag was created

Example: "2025-06-12T06:34:56.907Z"
timestamp_updatedstring(date-time)read-onlyrequired

Timestamp when the custom tag was last updated

Example: "2025-06-12T06:34:56.907Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag

Example: "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca"
labelstringrequired

Display label for the custom tag

Example: "Important"
descriptionnull or string

Detailed description of the custom tag purpose

Example: "Used for marking important items"
Response
application/json
{ "id": "019762d9-4a0b-73bf-a9ca-ce0bae225217", "timestamp_created": "2025-06-12T06:34:56.907Z", "timestamp_updated": "2025-06-12T06:34:56.907Z", "organization_id": "019762d9-4a0b-73bf-a9ca-ce0c7fc2d5ca", "label": "Important", "description": "Used for marking important items" }

Assign or unassign tags to resources

Request

This can be used for both accounts and campaigns. Please check the resource_type field for more information.

Bodyapplication/jsonrequired
tag_idsArray of strings(uuid)required
Example: ["019762d9-7a2a-7d40-9d68-c7cc14274fc8"]
resource_typenumberrequired

The resource type to assign or unassign the tags to

Enum ValueDescription
1

Account

2

Campaign

Example: 1
resource_idsArray of stringsrequired
Example: ["resource-1","resource-2"]
assignbooleanrequired
Example: true
selected_allboolean
Example: false
filterstring or object
One of:
string
Enum"ACC_FILTER_PAUSED""ACC_FILTER_ERROR""ACC_FILTER_NO_CTD""ACC_FILTER_PW_ACCOUNTS""ACC_FILTER_DFY""ACC_FILTER_W_ACTIVE""ACC_FILTER_W_PAUSED""ACC_FILTER_W_ERROR"
curl -i -X POST \
  https://api.instantly.ai/api/v2/custom-tags/toggle-resource \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "tag_ids": [
      "019762d9-7a2a-7d40-9d68-c7cc14274fc8"
    ],
    "resource_type": 1,
    "resource_ids": [
      "resource-1",
      "resource-2"
    ],
    "assign": true
  }'

Responses

Default Response

Bodyapplication/json
successboolean
Example: true
Response
application/json
{ "success": true }

Block List Entry

A blocked email or domain

Operations

Lead Label

A custom label for categorizing and managing leads

Operations

Workspace

A workspace entity representing a workspace

Operations

Workspace Group Member

A member of a workspace group. You can use the endpoints within this entity to manage the members of a workspace group.

Operations

Workspace Member

A member of a workspace with associated user details

Operations

Campaign Subsequence

A subsequence entity representing a follow-up sequence

Operations

Audit Log

Audit log records for tracking system activities

Operations

Schemas

OSZAR »