Place a call through your trunk
POST
/v1/provisioning/tenants/{tenant_id}/callsDial `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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| tenant_id | path | Yes | string | Your setup ID — the `_id` returned by `GET /me`. |
Request body
| Required | Content-Type | Shape |
|---|---|---|
| Yes | application/json | ProvisioningOutboundCallRequest |
| Name | Type | Required | Description |
|---|---|---|---|
| destination | string | Yes | At least 1 characters. |
| agent_id | string | Yes | At least 1 characters. |
| path | enum(pbx | pstn) | null | No | — |
| metadata | object | No | Default {}. |
Responses
| Status | Description | Content-Type | Shape |
|---|---|---|---|
| 200 | Successful Response | application/json | unknown |
| 422 | Validation Error | application/json | HTTPValidationError |