Sign in

Place a call through your trunk

View as Markdown
POST/v1/provisioning/tenants/{tenant_id}/calls

Dial `destination` with one of your agents over your trunk. `tenant_id` is your setup ID — the `_id` from Get your account.

Auth

Authentication required.

Parameters

NameInRequiredTypeDescription
tenant_idpathYesstringYour setup ID — the `_id` returned by `GET /me`.

Request body

RequiredContent-TypeShape
Yesapplication/jsonProvisioningOutboundCallRequest
NameTypeRequiredDescription
destinationstringYesAt least 1 characters.
agent_idstringYesAt least 1 characters.
pathenum(pbx | pstn) | nullNo—
metadataobjectNoDefault {}.

Responses

StatusDescriptionContent-TypeShape
200Successful Responseapplication/jsonunknown
422Validation Errorapplication/jsonHTTPValidationError