Documentation
BeeLeado REST API
Connect your scripts and apps to campaigns, leads, Reddit outreach, and insights. 32 endpoints use your existing account permissions and plan limits.
OpenAPI 3.1 specification
Get started
Create an API key
Open Settings → Integrations → API keys. Choose a name, permissions, and expiry: 30, 90, or 365 days, or Never. Copy the key when it appears: it is shown only once. An active plan with API access is required. You can have up to 10 active keys, including keys that never expire.
Read-only keys can use GET endpoints. Read-and-write keys can also change data and send messages. Keys inherit the owner’s existing team access. Revoke a key in Settings to stop new requests; work already accepted may finish.
Keep keys on your server
Store the key as a secret environment variable named BEELEADO_API_KEY. Never put it in browser code, mobile apps, URLs, or a public repository.
Make your first request
curl --fail-with-body 'https://api.beeleado.com/v1/account/usage' \ -H "Authorization: Bearer $BEELEADO_API_KEY"
Successful reads return a JSON object with a data field containing the endpoint result. Lists use limit and offset where listed below, with a maximum limit of 50. Booleans are true or false; arrays can repeat a query parameter or use comma-separated values. Unknown parameters are rejected.
curl --fail-with-body 'https://api.beeleado.com/v1/leads?limit=20&offset=0&status=new&platforms=reddit' \ -H "Authorization: Bearer $BEELEADO_API_KEY"
Writes and retries
Every POST, PATCH, and DELETE requires an Idempotency-Key. Generate a UUID once per intended action and store it with the request. If a request times out or returns 503, resend the same body and key. Never generate a fresh key just to retry.
curl --fail-with-body -X PATCH 'https://api.beeleado.com/v1/leads/status' \
-H "Authorization: Bearer $BEELEADO_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: 19e4c4ae-9c0c-4cb1-9504-845a9f992655' \
--data '{"lead_ids":[123],"status":"contacted"}'Replace 123 with an owned lead ID and the example Idempotency-Key with a UUID for your intended action.
202 Accepted (example)
{
"operation": {
"id": "8c8866d6-ae27-412d-b6bf-a9499811c2ec",
"status": "running",
"url": "/v1/operations/8c8866d6-ae27-412d-b6bf-a9499811c2ec",
"result": null,
"error": null
}
}Poll the returned URL with the same API key, waiting at least five seconds between polls. The status is running, succeeded, failed, or unknown. Succeeded includes the tool result, which may describe a queued job: for example, a campaign sync continues in the background and DMs follow delivery pacing. Inspect the result for per-item outcomes.
curl --fail-with-body 'https://api.beeleado.com/v1/operations/8c8866d6-ae27-412d-b6bf-a9499811c2ec' \ -H "Authorization: Bearer $BEELEADO_API_KEY"
An operation receipt prevents duplicate retries
Receipts are retained for at least seven days and belong to the key that created them. Reusing a key with different parameters returns 409. Failed operations may have partial effects. An interrupted operation becomes unknown within six minutes and is never automatically rerun. Check your account before submitting another action. After receipt retention expires, the same Idempotency-Key can start a new operation.
Sending a write request authorizes its effects, including messages or deletion. BeeLeado does not post public comments through the API; comment drafts are suggestions. Connect Reddit in the BeeLeado app before sending DMs. Loading the targeting editor is a POST because it can refresh stored targeting.
Limits and errors
API requests are limited to 60 per minute and 2,000 per UTC day per account, shared across all keys. Polling and retrying also count. These are separate from MCP transport limits; existing campaign, AI, and DM quotas still apply. The API may return 503 while write capacity is occupied.
{
"error": {
"code": "invalid_key",
"message": "The API key is invalid, expired, or revoked."
}
}| HTTP | Code | Next step |
| 400 | invalid_json / idempotency_key_required | Check the JSON body and Idempotency-Key header. |
| 401 | invalid_key | Supply an active, unexpired API key. |
| 403 | insufficient_scope / not_entitled / forbidden | Check key permissions, resource access, and your subscription. |
| 404 | not_found | Check the route or operation ID. Operations belong to the key that created them. |
| 405 | method_not_allowed | Use the method shown in the endpoint reference. |
| 409 | idempotency_conflict | Use the original request with this Idempotency-Key. |
| 413 / 415 | body_too_large / invalid_content_type | Keep JSON bodies under 128 KiB and set Content-Type: application/json. |
| 422 | invalid_parameters / request_refused | Check parameters or the explanation in error.message. |
| 429 | rate_limited | Wait for the number of seconds in Retry-After. |
| 503 | api_busy / service_unavailable / api_unavailable | Retry after Retry-After. For writes, reuse the same Idempotency-Key. |
Endpoint reference
Path parameters go in the URL. GET parameters go in the query string. All other parameters go in a JSON body.
Account
/v1/account/usageAccount usage · Read scope
Campaigns
/v1/campaignsList campaigns · Read scope
/v1/campaigns/{campaign_id}Get campaign · Read scope
/v1/campaignsCreate campaign · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}Update campaign · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}Delete campaign · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}/syncsStart campaign sync · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}/syncsList campaign syncs · Read scope
/v1/campaigns/{campaign_id}/blocklistUpdate blocklist · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}/targeting/loadLoad targeting editor · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}/targetingUpdate targeting · Read and write key · Asynchronous
Leads
/v1/leadsSearch leads · Read scope
/v1/leads/{lead_id}Get lead · Read scope
/v1/leads/statusUpdate lead status · Read and write key · Asynchronous
/v1/leads/deleteDelete leads · Read and write key · Asynchronous
Outreach
/v1/leads/{lead_id}/draftsDraft a reply · Read and write key · Asynchronous
/v1/leads/{lead_id}/messagesSend a Reddit DM · Read and write key · Asynchronous
/v1/dm-queueQueue Reddit DMs · Read and write key · Asynchronous
/v1/dm-queueList queued DMs · Read scope
/v1/dm-queue/{queued_dm_id}Edit queued DM · Read and write key · Asynchronous
/v1/dm-queue/{queued_dm_id}/generateGenerate queued DM · Read and write key · Asynchronous
/v1/dm-queue/{queued_dm_id}Remove queued DM · Read and write key · Asynchronous
/v1/campaigns/{campaign_id}/outreach-agentGet outreach agent · Read scope
/v1/campaigns/{campaign_id}/outreach-agentConfigure outreach agent · Read and write key · Asynchronous
Conversations
/v1/conversationsList conversations · Read scope
/v1/conversations/{conversation_id}Get conversation · Read scope
/v1/conversations/{conversation_id}/repliesReply to conversation · Read and write key · Asynchronous
Insights
/v1/campaigns/{campaign_id}/insights/leadsLead insights · Read scope
/v1/campaigns/{campaign_id}/insights/outreachOutreach insights · Read scope
/v1/campaigns/{campaign_id}/market-signalsMarket signals · Read scope
/v1/competitorsCompetitors · Read scope
/v1/viral-postsViral posts · Read scope
