Errors
lead_call_in_progress
Lead already has an active call.
| HTTP status | Type | Code |
|---|---|---|
| 409 | conflict_error | lead_call_in_progress |
What it means
A call to this lead is still ringing or connected. Retry after it ends.
How to handle it
Fetch the resource again to see its current state, then decide whether to retry.
Example response
{
"detail": "Lead already has an active call.",
"error": {
"type": "conflict_error",
"code": "lead_call_in_progress",
"message": "Lead already has an active call.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/lead_call_in_progress",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
POST /api/v1/leads/{lead_id}/call-now— Call a lead nowPOST /api/v1/instant/call-now— Call a lead in a campaign nowPOST /api/v1/calls/— Place a callPUT /api/v1/campaigns/{campaign_id}/leads— Add or remove leads