Stay organized with collections
Save and categorize content based on your preferences.
The end users API endpoints provide access to the end-user objects. An end-user
object is created for each end user of Contact Center AI Platform (CCAI Platform).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThe API endpoints detailed here provide access to end-user objects within the Contact Center AI Platform (CCAI Platform).\u003c/p\u003e\n"],["\u003cp\u003eYou can update an end-user's details, such as email, name, and phone number, using the "Update end-user" endpoint with a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe "Get end-user" endpoint allows retrieval of an end-user by their internal ID or external identifier, using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eWhen using the update or get end-user endpoints, you must include \u003ccode\u003eContent-Type: application/json\u003c/code\u003e within the headers.\u003c/p\u003e\n"],["\u003cp\u003eResponses from both the "Update" and "Get" endpoints will include the user's \u003ccode\u003eid\u003c/code\u003e and \u003ccode\u003eidentifier\u003c/code\u003e upon success (status code 200).\u003c/p\u003e\n"]]],[],null,["# End users endpoints\n\nThe end users API endpoints provide access to the end-user objects. An end-user\nobject is created for each end user of Contact Center AI Platform (CCAI Platform).\n\nThe following are the call API endpoints:\n\n- [Update end-user](#update-end-user)\n\n- [Get end-user](#get-end-user)\n\nUpdate end-user\n---------------\n\nThis endpoint lets you update an end-user details including:\n\n- email address\n\n- name\n\n- phone number\n\n {\n \"identifier\": \"string\",\n \"email\": \"string\",\n \"name\": \"string\",\n \"phone\": \"string\"\n }\n\n***Endpoint:*** \n\n Method: POST\n Type: RAW\n URL: https://{subdomain}.{domain}/apps/api/v1/end_users\n\n***Headers:***\n\n***Body:*** \n\n {\n \"identifier\": \"abc123\",\n \"email\": \"joe@mydomain.com\",\n \"name\": \"Joe Smith\",\n \"phone\": \"+16171231234\"\n }\n\n### Example request and responses\n\nThe following sections provide example requests to the endpoint.\n\n#### End user ID and identifier\n\nThis example shows how to update an end-user by providing the ID.\n\n##### Request\n\n***Headers:***\n\n***Body:*** \n\n {\n \"identifier\": \"string\",\n \"email\": \"string\",\n \"name\": \"string\",\n \"phone\": \"string\"\n }\n\n##### Response\n\n {\n \"id\": \"integer\",\n \"identifier\": \"string\"\n }\n\n***Status Code:*** 200\n\nGet end-user\n------------\n\nThis endpoint provides the ability to retrieve an end-user using either the `id`\nor `identifier`.\n\n***Endpoint:*** \n\n Method: GET\n Type:\n URL: https://{subdomain}.{domain}/apps/api/v1/end_users\n\n***Headers:***\n\n***Query:***\n\n### Example request and responses\n\nThe following sections provide example requests to the endpoint.\n\n#### Get by ID\n\nThis example shows how to retrieve an end-user by providing the ID.\n\n##### Request\n\n***Headers:***\n\n***Query:***\n\n##### Response\n\n {\n \"id\": \"integer\",\n \"identifier\": \"string\"\n }\n\n***Status Code:*** 200\n\n#### Get by identifier\n\nThis example shows how to retrieve an end-user by providing the identifier.\n\n##### Request\n\n***Headers:***\n\n***Query:***\n\n##### Response\n\n {\n \"id\": \"integer\",\n \"identifier\": \"string\"\n }\n\n***Status Code:*** 200"]]