Skip to Content
ColdVenue API

Authentication

API keys, the scopes they carry, and what they can't do.

API keys

Create keys in the app under Settings → API keys. A key:

  • belongs to one workspace, and only ever sees that workspace's data;
  • carries the scopes chosen when it was created;
  • is shown once, when it is created;
  • can be given an expiry date, and revoked at any time.

Send it as a bearer token on every request:

GET /api/v1/leads HTTP/1.1
Host: api.coldvenue.in
Authorization: Bearer mf_live_…

Keep keys on your server. Anyone with a key can act on your workspace within its scopes. Never put a key in front-end code, a mobile app or a public repository. If a key leaks, revoke it in the app and create a new one.

Scopes

Give each integration its own key with only the scopes it needs. Each endpoint in the API reference lists the scopes it requires.

ScopeAllows
leads:readRead leads and lists
leads:writeCreate, update, tag, verify and delete leads; manage lists
campaigns:readRead campaigns, sequences, enrolled leads and their history; preview emails
campaigns:writeCreate and edit draft campaigns, sequences and sending accounts; enrol and remove leads; set a lead's status
accounts:readRead sending accounts and their warmup
accounts:writeConnect, update, pause and remove SMTP/IMAP mailboxes; change warmup (also needs accounts:read)
emails:readRead conversations, emails and reply status
emails:sendReply to emails; mark conversations read, archive, label and assign them
analytics:readRead analytics and account deliverability scores
webhooks:readRead webhook endpoints and their deliveries
webhooks:writeCreate, change and delete webhook endpoints; rotate secrets; redeliver events
automations:readRead automations and their runs
automations:writePause and delete automations

A few endpoints need two scopes; their reference page says so. For example, Send a test email needs campaigns:read and campaigns:write.

Some features also depend on your plan. Their reference pages name the plan feature, and a call without it answers 402 with code PLAN_FEATURE_LOCKED.

What API keys can't do

These stay with the people in your workspace, in the app:

  • launch, pause or resume a campaign;
  • connect Gmail or Microsoft 365 mailboxes (they sign in with OAuth in the browser);
  • create, edit or activate automations;
  • manage members, billing, branding or API keys.

Authentication errors

StatusCodeMeaning
401UNAUTHENTICATEDNo key, or the key is unknown, revoked or expired
403FORBIDDENThe key doesn't have the scope this endpoint needs
404NOT_FOUNDThe record doesn't exist in this key's workspace
429RATE_LIMITEDToo many failed attempts from your IP address: see Rate limits

Records of other workspaces always answer 404, never 403, so a key can't tell whether they exist.

On this page