Get Phone Number Status
GET/phoneNumberAssignmentByProfile/:taskId/phoneNumbers
Check the status of the individual phone number/campaign assignments associated with the supplied taskId
.
Request
Path Parameters
taskId Taskidrequired
Query Parameters
recordsPerPage any
page any
Responses
200: Successful Response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/10dlc/phoneNumberAssignmentByProfile/:taskId/phoneNumbers' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"records": [
{
"taskId": "667a80f8-b0a9-49d0-b9ab-a7a1bcc45086",
"phoneNumber": "+12024567890",
"status": "pending"
}
]
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}