Update a Callback

📘

Supported Regions and Base URLs

🚧

Body Parameters

The body parameters are part of an array.

👍

Access and Registration

Authentication

Scope

schedule-callbacks:write

Body Schema - Response

Body Response - Example

[
  {
    "op": "replace",
    "path": "/timeToCall",
    "value": "2022-02-10T09:39:19Z"
  },
  {
    "op": "replace",
    "path": "/phoneNumber",
    "value": "+8613036130259"
  },
  {
    "op": "replace",
    "path": "/timezone",
    "value": "Asia/Shanghai"
  },
  {
    "op": "replace",
    "path": "/assignType",
    "value": "SPECIFIC_AGENT"
  },
  {
    "op": "replace",
    "path": "/agents",
    "value": [
      "6af3b4f4-c962-4c37-80bd-bfec579bfd2c",
      "0957ff2e-6e8b-42d3-9c4a-d7cf1b013aa7"
    ]
  }
]

200 OK (return the updated callback)

ParameterTypeDescriptionRequired
callback_idstringID of the callbackyes
interaction_idstringthe interaction ID of where the callback originates fromno
caller_idstringthe number that will be shown as the callerno
scheduled_time_to_callstringthe time the callback is scheduledno
timezonestringthe timezone in which the callback is scheduledno
assign_typestringDescribes what assign type this is related to. The type of the assignee needs to be consistent with the callback assignment configuration.
Default allowed values: MYSELF_ONLY, SPECIFIC_AGENT, SPECIFIC_RING_GROUP, MYSELF_IF_AVAILABLE,
ANY_ELIGIBLE_AGENT
no
from_call_typestringDescribes what call type is this related to.
Allowed values:
INBOUND,
MANUAL_OUTBOUND,
PROACTIVE_OUTBOUND
no
dialing_modelstringDescribes what dialing model is this related to.
Allowed values:
PREDICTIVE, PREVIEW
no
ring_groupsarray[object]Describes what ring group is this related to. Subdivides into:
"ring_group" (string). Required.
no
agentsarray[object]Subdivides into:
"agent_id" (string). Required.
no
campaign_idstringthe campaign ID of where the callback originates fromno
record_idstringthe ID of the record list where the record comes fromno
record_list_idstringthe ID of the record list that is scheduled to be calledno
phone_numberstringthe phone number that is scheduled to be calledno
record_first_namestringfirst name of the record that is scheduled to be calledno
record_last_namestringlast name of the record that is scheduled to be calledno
record_extra_dataobjectextra data from the record that is scheduled to be calledyes
next_time_to_callstringthe next time the callback will be retriedno
statusstringThe status of callback.
Allowed values:
UNATTEMPTED,
TO_BE_RETRIED,
EXHAUSTED,
SUCCESS,
CANCELED,
INVALID_NUMBER
no
_linksobject"_links" subdivides into:

1 - "self" (object) - the link to the current page. Required.
1.1 - "href" (string). Required.
no

400 (errors were found in the submitted data), 401 (unauthorized), 403 (forbidden), 404 (callback not found)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ano
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

❗️

API Availability

The Scheduled Callback Management API is only available for customers enrolled in Talkdesk's Early Access (EA) program.

To enter the EA program, contact a Customer Sucess Manager.

The Scheduled Callback Management API has been in GA since March 2022.

🚧

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.

Language
Authorization
Header
Click Try It! to start a request and see the response here!