Get Assignment Task Status
GET/phoneNumberAssignmentByProfile/:taskId
Check the status of the task associated with assigning all phone numbers on a messaging profile to a campaign by taskId
.
Request
Path Parameters
taskId Taskidrequired
Responses
200: Successful Response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/10dlc/phoneNumberAssignmentByProfile/:taskId' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"taskId": "string",
"status": "pending",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}