Base URL
Authentication
Send your API key in theX-Api-Key header, or as Authorization: Bearer lusor_.... See Authentication.
To try an endpoint in the playground, paste your key into its authorization field. Requests from the playground act on your real workspace and phones. Direct-control requests on a Lusor Phone use Lusor Phone minutes.
Errors
Errors are JSON:400 in one of two shapes, depending on the endpoint:
{ "error": "validation_error", "details": { … } }, with per-field details. Direct phone control actions, for example, use this shape.{ "error": "bad_request", "message": "…" }, with one message. Agent endpoints, for example, use this shape: a turn with an emptypromptreturns it.
error, then read details or message. A resource in another workspace returns the same 404 as one that does not exist.
