---
title: "API models and schemas"
url: "https://coldagentai.com/docs/models.md"
canonical_url: "https://coldagentai.com/docs/models"
last_updated: "2026-11-05"
type: "reference"
summary: "Every schema of the ColdAgentAI API: the error envelope, response headers, and the request and response models of each operation."
related: ["https://coldagentai.com/docs/api.md", "https://coldagentai.com/docs/errors.md", "https://coldagentai.com/docs/authentication.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# API models and schemas

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Every schema of the ColdAgentAI API: the error envelope, response headers, and the request and response models of each operation.

The schemas of the ColdAgentAI API: the error envelope, the response headers, and the request and response models of every operation. 34 request bodies and 81 response bodies, generated from the OpenAPI document.

## Error

Every failed request returns this one model. The codes and what to do about each are on the [Errors](https://coldagentai.com/docs/errors.md) page.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | object | yes | No further constraints. |
| `error.code` | "unauthorized" or "forbidden" or "insufficient_credits" or "plan_limit" or "subscription_required" or "trial_expired" or "trial_allowance_exhausted" or "rate_limited" or "invalid_input" or "unknown_product" or "not_found" or "method_not_allowed" or "payload_too_large" or "conflict" or "signature_invalid" or "provider_unavailable" or "internal_error" | yes | Stable machine-readable code. Branch on this, never on message. |
| `error.message` | string | yes | What went wrong, for this request. |
| `error.fix` | string | yes | What to do next. |
| `error.docs_url` | string | yes | Link to the error documentation. |
| `error.retryable` | boolean | yes | Whether sending the same request again can succeed. |
| `error.request_id` | string | yes | Quote this when contacting support. |

## Response headers

| Header | Type | Meaning |
| --- | --- | --- |
| `RequestId` | string | Unique id of this request. Matches request_id in an error body. |
| `RateLimitLimit` | integer | Requests allowed per window per key (default 200 per 10 seconds). |
| `RateLimitRemaining` | integer | Requests left in the current window. |
| `RateLimitReset` | integer | Unix time in seconds when the window is full again. |
| `RetryAfter` | integer | Seconds to wait before retrying. |

## Security schemes

| Scheme | Where | Description |
| --- | --- | --- |
| `BearerAuth` | `Authorization` header, bearer | Authorization: Bearer <key> |
| `ApiKeyHeader` | `X-API-Key` header | The same key in an X-API-Key header. |

## Request models

One model per operation that takes a JSON body. The name is the schema name in the OpenAPI document.

### PostAccountKeysRequest

Body of [`POST /v1/account/keys`](https://coldagentai.com/docs/api/accounts.md#post-account-keys).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | A label for the key. 0 to 100 characters. |
| `scope` | "read" or "write" | no | `read` can only read; `write` can change state, send mail and spend credits. Default "read". |

### PutAccountComplianceRequest

Body of [`PUT /v1/account/compliance`](https://coldagentai.com/docs/api/compliance.md#put-account-compliance).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `postal_address` | object | no | No further constraints. |
| `postal_address.line1` | string | yes | 1 to 200 characters. |
| `postal_address.line2` | string or null | no | 0 to 200 characters. |
| `postal_address.city` | string | yes | 1 to 100 characters. |
| `postal_address.region` | string or null | no | 0 to 100 characters. |
| `postal_address.postal_code` | string or null | no | 0 to 20 characters. |
| `postal_address.country` | string | yes | No further constraints. |
| `sender` | object | no | No further constraints. |
| `sender.company_name` | string | yes | 1 to 200 characters. |
| `sender.sender_name` | string or null | no | 0 to 200 characters. |
| `sender.reply_to` | string or null | no | 0 to 320 characters. |

### PostMailboxesRequest

Body of [`POST /v1/mailboxes`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `address` | string | yes | 0 to 320 characters. |
| `display_name` | string or null | no | 0 to 200 characters. |
| `daily_limit` | integer | no | 0 to 2000. |
| `ramp_enabled` | boolean | no | No further constraints. |
| `imap` | object | yes | No further constraints. |
| `imap.host` | string | yes | 1 to 253 characters. |
| `imap.port` | integer | yes | 1 to 65535. |
| `imap.secure` | boolean | yes | true for TLS from the first byte (465, 993); false requires STARTTLS |
| `imap.user` | string | yes | 1 to 320 characters. |
| `imap.pass` | string | yes | 1 to 1024 characters. |
| `smtp` | object | yes | No further constraints. |
| `smtp.host` | string | yes | 1 to 253 characters. |
| `smtp.port` | integer | yes | 1 to 65535. |
| `smtp.secure` | boolean | yes | true for TLS from the first byte (465, 993); false requires STARTTLS |
| `smtp.user` | string | yes | 1 to 320 characters. |
| `smtp.pass` | string | yes | 1 to 1024 characters. |

### PostMailboxesGmailConnectRequest

Body of [`POST /v1/mailboxes/gmail/connect`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-gmail-connect).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `login_hint` | string | no | 0 to 320 characters. |

### PostMailboxesGmailCompleteRequest

Body of [`POST /v1/mailboxes/gmail/complete`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-gmail-complete).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | yes | 1 to 4096 characters. |
| `state` | string | yes | 1 to 4096 characters. |

### PostMailboxesMicrosoftConnectRequest

Body of [`POST /v1/mailboxes/microsoft/connect`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-microsoft-connect).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `login_hint` | string | no | 0 to 320 characters. |

### PostMailboxesMicrosoftCompleteRequest

Body of [`POST /v1/mailboxes/microsoft/complete`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-microsoft-complete).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | yes | 1 to 4096 characters. |
| `state` | string | yes | 1 to 4096 characters. |

### PatchMailboxesByIdRequest

Body of [`PATCH /v1/mailboxes/{id}`](https://coldagentai.com/docs/api/mailboxes.md#patch-mailboxes-by-id).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `display_name` | string or null | no | 0 to 200 characters. |
| `daily_limit` | integer | no | 0 to 2000. |
| `ramp_enabled` | boolean | no | No further constraints. |

### PostMailboxesByIdCheckRequest

Body of [`POST /v1/mailboxes/{id}/check`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-by-id-check).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `dkim_selectors` | array of string | no | 0 to 10 items. |

### PostCampaignsRequest

Body of [`POST /v1/campaigns`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | yes | 1 to 200 characters. |
| `schedule` | object | yes | No further constraints. |
| `schedule.timezone` | string | yes | 0 to 64 characters. |
| `schedule.sending_days` | array of "mon" or "tue" or "wed" or "thu" or "fri" or "sat" or "sun" | yes | 1 to 7 items. |
| `schedule.start_hour` | integer | yes | 0 to 23. |
| `schedule.end_hour` | integer | yes | 1 to 24. |
| `daily_limit` | integer or null | no | 1 to 100000. |
| `stop_on_reply` | boolean | no | No further constraints. |
| `mailbox_ids` | array of string | no | 0 to 1000 items. |

### PatchCampaignsByIdRequest

Body of [`PATCH /v1/campaigns/{id}`](https://coldagentai.com/docs/api/campaigns.md#patch-campaigns-by-id).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | no | 1 to 200 characters. |
| `schedule` | object | no | No further constraints. |
| `schedule.timezone` | string | yes | 0 to 64 characters. |
| `schedule.sending_days` | array of "mon" or "tue" or "wed" or "thu" or "fri" or "sat" or "sun" | yes | 1 to 7 items. |
| `schedule.start_hour` | integer | yes | 0 to 23. |
| `schedule.end_hour` | integer | yes | 1 to 24. |
| `daily_limit` | integer or null | no | 1 to 100000. |
| `stop_on_reply` | boolean | no | No further constraints. |
| `mailbox_ids` | array of string | no | 0 to 1000 items. |

### PutCampaignsByIdSequenceRequest

Body of [`PUT /v1/campaigns/{id}/sequence`](https://coldagentai.com/docs/api/campaigns.md#put-campaigns-by-id-sequence).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `steps` | array of object | yes | 0 to 30 items. |
| `steps[].wait_days` | integer | yes | 0 to 365. |
| `steps[].subjects` | array of string | yes | 1 to 26 items. |
| `steps[].body` | string | yes | 1 to 50000 characters. |

### PostCampaignsByIdStartRequest

Body of [`POST /v1/campaigns/{id}/start`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns-by-id-start).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `skip_failing_leads` | boolean | no | Start although some leads have an email that would not render, skipping those leads. Default false. |

### PostCampaignsByIdPreviewRequest

Body of [`POST /v1/campaigns/{id}/preview`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns-by-id-preview).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `lead_id` | string | yes | At least 1 characters. |
| `step` | integer | no | 1-based step number; default 1. At least 1. |
| `variant` | string | no | Subject variant letter; default A. |

### PostCampaignsByIdLeadsRequest

Body of [`POST /v1/campaigns/{id}/leads`](https://coldagentai.com/docs/api/leads.md#post-campaigns-by-id-leads).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `leads` | array of object | yes | 1 to 1000 items. |
| `leads[].email` | string | yes | 0 to 320 characters. |
| `leads[].first_name` | string or null | no | 0 to 200 characters. |
| `leads[].last_name` | string or null | no | 0 to 200 characters. |
| `leads[].company_name` | string or null | no | 0 to 200 characters. |
| `leads[].title` | string or null | no | 0 to 200 characters. |
| `leads[].custom_fields` | map of string | no | No further constraints. |

### PatchLeadsByIdRequest

Body of [`PATCH /v1/leads/{id}`](https://coldagentai.com/docs/api/leads.md#patch-leads-by-id).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | "new" or "contacted" or "replied" or "interested" or "meeting_booked" or "not_interested" or "bounced" or "unsubscribed" or "blocked" | yes | No further constraints. |

### PostBlocklistRequest

Body of [`POST /v1/blocklist`](https://coldagentai.com/docs/api/blocklist.md#post-blocklist).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `value` | string | yes | An email address or a domain; a domain also covers its subdomains 1 to 320 characters. |
| `kind` | "email" or "domain" | no | No further constraints. |
| `reason` | "manual" or "opt_out_request" or "unsubscribe" or "complaint" | no | No further constraints. |

### PatchRepliesByIdCategoryRequest

Body of [`PATCH /v1/replies/{id}/category`](https://coldagentai.com/docs/api/replies.md#patch-replies-by-id-category).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `category` | "interested" or "not_interested" or "out_of_office" or "unsubscribe" or "bounce" or "other" or "meeting_booked" | yes | No further constraints. |

### PostRepliesByIdDraftRequest

Body of [`POST /v1/replies/{id}/draft`](https://coldagentai.com/docs/api/replies.md#post-replies-by-id-draft).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `instruction` | string | no | What the answer should do, in your words. 1 to 500 characters. |

### PostRepliesByIdSendRequest

Body of [`POST /v1/replies/{id}/send`](https://coldagentai.com/docs/api/replies.md#post-replies-by-id-send).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `body` | string | yes | 1 to 50000 characters. |
| `subject` | string | no | 1 to 500 characters. |

### PostEmailVerificationRequest

Body of [`POST /v1/email-verification`](https://coldagentai.com/docs/api/verification.md#post-email-verification).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `emails` | array of string | yes | 1 to 1000 addresses. 1 to 1000 items. |
| `valid_only` | boolean | no | When true, catch-all addresses are not sendable. |

### PostBillingCheckoutRequest

Body of [`POST /v1/billing/checkout`](https://coldagentai.com/docs/api/billing.md#post-billing-checkout).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | "plan" | yes | No further constraints. |
| `plan_id` | "starter" or "pro" or "max" or "enterprise" | yes | starter, pro, max. Enterprise is set up on a call and is refused here with the booking page named. |
| `interval` | "monthly" or "annual" | no | annual bills 10 months for 12. Default "monthly". |
| `success_url` | string (uri) | yes | Where Stripe sends the customer after paying. Must be on this service's own site. 0 to 2048 characters. |
| `cancel_url` | string (uri) | yes | Where Stripe sends the customer if they leave checkout. Must be on this service's own site. 0 to 2048 characters. |
| `attempt_id` | string | no | A random id your client makes once per buy and sends again on every retry of it. A repeat with the same id returns the same Checkout instead of making another. |

### PostBillingPortalRequest

Body of [`POST /v1/billing/portal`](https://coldagentai.com/docs/api/billing.md#post-billing-portal).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `return_url` | string (uri) | yes | Where the portal sends the customer back to. Must be on this service's own site. 0 to 2048 characters. |
| `flow` | "cancel" | no | "cancel" opens straight on the cancel step for the running plan. Left out, the portal opens on its home page. |

### PostAutopilotRunsRequest

Body of [`POST /v1/autopilot/runs`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-runs).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `website_url` | string | yes | The business website the agent reads (public http or https). 4 to 2048 characters. |
| `budget_credits` | integer | yes | The most credits the run may spend. 2 covers one prospect; about 50 prospects are planned when the budget allows. 2 to 1000000. |
| `reply_mode` | "draft" or "auto" | no | Default "draft". |
| `starter_kit` | boolean | no | A starter kit run can only be approved by a person in the app, never by an API key. Default false. |
| `timezone` | string | no | IANA time zone for the campaign schedule (default America/New_York). 0 to 64 characters. |
| `mailbox_ids` | array of string | no | Connected mailboxes to send from. 0 to 50 items. |
| `domain_order` | object | no | Also register a sending domain and order mailboxes on it, within the stated price ceiling. |
| `domain_order.domain` | string | yes | A .com or .org domain to register for sending. 3 to 253 characters. |
| `domain_order.max_price_cents` | integer | yes | The most the owner approves paying for the domain, in cents. Registration refuses above it. At least 1. |
| `domain_order.mailboxes` | array of object | yes | 1 to 10 items. |
| `domain_order.mailboxes[].local_part` | string | yes | 1 to 64 characters. |
| `domain_order.mailboxes[].first_name` | string | yes | 1 to 100 characters. |
| `domain_order.mailboxes[].last_name` | string | yes | 1 to 100 characters. |

### PostAutopilotKillSwitchRequest

Body of [`POST /v1/autopilot/kill-switch`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-kill-switch).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `killed` | boolean | yes | No further constraints. |
| `reason` | string | no | 0 to 300 characters. |

### PostDomainsOrdersRequest

Body of [`POST /v1/domains/orders`](https://coldagentai.com/docs/api/domains.md#post-domains-orders).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | yes | 3 to 253 characters. |
| `confirmed` | true | yes | Must be true. A domain or mailbox order is final and spends money; it is never placed without this. |
| `max_price_cents` | integer | yes | The most the order may cost in cents. It is refused when the live price is higher. At least 1. |
| `contact` | object | no | Registrant contact, for registrars that need one. |
| `contact.first_name` | string | yes | 1 to 100 characters. |
| `contact.last_name` | string | yes | 1 to 100 characters. |
| `contact.organization` | string or null | no | 0 to 200 characters, default undefined. |
| `contact.email` | string | yes | 0 to 320 characters. |
| `contact.phone` | string | yes | E.164, for example +14155550100. 0 to 32 characters. |
| `contact.address1` | string | yes | 1 to 200 characters. |
| `contact.address2` | string or null | no | 0 to 200 characters, default undefined. |
| `contact.city` | string | yes | 1 to 100 characters. |
| `contact.region` | string | yes | 1 to 100 characters. |
| `contact.postal_code` | string | yes | 1 to 20 characters. |
| `contact.country` | string | yes | ISO 3166-1 alpha-2. 2 to 2 characters. |

### PostMailboxOrdersRequest

Body of [`POST /v1/mailbox-orders`](https://coldagentai.com/docs/api/domains.md#post-mailbox-orders).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | yes | 3 to 253 characters. |
| `mailboxes` | array of object | yes | 1 to 10 items. |
| `mailboxes[].local_part` | string | yes | The part before the @. |
| `mailboxes[].first_name` | string | yes | 1 to 100 characters. |
| `mailboxes[].last_name` | string | yes | 1 to 100 characters. |
| `confirmed` | true | yes | Must be true. A domain or mailbox order is final and spends money; it is never placed without this. |
| `max_price_cents` | integer | yes | The most the order may cost in cents. It is refused when the live price is higher. At least 1. |

### PostProspectsSourceRequest

Body of [`POST /v1/prospects/source`](https://coldagentai.com/docs/api/prospects.md#post-prospects-source).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `icp` | object | no | The profile to search. Give this or icp_id. |
| `icp.titles` | array of string | no | 0 to 20 items, default []. |
| `icp.seniorities` | array of string | no | 0 to 10 items, default []. |
| `icp.industries` | array of string | no | 0 to 20 items, default []. |
| `icp.locations` | array of string | no | 0 to 20 items, default []. |
| `icp.employee_count_min` | integer or null | no | 1 to 10000000, default undefined. |
| `icp.employee_count_max` | integer or null | no | 1 to 10000000, default undefined. |
| `icp.keywords` | array of string | no | 0 to 20 items, default []. |
| `icp_id` | string | no | A profile saved with POST /v1/icps. 0 to 100 characters. |
| `count` | integer | no | 1 to 500, default 50. |
| `campaign_id` | string | no | Add the revealed leads to this campaign. 0 to 100 characters. |
| `list_id` | string | no | Add the revealed leads to this lead list. 0 to 100 characters. |

### PostIcpsRequest

Body of [`POST /v1/icps`](https://coldagentai.com/docs/api/prospects.md#post-icps).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `titles` | array of string | no | 0 to 20 items, default []. |
| `seniorities` | array of string | no | 0 to 10 items, default []. |
| `industries` | array of string | no | 0 to 20 items, default []. |
| `locations` | array of string | no | 0 to 20 items, default []. |
| `employee_count_min` | integer or null | no | 1 to 10000000, default undefined. |
| `employee_count_max` | integer or null | no | 1 to 10000000, default undefined. |
| `keywords` | array of string | no | 0 to 20 items, default []. |
| `name` | string | yes | 1 to 120 characters. |

### PostWebhooksRequest

Body of [`POST /v1/webhooks`](https://coldagentai.com/docs/api/webhooks.md#post-webhooks).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | An https URL on a public host. 1 to 2048 characters. |
| `events` | array of "EmailSent" or "EmailReply" or "EmailBounce" or "LeadCreated" or "EmailUnsubscribe" or "CreditBalanceLow" or "AutopilotRunStatusChanged" or "DfyOrderCompleted" or "MailboxDisconnected" or "CampaignCompleted" | yes | The events to deliver. At least 1 items. |
| `description` | string | no | 0 to 200 characters. |
| `enabled` | boolean | no | Default true. |

### PatchWebhooksByIdRequest

Body of [`PATCH /v1/webhooks/{id}`](https://coldagentai.com/docs/api/webhooks.md#patch-webhooks-by-id).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | 1 to 2048 characters. |
| `events` | array of "EmailSent" or "EmailReply" or "EmailBounce" or "LeadCreated" or "EmailUnsubscribe" or "CreditBalanceLow" or "AutopilotRunStatusChanged" or "DfyOrderCompleted" or "MailboxDisconnected" or "CampaignCompleted" | no | At least 1 items. |
| `description` | string or null | no | 0 to 200 characters. |
| `enabled` | boolean | no | No further constraints. |

### PostToolsSpintaxRequest

Body of [`POST /v1/tools/spintax`](https://coldagentai.com/docs/api/tools.md#post-tools-spintax).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `text` | string | yes | 0 to 21000 characters. |
| `seed` | string or integer | no | 0 to 200 characters. |

### PostToolsSubjectLintRequest

Body of [`POST /v1/tools/subject-lint`](https://coldagentai.com/docs/api/tools.md#post-tools-subject-lint).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `subject` | string | yes | 0 to 500 characters. |

### PostImportInstantlyRequest

Body of [`POST /v1/import/instantly`](https://coldagentai.com/docs/api/imports.md#post-import-instantly).

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `api_key` | string | yes | An Instantly API v2 key. Used for this request only. 1 to 500 characters. |

## Response models

One model per operation that returns JSON. Each field is described in the response table of the operation that returns it.

| Schema | Returned by | Top-level fields |
| --- | --- | --- |
| `GetHealthResponse` | [`GET /health`](https://coldagentai.com/docs/api/system.md#get-health) | `status` |
| `GetOpenapiJsonResponse` | [`GET /openapi.json`](https://coldagentai.com/docs/api/system.md#get-openapi-json) | none |
| `GetAccountExportResponse` | [`GET /v1/account/export`](https://coldagentai.com/docs/api/accounts.md#get-account-export) | `brand`, `account_id`, `exported_at`, `profile`, `tables`, `redacted_columns`, `truncated` |
| `GetAccountResponse` | [`GET /v1/account`](https://coldagentai.com/docs/api/accounts.md#get-account) | `account`, `plan`, `subscription`, `credits`, `keys`, `usage` |
| `GetUsageResponse` | [`GET /v1/usage`](https://coldagentai.com/docs/api/accounts.md#get-usage) | `usage`, `credits` |
| `PostAccountKeysResponse` | [`POST /v1/account/keys`](https://coldagentai.com/docs/api/accounts.md#post-account-keys) | `id`, `key`, `prefix`, `name`, `scope`, `created_at` |
| `DeleteAccountKeysByIdResponse` | [`DELETE /v1/account/keys/{id}`](https://coldagentai.com/docs/api/accounts.md#delete-account-keys-by-id) | `id`, `revoked` |
| `GetCapabilitiesResponse` | [`GET /v1/capabilities`](https://coldagentai.com/docs/api/capabilities.md#get-capabilities) | `capabilities`, `blockers` |
| `GetAccountComplianceResponse` | [`GET /v1/account/compliance`](https://coldagentai.com/docs/api/compliance.md#get-account-compliance) | `postal_address`, `sender`, `ready_to_send`, `updated_at` |
| `PutAccountComplianceResponse` | [`PUT /v1/account/compliance`](https://coldagentai.com/docs/api/compliance.md#put-account-compliance) | `postal_address`, `sender`, `ready_to_send`, `updated_at` |
| `GetMailboxesResponse` | [`GET /v1/mailboxes`](https://coldagentai.com/docs/api/mailboxes.md#get-mailboxes) | `data`, `next_cursor` |
| `PostMailboxesResponse` | [`POST /v1/mailboxes`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes) | `id`, `provider`, `address`, `display_name`, `status`, `daily_limit`, `ramp_enabled`, `ramp_started_at`, `health`, `created_at`, `updated_at` |
| `PostMailboxesGmailConnectResponse` | [`POST /v1/mailboxes/gmail/connect`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-gmail-connect) | `authorization_url`, `expires_at` |
| `PostMailboxesGmailCompleteResponse` | [`POST /v1/mailboxes/gmail/complete`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-gmail-complete) | `id`, `provider`, `address`, `display_name`, `status`, `daily_limit`, `ramp_enabled`, `ramp_started_at`, `health`, `created_at`, `updated_at` |
| `PostMailboxesMicrosoftConnectResponse` | [`POST /v1/mailboxes/microsoft/connect`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-microsoft-connect) | `authorization_url`, `expires_at` |
| `PostMailboxesMicrosoftCompleteResponse` | [`POST /v1/mailboxes/microsoft/complete`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-microsoft-complete) | `id`, `provider`, `address`, `display_name`, `status`, `daily_limit`, `ramp_enabled`, `ramp_started_at`, `health`, `created_at`, `updated_at` |
| `GetMailboxesByIdResponse` | [`GET /v1/mailboxes/{id}`](https://coldagentai.com/docs/api/mailboxes.md#get-mailboxes-by-id) | `id`, `provider`, `address`, `display_name`, `status`, `daily_limit`, `ramp_enabled`, `ramp_started_at`, `health`, `created_at`, `updated_at` |
| `PatchMailboxesByIdResponse` | [`PATCH /v1/mailboxes/{id}`](https://coldagentai.com/docs/api/mailboxes.md#patch-mailboxes-by-id) | `id`, `provider`, `address`, `display_name`, `status`, `daily_limit`, `ramp_enabled`, `ramp_started_at`, `health`, `created_at`, `updated_at` |
| `DeleteMailboxesByIdResponse` | [`DELETE /v1/mailboxes/{id}`](https://coldagentai.com/docs/api/mailboxes.md#delete-mailboxes-by-id) | `id`, `deleted` |
| `PostMailboxesByIdCheckResponse` | [`POST /v1/mailboxes/{id}/check`](https://coldagentai.com/docs/api/mailboxes.md#post-mailboxes-by-id-check) | `mailbox`, `connectivity`, `dns`, `dns_error` |
| `GetCampaignsResponse` | [`GET /v1/campaigns`](https://coldagentai.com/docs/api/campaigns.md#get-campaigns) | `data`, `next_cursor` |
| `PostCampaignsResponse` | [`POST /v1/campaigns`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns) | `id`, `name`, `status`, `schedule`, `daily_limit`, `stop_on_reply`, `mailbox_ids`, `created_at`, `updated_at`, `started_at`, `completed_at` |
| `GetCampaignsByIdResponse` | [`GET /v1/campaigns/{id}`](https://coldagentai.com/docs/api/campaigns.md#get-campaigns-by-id) | `id`, `name`, `status`, `schedule`, `daily_limit`, `stop_on_reply`, `mailbox_ids`, `created_at`, `updated_at`, `started_at`, `completed_at` |
| `PatchCampaignsByIdResponse` | [`PATCH /v1/campaigns/{id}`](https://coldagentai.com/docs/api/campaigns.md#patch-campaigns-by-id) | `id`, `name`, `status`, `schedule`, `daily_limit`, `stop_on_reply`, `mailbox_ids`, `created_at`, `updated_at`, `started_at`, `completed_at` |
| `DeleteCampaignsByIdResponse` | [`DELETE /v1/campaigns/{id}`](https://coldagentai.com/docs/api/campaigns.md#delete-campaigns-by-id) | `id`, `deleted` |
| `GetCampaignsByIdSequenceResponse` | [`GET /v1/campaigns/{id}/sequence`](https://coldagentai.com/docs/api/campaigns.md#get-campaigns-by-id-sequence) | `steps` |
| `PutCampaignsByIdSequenceResponse` | [`PUT /v1/campaigns/{id}/sequence`](https://coldagentai.com/docs/api/campaigns.md#put-campaigns-by-id-sequence) | `steps` |
| `GetCampaignsByIdRenderCheckResponse` | [`GET /v1/campaigns/{id}/render-check`](https://coldagentai.com/docs/api/campaigns.md#get-campaigns-by-id-render-check) | `campaign_id`, `ready`, `leads_enrolled`, `leads_excluded`, `leads_checked`, `leads_rendering`, `leads_failing`, `emails_checked`, `emails_rendering`, `emails_failing`, `failures`, `failures_truncated` |
| `PostCampaignsByIdStartResponse` | [`POST /v1/campaigns/{id}/start`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns-by-id-start) | `id`, `name`, `status`, `schedule`, `daily_limit`, `stop_on_reply`, `mailbox_ids`, `created_at`, `updated_at`, `started_at`, `completed_at`, `warnings`, `skipped_leads` |
| `PostCampaignsByIdPauseResponse` | [`POST /v1/campaigns/{id}/pause`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns-by-id-pause) | `id`, `name`, `status`, `schedule`, `daily_limit`, `stop_on_reply`, `mailbox_ids`, `created_at`, `updated_at`, `started_at`, `completed_at` |
| `PostCampaignsByIdPreviewResponse` | [`POST /v1/campaigns/{id}/preview`](https://coldagentai.com/docs/api/campaigns.md#post-campaigns-by-id-preview) | `step`, `variant`, `subject`, `body`, `text_with_footer`, `warnings` |
| `GetCampaignsByIdAnalyticsResponse` | [`GET /v1/campaigns/{id}/analytics`](https://coldagentai.com/docs/api/campaigns.md#get-campaigns-by-id-analytics) | `campaign_id`, `totals`, `variants` |
| `PostCampaignsByIdLeadsResponse` | [`POST /v1/campaigns/{id}/leads`](https://coldagentai.com/docs/api/leads.md#post-campaigns-by-id-leads) | `campaign_id`, `created`, `updated`, `duplicates`, `rejected`, `rows` |
| `GetCampaignsByIdLeadsResponse` | [`GET /v1/campaigns/{id}/leads`](https://coldagentai.com/docs/api/leads.md#get-campaigns-by-id-leads) | `data`, `next_cursor` |
| `PostCampaignsByIdLeadsImportResponse` | [`POST /v1/campaigns/{id}/leads/import`](https://coldagentai.com/docs/api/leads.md#post-campaigns-by-id-leads-import) | `campaign_id`, `created`, `updated`, `duplicates`, `rejected`, `rows`, `csv_rejected`, `flagged_cells`, `warnings` |
| `PatchLeadsByIdResponse` | [`PATCH /v1/leads/{id}`](https://coldagentai.com/docs/api/leads.md#patch-leads-by-id) | `id`, `email`, `first_name`, `last_name`, `company_name`, `title`, `custom_fields`, `status`, `verification`, `verified_at`, `source`, `created_at`, `updated_at` |
| `GetBlocklistResponse` | [`GET /v1/blocklist`](https://coldagentai.com/docs/api/blocklist.md#get-blocklist) | `data`, `next_cursor` |
| `PostBlocklistResponse` | [`POST /v1/blocklist`](https://coldagentai.com/docs/api/blocklist.md#post-blocklist) | `id`, `kind`, `value`, `reason`, `source`, `created_at`, `created` |
| `DeleteBlocklistByIdResponse` | [`DELETE /v1/blocklist/{id}`](https://coldagentai.com/docs/api/blocklist.md#delete-blocklist-by-id) | `id`, `removed` |
| `GetRepliesResponse` | [`GET /v1/replies`](https://coldagentai.com/docs/api/replies.md#get-replies) | `data`, `next_cursor` |
| `PatchRepliesByIdCategoryResponse` | [`PATCH /v1/replies/{id}/category`](https://coldagentai.com/docs/api/replies.md#patch-replies-by-id-category) | `id`, `mailbox_id`, `campaign_id`, `lead_id`, `send_id`, `from`, `subject`, `text`, `received_at`, `category`, `category_source`, `hidden_text`, `created_at` |
| `PostRepliesByIdDraftResponse` | [`POST /v1/replies/{id}/draft`](https://coldagentai.com/docs/api/replies.md#post-replies-by-id-draft) | `subject`, `body`, `model` |
| `PostRepliesByIdSendResponse` | [`POST /v1/replies/{id}/send`](https://coldagentai.com/docs/api/replies.md#post-replies-by-id-send) | `sent`, `to`, `message_id`, `provider_message_id` |
| `PostEmailVerificationResponse` | [`POST /v1/email-verification`](https://coldagentai.com/docs/api/verification.md#post-email-verification) | `id`, `results`, `rejected`, `checks_billed`, `credits_charged`, `stopped_by` |
| `GetEmailVerificationByIdResponse` | [`GET /v1/email-verification/{id}`](https://coldagentai.com/docs/api/verification.md#get-email-verification-by-id) | `id`, `results`, `rejected`, `checks_billed`, `credits_charged`, `stopped_by` |
| `GetCreditsResponse` | [`GET /v1/credits`](https://coldagentai.com/docs/api/credits.md#get-credits) | `plan_wallet`, `top_up_wallet`, `total_available`, `pricing_status`, `credit_pack` |
| `PostBillingCheckoutResponse` | [`POST /v1/billing/checkout`](https://coldagentai.com/docs/api/billing.md#post-billing-checkout) | `session_id`, `url`, `amount_cents`, `trial_days`, `trial_fee_cents`, `pricing_status` |
| `PostBillingStartPlanResponse` | [`POST /v1/billing/start-plan`](https://coldagentai.com/docs/api/billing.md#post-billing-start-plan) | `started` |
| `PostBillingPortalResponse` | [`POST /v1/billing/portal`](https://coldagentai.com/docs/api/billing.md#post-billing-portal) | `url` |
| `GetBillingResponse` | [`GET /v1/billing`](https://coldagentai.com/docs/api/billing.md#get-billing) | none |
| `PostBillingWebhookResponse` | [`POST /v1/billing/webhook`](https://coldagentai.com/docs/api/billing.md#post-billing-webhook) | `received`, `outcome`, `type`, `detail` |
| `PostAutopilotRunsResponse` | [`POST /v1/autopilot/runs`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-runs) | `id`, `status`, `website_url`, `budget_credits`, `reply_mode`, `starter_kit`, `timezone`, `mailbox_ids`, `icp`, `plan`, `campaign_id`, `steps`, `pause_reason`, `error`, `created_at`, `updated_at`, `completed_at`, `approval` |
| `GetAutopilotRunsResponse` | [`GET /v1/autopilot/runs`](https://coldagentai.com/docs/api/autopilot.md#get-autopilot-runs) | `items`, `next_cursor` |
| `GetAutopilotRunsByIdResponse` | [`GET /v1/autopilot/runs/{id}`](https://coldagentai.com/docs/api/autopilot.md#get-autopilot-runs-by-id) | `id`, `status`, `website_url`, `budget_credits`, `reply_mode`, `starter_kit`, `timezone`, `mailbox_ids`, `icp`, `plan`, `campaign_id`, `steps`, `pause_reason`, `error`, `created_at`, `updated_at`, `completed_at`, `approval` |
| `PostAutopilotRunsByIdApproveResponse` | [`POST /v1/autopilot/runs/{id}/approve`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-runs-by-id-approve) | `id`, `status`, `website_url`, `budget_credits`, `reply_mode`, `starter_kit`, `timezone`, `mailbox_ids`, `icp`, `plan`, `campaign_id`, `steps`, `pause_reason`, `error`, `created_at`, `updated_at`, `completed_at`, `approval` |
| `PostAutopilotRunsByIdResumeResponse` | [`POST /v1/autopilot/runs/{id}/resume`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-runs-by-id-resume) | `id`, `status`, `website_url`, `budget_credits`, `reply_mode`, `starter_kit`, `timezone`, `mailbox_ids`, `icp`, `plan`, `campaign_id`, `steps`, `pause_reason`, `error`, `created_at`, `updated_at`, `completed_at`, `approval` |
| `PostAutopilotRunsByIdCancelResponse` | [`POST /v1/autopilot/runs/{id}/cancel`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-runs-by-id-cancel) | `id`, `status`, `website_url`, `budget_credits`, `reply_mode`, `starter_kit`, `timezone`, `mailbox_ids`, `icp`, `plan`, `campaign_id`, `steps`, `pause_reason`, `error`, `created_at`, `updated_at`, `completed_at`, `approval` |
| `GetAutopilotKillSwitchResponse` | [`GET /v1/autopilot/kill-switch`](https://coldagentai.com/docs/api/autopilot.md#get-autopilot-kill-switch) | `killed`, `reason`, `updated_at` |
| `PostAutopilotKillSwitchResponse` | [`POST /v1/autopilot/kill-switch`](https://coldagentai.com/docs/api/autopilot.md#post-autopilot-kill-switch) | `killed`, `reason`, `updated_at`, `paused_runs` |
| `GetDomainsSearchResponse` | [`GET /v1/domains/search`](https://coldagentai.com/docs/api/domains.md#get-domains-search) | `results` |
| `PostDomainsOrdersResponse` | [`POST /v1/domains/orders`](https://coldagentai.com/docs/api/domains.md#post-domains-orders) | `id`, `kind`, `status`, `domain`, `quoted_cents`, `charged_cents`, `vendor_order_id`, `failure_reason`, `detail`, `created_at`, `updated_at`, `completed_at` |
| `PostMailboxOrdersResponse` | [`POST /v1/mailbox-orders`](https://coldagentai.com/docs/api/domains.md#post-mailbox-orders) | `id`, `kind`, `status`, `domain`, `quoted_cents`, `charged_cents`, `vendor_order_id`, `failure_reason`, `detail`, `created_at`, `updated_at`, `completed_at` |
| `GetOrdersResponse` | [`GET /v1/orders`](https://coldagentai.com/docs/api/domains.md#get-orders) | `items`, `next_cursor` |
| `GetOrdersByIdResponse` | [`GET /v1/orders/{id}`](https://coldagentai.com/docs/api/domains.md#get-orders-by-id) | `id`, `kind`, `status`, `domain`, `quoted_cents`, `charged_cents`, `vendor_order_id`, `failure_reason`, `detail`, `created_at`, `updated_at`, `completed_at` |
| `PostProspectsSourceResponse` | [`POST /v1/prospects/source`](https://coldagentai.com/docs/api/prospects.md#post-prospects-source) | `provider`, `delivered`, `skipped`, `credits_charged`, `candidates_found` |
| `PostIcpsResponse` | [`POST /v1/icps`](https://coldagentai.com/docs/api/prospects.md#post-icps) | `titles`, `seniorities`, `industries`, `locations`, `employee_count_min`, `employee_count_max`, `keywords`, `id`, `name`, `created_at` |
| `GetIcpsResponse` | [`GET /v1/icps`](https://coldagentai.com/docs/api/prospects.md#get-icps) | `items`, `next_cursor` |
| `PostWebhooksResponse` | [`POST /v1/webhooks`](https://coldagentai.com/docs/api/webhooks.md#post-webhooks) | `id`, `url`, `description`, `events`, `enabled`, `created_at`, `updated_at`, `secret` |
| `GetWebhooksResponse` | [`GET /v1/webhooks`](https://coldagentai.com/docs/api/webhooks.md#get-webhooks) | `items`, `next_cursor` |
| `PatchWebhooksByIdResponse` | [`PATCH /v1/webhooks/{id}`](https://coldagentai.com/docs/api/webhooks.md#patch-webhooks-by-id) | `id`, `url`, `description`, `events`, `enabled`, `created_at`, `updated_at` |
| `DeleteWebhooksByIdResponse` | [`DELETE /v1/webhooks/{id}`](https://coldagentai.com/docs/api/webhooks.md#delete-webhooks-by-id) | `id`, `deleted` |
| `PostWebhooksByIdTestResponse` | [`POST /v1/webhooks/{id}/test`](https://coldagentai.com/docs/api/webhooks.md#post-webhooks-by-id-test) | `delivery`, `result` |
| `GetWebhooksByIdDeliveriesResponse` | [`GET /v1/webhooks/{id}/deliveries`](https://coldagentai.com/docs/api/webhooks.md#get-webhooks-by-id-deliveries) | `items`, `next_cursor` |
| `GetToolsDnsAuthResponse` | [`GET /v1/tools/dns-auth`](https://coldagentai.com/docs/api/tools.md#get-tools-dns-auth) | `domain`, `overall`, `spf`, `dkim`, `dmarc`, `recommended_records` |
| `GetToolsMxResponse` | [`GET /v1/tools/mx`](https://coldagentai.com/docs/api/tools.md#get-tools-mx) | `domain`, `records`, `provider`, `verdict`, `message` |
| `PostToolsSpintaxResponse` | [`POST /v1/tools/spintax`](https://coldagentai.com/docs/api/tools.md#post-tools-spintax) | `valid`, `variants`, `errors`, `expanded` |
| `PostToolsSubjectLintResponse` | [`POST /v1/tools/subject-lint`](https://coldagentai.com/docs/api/tools.md#post-tools-subject-lint) | `subject`, `length`, `ok`, `findings` |
| `GetToolsEmailPatternResponse` | [`GET /v1/tools/email-pattern`](https://coldagentai.com/docs/api/tools.md#get-tools-email-pattern) | `domain`, `candidates`, `must_verify_before_use`, `notice`, `usage` |
| `PostImportInstantlyResponse` | [`POST /v1/import/instantly`](https://coldagentai.com/docs/api/imports.md#post-import-instantly) | `campaigns`, `leads`, `suppression`, `truncated`, `mailboxes`, `webhooks` |
| `PostImportSmartleadCsvResponse` | [`POST /v1/import/smartlead-csv`](https://coldagentai.com/docs/api/imports.md#post-import-smartlead-csv) | `layout`, `rows_read`, `leads`, `rejected_rows`, `flagged_cells`, `warnings`, `mailboxes` |
| `PostMcpResponse` | [`POST /v1/mcp`](https://coldagentai.com/docs/api/system.md#post-mcp) | none |

## Related

- [API reference](https://coldagentai.com/docs/api.md)
- [API errors](https://coldagentai.com/docs/errors.md)
- [API authentication](https://coldagentai.com/docs/authentication.md)
