Skip to main content

Download CSV of Task Review Items by SID

This request returns a CSV of all task review items associated with the task secure ID.

get /batch/tasks/{task_sid}/review_items.csv

Sample

A sample GET request to get task review items for a partner in the CSV format:

curl -X GET \
'https://api.carrierx.com/core/v2/batch/tasks/2630eb9b-55c2-4e29-9217-ed133e2f22d6/review_items.csv' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'

Response

200 status code and a CSV download:

{
"method": "PATCH",
"review_items": [
{
"description": "18053355280",
"fields": {
"trunk_group_sid": [
null,
"b30a3dbb-3708-41f0-a9ca-5cf365dcc4d4"
]
},
"sid": "97de0cef-4c1a-478a-bb7e-e45fdca03035",
"version": 1
},
{
"description": "18053355112",
"fields": {
"trunk_group_sid": [
null,
"b30a3dbb-3708-41f0-a9ca-5cf365dcc4d4"
]
},
"sid": "0493d917-e23c-41db-8067-0c986df71007",
"version": 1
}
],
"type": "phonenumber"
}

This request is enabled for Field Filtering.

Required Scopes

To get a CSV of all task review items the partner must have one of the following scopes enabled:

  • batch.manage
  • batch.read

Path Arguments

ParameterData TypeDescription
task_sid requiredstringThe secure ID of the task.