Docs
Get API key

Get started

Errors

Every error has the same shape: a code to check in your code, a message to show a person, and the requestId of the call.

JSON
{ "error": { "code": "not_found", "message": "This campaign wasn’t found in this workspace.", "requestId": "req_9c41e2a07b5d3f6e8a1c2b4d" } }
CodeStatusMeaning
invalid_request400A field is missing or wrong. The message says which.
invalid_json400The body isn’t valid JSON.
duplicate_in_request400In a bulk request: a row names a lead an earlier row already named. Send each lead once.
unauthorized401No key, an unknown key, or a revoked one.
forbidden403This key can’t do that in this workspace.
read_only_key403This key is read-only: it can read everything and change nothing. Use a Full access key to make changes.
billing_hold402The workspace’s plan isn’t paid, so it’s read-only: adding leads and resuming campaigns wait for a plan. Reading and tidying still work.
not_found404The campaign, list, lead or path isn’t in this workspace.
not_in_campaign404The person isn’t in that campaign.
method_not_allowed405The path exists, but not with this method.
conflict409The change doesn’t fit the current state, like resuming someone who isn’t paused.
idempotency_in_progress409A request with this Idempotency-Key is still running. Try again after Retry-After seconds.
workspace_busy409A scheduled action is finishing. Try again after Retry-After seconds.
campaign_finished409The campaign has finished; add people to another one.
campaign_without_list409The campaign has no lead list yet.
tag_limit409The workspace already has 100 tags.
lead_has_history409The lead can’t be deleted: you’ve already been in touch with them or marked them Do not contact. Stop them in their campaign instead.
campaign_not_launched409The campaign is a draft. Launch it in Salesteam first; a draft never goes live through the API.
campaign_cannot_resume409The campaign can’t run right now. The message says why: an account to reconnect, live sending off, or nobody left who can join.
ambiguous_email409Several people in the workspace have this email. Send their linkedinUrl instead.
too_large413The body is larger than 1 MB.
idempotency_key_reused422This Idempotency-Key was already used for a different request.
unsupported_media_type415Send the body as JSON.
rate_limited429More than 300 requests this minute. Try again after Retry-After seconds.
server_error500Something went wrong at Salesteam. Try again in a minute.
error503A service Salesteam relies on didn’t answer. Try again in a minute.