Update a Callback

Importing the time off balance.

Scope

schedule-callbacks:write

Response Example

{
{
  "callback_id": "2da8a248-4b77-463e-9a36-d724f5792971",
  "account_id": "6142f79f738eb0e4a44b18c4",
  "interaction_id": "03e5c6f0-53c5-4b76-86ef-8d89ac67cdc6",
  "caller_id": "+155598754214",
  "scheduled_time_to_call": "2021-03-24T11:48:40.500Z",
  "timezone": "Europe/Lisbon",
  "preferred_start_time": "2000-01-01T12:00:00.000Z",
  "preferred_end_time": "2000-01-01T18:00:00.000Z",
  "processed_time": "2021-03-24T11:48:40.500Z",
  "created_at": "2021-03-24T11:40:40.500Z",
  "created_by": "Chandler",
  "contact_id": "4028814076d8250c0176d826d90f0000",
  "root_interaction_id": "13e5c6f0-53c5-4b76-86ef-8d89ac67cdc2",
  "teams": [
    {
      "team_id": "5b34eb0cdcba1b000bdbd321"
    }
  ],
  "assign_type": "MYSELF_ONLY",
  "from_call_type": "PROACTIVE_OUTBOUND",
  "dialing_model": "PREDICTIVE",
  "ring_groups": [
    {
      "ring_group": "61935f5904147e334756017d"
    }
  ],
  "agents": [
    {
      "agent_id": "5252g4504147e334756017d"
    }
  ],
  "campaign_id": "8c86a8f4-da30-41ac-a09d-148e7690c330",
  "record_id": "2b56abbb-1bb2-40de-9b88-243a4773b518",
  "record_list_id": "c9798bc0-4f5d-474f-afb7-88bf6e543c94",
  "phone_number": "+351910000000",
  "record_first_name": "Chandler",
  "record_last_name": "Bing",
  "next_time_to_call": "2023-03-24T11:48:40Z",
  "status": "UNATTEMPTED",
  "record_extra_data": {
    "job": "statistical analysis and data reconfiguration.",
    "address": "Apartment #19 in Greenwich Village, Manhattan"
  },
  "_links": {
    "self": {
      "href": "https://api.talkdeskapp.com/callbacks/2da8a248-4b77-463e-9a36-d724f5792971"
    }
  }
}

Body Response - Schema

200 OK

ParameterTypeDescription
callback_idstringId of the callback. Required.
account_idstringId of the account.
interaction_idstringThe interaction id of where the callback originates from.
caller_idstringThe number that will be shown as the caller.
scheduled_time_to_callstring The time the callback is scheduled.
timezonestringThe timezone in which the callback is scheduled.
preferred_start_timestring The started preferred time window on the preview screen.
preferred_end_timestring The ended preferred time window on the preview screen.
processed_timestring The time to process the callback.
created_atstring The time to create the callback.
created_bystringThe user who created the callback.
contact_idstringThe contact id.
root_interaction_idstringThe root interaction id.
teamsarray[object]"teams" subdivides into:

1 - "team_id" (string) - Required.
assign_typestringAllowed values: MYSELF_ONLY, SPECIFIC_AGENT, SPECIFIC_RING_GROUP, MYSELF_IF_AVAILABLE, ANY_ELIGIBLE_AGENT.
from_call_typestringAllowed values: INBOUND, MANUAL_OUTBOUND, PROACTIVE_OUTBOUND.
dialing_modelstringAllowed values: PREDICTIVE, PREVIEW.
ring_groupsarray[object]"ring_groups" subdivides into:

1 - "ring_group" (string) - Required.
agentsarray[object]"agents" subdivides into:

1 - "agent_id" (string) - Required.
campaign_idstringThe campaign id of where the callback originates from.
record_idstringThe id of the record list where the record comes from.
record_list_idstringThe id of the record list that is scheduled to be called.
phone_numberstringThe phone number that is scheduled to be called.
record_first_namestringFirst name of the record.
record_last_namestringLast name of the record.
record_extra_dataobjectExtra Data from the record.
next_time_to_callstring The next time the callback will be retried.
statusstringAllowed values: UNATTEMPTED, TO_BE_RETRIED, EXHAUSTED, SUCCESS, CANCELED, INVALID_NUMBER.
_linksobject"_links" subdivides into:

1 - "self" (object) - Link to the resource.

400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (not found)

ParameterTypeDescriptionRequired
codestringInternal error reference code.yes
messagestringSummary of the error.yes
descriptionstringDetailed error explanation.no
fieldsarray[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.

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