Appearance
Base URL, Errors & Rate Limits
Base URL
https://api.callmangal.comEvery endpoint path in this reference is relative to this base URL.
Errors
Validation errors (missing or malformed fields) return HTTP 422 with a body shaped like this:
json
{
"detail": [
{
"loc": ["body", "phone_number"],
"msg": "Field required",
"type": "missing"
}
]
}detail is an array because more than one field can fail validation at once. Each entry's loc names the field (as a path — e.g. ["body", "phone_number"] means the phone_number field of the request body), msg is a human-readable explanation, and type is a short machine-readable error code.
A request for something that doesn't exist (an unknown agent UUID, for example) returns HTTP 404.
Rate limits
Not yet documented — publishing a specific number here without verifying it against the real, current limit would be a guess. This section will be filled in once confirmed.