Get Case Details by Contact

Getting the newest case details by contact.

📘

Supported Regions and Base URLs

🚧

This endpoint, which has limited functionality and can be considered a sub-endpoint from the Get a case list endpoint, is currently used primarily for Talkdesk Studio Workflow.
This endpoint can query the latest case information according to the contact information, get the agent information, and configure it in Studio for auto-assignment. If it isn't in this scenario, consider using the more generic Get a case list endpoint instead of this one.

👍

Access and Registration

Authentication

Scope

cases-public:read

Request Parameters Sample

curl --request GET \
--url 'https://api.talkdeskapp.com/cm/core/va/cases/info?id=612ee2aabbf8fd000e0ad917&name=roe&email=richardroe%40talkdesk.com&phone=%2B16785828251' \
--header 'Authorization: Bearer ....'
--header 'Content-Type: application/json'

Body Response - Schema

200 (the newest case details)

ParameterTypeDescriptionRequired
idstringCase ID, the unique numeric identifiers given to each case. Starting from 1.yes
titlestringcase subjectyes
descriptionstringcase descriptionyes
requester_idstringthe ID of the person who made the support request, which can be a contact or an agent.yes
requester_namestringThe name of the person who made the support request, which can be a contact or an agentyes
requester_emailstringthe email of a person who made the support request, which can be a contact or an agentno
requester_integrationobject"requester_integration" subdivides into:

1 - "integration_id" (string) - Integration identifier.
1.1 - "external_id" (string) - Contact identifier in integration.
1.2 - "external_url" (string) - Contact URL in external integration.
1.3 - "contact_type" (string) - Contact type in external integration.
1.4 - "external_sync_state" (string) - Contact sync state in integration.
yes
requester_phonestringthe phone number of the person who made the support request, which can be a contact or an agentno
group_idstringThe agent group ID. The unique numeric identifiers given to each group.yes
group_namestringagent group nameno
agent_idstringAgent ID, the unique numeric identifiers given to each agentno
agent_namestringagent nameno
prioritystringcase priorityno
statusstringcase statusyes
typestringcase typeno
create_atdate-time stringwhen the field was createdyes
update_atdate-time stringwhen the field is updatedyes
custom_fieldsstringcomma-separated list of case custom fields. "custom_fields" subdivides into:

1 - "checkbox1" (object) - custom fields value.
1.1 - "label" (string) - the field label.
1.2 - "value" (boolean) - the field value. Required.
no
notesarray of object stringcomma-separated list of case notes.
"notes" subdivides into:

1 - "id" (string) - the unique numeric identifiers given to each note
2 - "note_title" (string)
3 - "note_body" (string)
4 - "public" (boolean) - is true if any notes are public, false otherwise. Defaults to true.
no

🚧

Request Parameters (Query)

One of the five Contact parameters (id, name, email, phone,integration) must be passed, and when multiple conditions are passed in, it's complementary instead of exclusive.

👍

API Availability

The Case API has been in GA since October 2023.

🚧

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
Credentials
Header
Click Try It! to start a request and see the response here!