Quickstart
Create an API key, make a request, and add a lead to a campaign.
1. Create an API key
In the ColdVenue app, open Settings → API keys and create a key.
Pick only the scopes your integration needs. For this guide:
leads:read, leads:write, campaigns:read and campaigns:write.
The key is shown once. Store it in your secrets manager or an environment variable, never in your code or in a browser.
export COLDVENUE_API_KEY="mf_live_…"2. Make your first request
List the campaigns in your workspace:
curl https://api.coldvenue.in/api/v1/campaigns \
-H "Authorization: Bearer $COLDVENUE_API_KEY"Lists answer { "data": [...], "pagination": { "nextCursor": … } }. See
Requests and responses for paging.
3. Create a lead
curl https://api.coldvenue.in/api/v1/leads \
-H "Authorization: Bearer $COLDVENUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "ana@example.com", "firstName": "Ana", "companyName": "Example Ltd"}'The response holds the new lead, including its id.
4. Add it to a campaign
curl https://api.coldvenue.in/api/v1/campaigns/CAMPAIGN_ID/leads \
-H "Authorization: Bearer $COLDVENUE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"leadIds": ["LEAD_ID"]}'The answer says how many leads were added and how many were skipped (for example, because they were already in the campaign). When the campaign is running, the lead starts the sequence at the next sending window.
Next steps
- Get replies pushed to you with webhooks instead of polling.
- Browse every endpoint in the API reference.
- Let Claude do this work in a conversation: Use with Claude.