Get Task by SID
This request returns data for a batch task, targeted by secure ID.
get | /batch/tasks{task_sid} |
Sample
A sample GET request to get a batch task, targeted by secure ID:
curl -X GET \
'https://api.carrierx.com/core/v2/batch/tasks/2d9e546e-634b-4f6b-97ca-c2158163540c' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the Task object:
{
"data": {
"trunk_group_sid": "b30a3dbb-3708-41f0-a9ca-5cf365dcc4d4"
},
"date_created": "2024-10-30T20:47:32.000Z",
"date_modified": "2024-10-30T20:47:38.000Z",
"entries": [
"18053355112",
"18053355280"
],
"error_details": [],
"failure": 0,
"field": "phonenumber",
"method": "PATCH",
"partner_sid": "923840ce-0b63-44a9-b4ce-09dc4181fb9d",
"processed": 0,
"review": true,
"status": "pending_review",
"success": 0,
"task_sid": "2d9e546e-634b-4f6b-97ca-c2158163540c",
"total": 2,
"type": "phonenumber"
}
This request is enabled for Pagination.
Required Scopes
To get information about a Task object, the partner must have one of the following scopes enabled:
batch.manage
batch.read
Path Arguments
Parameter | Data Type | Description |
---|---|---|
task_sid required | string | The secure ID of the task. |