patch https://api.talkdeskapp.com/do-not-call-lists//entries/
Inside a Do Not Call list
Scope
do-not-call-lists:manage
Request Body (required)
[
{
"op": "replace",
"path": "/expiration_date",
"value": "2022-11-30"
}
]
Body Response - Schema
200 (entry updated)
Parameter | Type | Description | Required |
---|---|---|---|
id | string | entry ID | no |
do_not_call_list_id | string | do not call list ID | no |
phone_number | string | phone number of the record | no |
reason | string | reason for the phone number is being added to DNCL (Do Not Call List) | no |
expiration_date | string | date where the DNCL entry expires | no |
created_at | string | record creation date | 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 (entry not found), 422 (unprocessable entity)
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.