Incoming Call Data
POST /{partner_id}/incoming-call-data
Section titled “POST /{partner_id}/incoming-call-data”New Incoming Call
Parameters
Section titled “Parameters”| Name | In | Type | Required | Notes |
|---|---|---|---|---|
partner_id |
path | string | Yes | — |
Request body
Section titled “Request body”| Field | Type | Required | Notes |
|---|---|---|---|
contactPhone |
string | Yes | Phone number in E164 format |
queue |
string or integer | Yes | — |
mainPhone |
string | Yes | Phone number in E164 format |
Responses
Section titled “Responses”| Code | Meaning |
|---|---|
201 |
Successful Response |
422 |
Validation Error |
Example
Section titled “Example”curl -X POST 'https://<partner-api-host>/<partner_id>/incoming-call-data' \ -H 'apikey: <your-api-key>' \ -H 'Content-Type: application/json' \ -d '{"contactPhone": "<contactPhone>", "queue": "<queue>", "mainPhone": "<mainPhone>"}'