post https://api.talkdeskapp.com/do-not-call-lists
Returns a signed URL to upload a CSV file
Scope
do-not-call-lists:manage
Request Body (required)
{
"name": "Do Not Call List 20",
"csv_metadata": {
"filename": "donotcalllist.csv",
"byte_size": 413,
"checksum": "d2c07dcf1589304317056dd7e28e32b8",
"content_type": "text/csv"
}
}
Body Response - Schema
201 (created do not call list and signed URL for the CSV file)
Parameter | Type | Description | Required |
---|---|---|---|
id | string | ID of created list | no |
name | string | name of created list | no |
status | string | status of the CSV file | no |
signed_url | string | URL used to save the CSV file in S3 | no |
_links | object | "_links" subdivides into: 1 - "self" (object) 1.1 - "href" (string) | no |
400 (errors were found in the submitted data), 401 (unauthorized), 403 (forbidden), 404 (not found)
Parameter | Type | Description | Required |
---|---|---|---|
code | string | n/a | yes |
message | string | n/a | yes |
description | string | n/a | no |
fields | array[object] | "fields" subdivides into: "name" (string) "description" (string) | yes (name and description) |
Troubleshooting
If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.