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 Mapping

This entity represents a tag being assigned to a specific campaign or email account. When an email account is assigned a tag, a new custom tag mapping entry is created, which connects the tag (tag_id field) with the email account (resource_id field). You can use it to see which tag si connected to which resource.

Operations

Custom Tag Mapping

This entity represents a tag being assigned to a specific campaign or email account. When an email account is assigned a tag, a new custom tag mapping entry is created, which connects the tag (tag_id field) with the email account (resource_id field). You can use it to see which tag si connected to which resource.

idstring(uuid)read-onlyrequired

A Unique identifier

Example: "019ae62f-4822-7917-a475-f98837299c15"
tag_idstring(uuid)read-onlyrequired

ID of the tag this custom mapping belongs to

Example: "019ae62f-4822-7917-a475-f98925e16bb7"
resource_idstring(uuid)read-onlyrequired

ID of the resource custom tag mapping belongs to, resource_type determines the type of resource

Example: "019ae62f-4822-7917-a475-f98a45679657"
resource_typenumberread-onlyrequired

Resource type of custom tag, can be 1 for campaigns or 2 for accounts

Enum ValueDescription
1

Account

2

Campaign

Example: 1
timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag mapping was created

Example: "2025-12-03T21:47:29.698Z"
organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag mapping

Example: "019ae62f-4822-7917-a475-f98bb48cafd7"
{ "id": "019ae62f-4822-7917-a475-f98837299c15", "tag_id": "019ae62f-4822-7917-a475-f98925e16bb7", "resource_id": "019ae62f-4822-7917-a475-f98a45679657", "resource_type": 1, "timestamp_created": "2025-12-03T21:47:29.698Z", "organization_id": "019ae62f-4822-7917-a475-f98bb48cafd7" }

List custom tag mapping

Request

Requires one of the following scopes: custom_tag_mappings:read, custom_tag_mappings: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
resource_idsstring

The list of resource ids to filter custom tag mappings by. A resource id is the id of an account or a campaign.

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

Responses

The list of Custom Tag Mapping

Bodyapplication/json
itemsArray of objects(Custom Tag Mapping)required

The list of Custom Tag Mapping

items[].​idstring(uuid)read-onlyrequired

A Unique identifier

Example: "019ae62f-4822-7917-a475-f98837299c15"
items[].​tag_idstring(uuid)read-onlyrequired

ID of the tag this custom mapping belongs to

Example: "019ae62f-4822-7917-a475-f98925e16bb7"
items[].​resource_idstring(uuid)read-onlyrequired

ID of the resource custom tag mapping belongs to, resource_type determines the type of resource

Example: "019ae62f-4822-7917-a475-f98a45679657"
items[].​resource_typenumberread-onlyrequired

Resource type of custom tag, can be 1 for campaigns or 2 for accounts

Enum ValueDescription
1

Account

2

Campaign

Example: 1
items[].​timestamp_createdstring(date-time)read-onlyrequired

Timestamp when the custom tag mapping was created

Example: "2025-12-03T21:47:29.698Z"
items[].​organization_idstring(uuid)read-onlyrequired

Organization ID that owns this custom tag mapping

Example: "019ae62f-4822-7917-a475-f98bb48cafd7"
next_starting_afterstring

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

Example: "019ae62f-5706-7b35-9548-7c8f1f4571cd"
Response
application/json
{ "items": [ { … } ], "next_starting_after": "019ae62f-5706-7b35-9548-7c8f1f4571cd" }

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

SuperSearch Enrichment

An enrichment can take different forms, such as email enrichment or LinkedIn enrichment. Leads may be imported from SuperSearch using the dedicated endpoint, or enriched directly within a list or campaign by attaching an enrichment to it.

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

Webhook

A webhook subscription for receiving event notifications

Operations

Webhook Event

A webhook event that was sent or attempted to be sent

Operations

DFY Email Account Order

A Done-For-You email account order

Operations

Custom Prompt Template

Custom prompt templates for creating custom prompts

Sales Flow

Manages how sales users view and interact with campaign and lead lists within the sales flow.

Email Template

A campaign email template

Workspace Billing

Workspace Billing

Operations

CRM Actions

CRM related actions

Operations

Schemas