# Text Documentation: API reference ## API reference - [API reference / Configuration API (200 pages)](https://www.text.com/docs/_llms/api-reference/configuration-api.txt): v3.7, v3.6, v3.5. ### Agent Chat API #### v3.7 ##### Overview - [Using the Agent Chat API](https://www.text.com/docs/api/agent-chat/v3.7/index.md): Connect agents, bots, and your own tools to Text so they can participate in customer conversations through the Web API. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.7/data-structures.md): Reference of data structures available in the Agent Chat API v3.7. ##### Chats - [List chats](https://www.text.com/docs/api/agent-chat/v3.7/chats/list-chats.md): Returns the info about the chats an agent has access to. - [List threads](https://www.text.com/docs/api/agent-chat/v3.7/chats/list-threads.md): Returns threads that the current agent has access to in a given chat. - [Get chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/get-chat.md): Returns a thread that the current agent has access to in a given chat. - [Get thread transcript](https://www.text.com/docs/api/agent-chat/v3.7/chats/get-thread-transcript.md): Returns a plain-text transcript of a given thread. - [List archives](https://www.text.com/docs/api/agent-chat/v3.7/chats/list-archives.md): Returns a list of the chats an agent has access to. - [Start chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. - [Follow chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/follow-chat.md): Marks a chat as followed. - [Unfollow chat](https://www.text.com/docs/api/agent-chat/v3.7/chats/unfollow-chat.md): Removes the requester from the chat followers. ##### Chat access - [Transfer chat](https://www.text.com/docs/api/agent-chat/v3.7/chat-access/transfer-chat.md): Transfers a chat to an agent or a group. ##### Chat users - [Add user to chat](https://www.text.com/docs/api/agent-chat/v3.7/chat-users/add-user-to-chat.md): Adds a user to the chat. - [Remove user from chat](https://www.text.com/docs/api/agent-chat/v3.7/chat-users/remove-user-from-chat.md): Removes a user from the chat. ##### Events - [Send event preview](https://www.text.com/docs/api/agent-chat/v3.7/events/send-event-preview.md): Sends an event that isn't saved in the chat. - [Send event](https://www.text.com/docs/api/agent-chat/v3.7/events/send-event.md): Sends an [event object](/docs/api/agent-chat/v3.7/data-structures#events). - [Upload file](https://www.text.com/docs/api/agent-chat/v3.7/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/agent-chat/v3.7/events/send-rich-message-postback.md): Sends a postback for a rich message event. ##### Properties - [Update chat properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/update-chat-properties.md): Updates the properties of a chat. - [Delete chat properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/delete-chat-properties.md): Deletes the properties of a chat. - [Update thread properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/update-thread-properties.md): Updates the properties of a thread. - [Delete thread properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/delete-thread-properties.md): Deletes the properties of a thread. - [Update event properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/update-event-properties.md): Updates the properties of an event. - [Delete event properties](https://www.text.com/docs/api/agent-chat/v3.7/properties/delete-event-properties.md): Deletes the properties of an event. ##### Thread tags - [Tag thread](https://www.text.com/docs/api/agent-chat/v3.7/thread-tags/tag-thread.md): Tags a given thread. - [Untag thread](https://www.text.com/docs/api/agent-chat/v3.7/thread-tags/untag-thread.md): Untags a given thread. ##### Customers - [Get customer](https://www.text.com/docs/api/agent-chat/v3.7/customers/get-customer.md): Returns the info about the customer with a given `id`. - [Update customer](https://www.text.com/docs/api/agent-chat/v3.7/customers/update-customer.md): Updates the customer's fields. - [Ban customer](https://www.text.com/docs/api/agent-chat/v3.7/customers/ban-customer.md): Bans the customer for a specific period of time. ##### Status - [Set routing status](https://www.text.com/docs/api/agent-chat/v3.7/status/set-routing-status.md): Changes the status of an agent or a bot agent. - [List routing statuses](https://www.text.com/docs/api/agent-chat/v3.7/status/list-routing-statuses.md): Returns the current routing status of each agent selected by the provided filters. ##### Other - [Mark events as seen](https://www.text.com/docs/api/agent-chat/v3.7/other/mark-events-as-seen.md): Marks an agent's events up to a specific time as read in a customer's chat window. - [Send thinking indicator](https://www.text.com/docs/api/agent-chat/v3.7/other/send-thinking-indicator.md): Sends a thinking indicator to a chat. - [Send typing indicator](https://www.text.com/docs/api/agent-chat/v3.7/other/send-typing-indicator.md): Sends a typing indicator to a chat. - [Multicast](https://www.text.com/docs/api/agent-chat/v3.7/other/multicast.md): Sends a chat-unrelated multicast. - [List agents for transfer](https://www.text.com/docs/api/agent-chat/v3.7/other/list-agents-for-transfer.md): Returns the agents you can transfer a chat to. - [Request thread summary](https://www.text.com/docs/api/agent-chat/v3.7/other/request-thread-summary.md): Requests an AI-generated summary of a specific thread. #### v3.6 ##### Overview - [Using the Agent Chat API](https://www.text.com/docs/api/agent-chat/v3.6/index.md): Connect agents, bots, and your own tools to Text so they can participate in customer conversations through the Web API. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.6/data-structures.md): Reference of data structures available in the Agent Chat API v3.6. ##### Chats - [List chats](https://www.text.com/docs/api/agent-chat/v3.6/chats/list-chats.md): Returns summaries of the chats an agent has access to. - [List threads](https://www.text.com/docs/api/agent-chat/v3.6/chats/list-threads.md): Returns threads that the current agent has access to in a given chat. - [Get chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/get-chat.md): Returns a thread that the current agent has access to in a given chat. - [Get thread transcript](https://www.text.com/docs/api/agent-chat/v3.6/chats/get-thread-transcript.md): Returns a plain-text transcript of a given thread. - [List archives](https://www.text.com/docs/api/agent-chat/v3.6/chats/list-archives.md): Returns a list of the chats an agent has access to. - [Start chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. - [Follow chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/follow-chat.md): Marks a chat as followed. - [Unfollow chat](https://www.text.com/docs/api/agent-chat/v3.6/chats/unfollow-chat.md): Removes the requester from the chat followers. ##### Chat access - [Transfer chat](https://www.text.com/docs/api/agent-chat/v3.6/chat-access/transfer-chat.md): Transfers a chat to an agent or a group. ##### Chat users - [Add user to chat](https://www.text.com/docs/api/agent-chat/v3.6/chat-users/add-user-to-chat.md): Adds a user to the chat. - [Remove user from chat](https://www.text.com/docs/api/agent-chat/v3.6/chat-users/remove-user-from-chat.md): Removes a user from the chat. ##### Events - [Send event preview](https://www.text.com/docs/api/agent-chat/v3.6/events/send-event-preview.md): Sends an event that isn't saved in the chat. - [Send event](https://www.text.com/docs/api/agent-chat/v3.6/events/send-event.md): Sends an [event object](/docs/api/agent-chat/v3.6/data-structures#events). - [Upload file](https://www.text.com/docs/api/agent-chat/v3.6/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/agent-chat/v3.6/events/send-rich-message-postback.md): Sends a postback for a rich message event. ##### Properties - [Update chat properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/update-chat-properties.md): Updates the properties of a chat. - [Delete chat properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/delete-chat-properties.md): Deletes the properties of a chat. - [Update thread properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/update-thread-properties.md): Updates the properties of a thread. - [Delete thread properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/delete-thread-properties.md): Deletes the properties of a thread. - [Update event properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/update-event-properties.md): Updates the properties of an event. - [Delete event properties](https://www.text.com/docs/api/agent-chat/v3.6/properties/delete-event-properties.md): Deletes the properties of an event. ##### Thread tags - [Tag thread](https://www.text.com/docs/api/agent-chat/v3.6/thread-tags/tag-thread.md): Tags a given thread. - [Untag thread](https://www.text.com/docs/api/agent-chat/v3.6/thread-tags/untag-thread.md): Untags a given thread. ##### Customers - [Get customer](https://www.text.com/docs/api/agent-chat/v3.6/customers/get-customer.md): Returns the info about the customer with a given `id`. - [Update customer](https://www.text.com/docs/api/agent-chat/v3.6/customers/update-customer.md): Updates customer's properties. - [Ban customer](https://www.text.com/docs/api/agent-chat/v3.6/customers/ban-customer.md): Bans the customer for a specific period of time. ##### Status - [Set routing status](https://www.text.com/docs/api/agent-chat/v3.6/status/set-routing-status.md): Changes the status of an agent or a bot agent. - [List routing statuses](https://www.text.com/docs/api/agent-chat/v3.6/status/list-routing-statuses.md): Returns the current routing status of each agent selected by the provided filters. ##### Other - [Mark events as seen](https://www.text.com/docs/api/agent-chat/v3.6/other/mark-events-as-seen.md): Marks an agent's events up to a specific time as read in a customer's chat window. - [Send thinking indicator](https://www.text.com/docs/api/agent-chat/v3.6/other/send-thinking-indicator.md): Sends a thinking indicator to a chat. - [Send typing indicator](https://www.text.com/docs/api/agent-chat/v3.6/other/send-typing-indicator.md): Sends a typing indicator to a chat. - [Multicast](https://www.text.com/docs/api/agent-chat/v3.6/other/multicast.md): Sends a chat-unrelated multicast. - [List agents for transfer](https://www.text.com/docs/api/agent-chat/v3.6/other/list-agents-for-transfer.md): Returns the agents you can transfer a chat to. - [Request thread summary](https://www.text.com/docs/api/agent-chat/v3.6/other/request-thread-summary.md): Requests an AI-generated summary of a specific thread. #### v3.5 ##### Overview - [Using the Agent Chat API](https://www.text.com/docs/api/agent-chat/v3.5/index.md): Connect agents, bots, and your own tools to Text so they can participate in customer conversations through the Web API. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.5/data-structures.md): Reference of data structures available in the Agent Chat API v3.5. ##### Chats - [List chats](https://www.text.com/docs/api/agent-chat/v3.5/chats/list-chats.md): Returns summaries of the chats an agent has access to. - [List threads](https://www.text.com/docs/api/agent-chat/v3.5/chats/list-threads.md): Returns threads that the current agent has access to in a given chat. - [Get chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/get-chat.md): Returns a thread that the current agent has access to in a given chat. - [List archives](https://www.text.com/docs/api/agent-chat/v3.5/chats/list-archives.md): Returns a list of the chats an agent has access to. - [Start chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. - [Follow chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/follow-chat.md): Marks a chat as followed. - [Unfollow chat](https://www.text.com/docs/api/agent-chat/v3.5/chats/unfollow-chat.md): Removes the requester from the chat followers. ##### Chat access - [Transfer chat](https://www.text.com/docs/api/agent-chat/v3.5/chat-access/transfer-chat.md): Transfers a chat to an agent or a group. ##### Chat users - [Add user to chat](https://www.text.com/docs/api/agent-chat/v3.5/chat-users/add-user-to-chat.md): Adds a user to the chat. - [Remove user from chat](https://www.text.com/docs/api/agent-chat/v3.5/chat-users/remove-user-from-chat.md): Removes a user from the chat. ##### Events - [Send event](https://www.text.com/docs/api/agent-chat/v3.5/events/send-event.md): Sends an [event object](/docs/api/agent-chat/v3.5/data-structures#events). - [Upload file](https://www.text.com/docs/api/agent-chat/v3.5/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/agent-chat/v3.5/events/send-rich-message-postback.md): Sends a postback for a rich message event. ##### Properties - [Update chat properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/update-chat-properties.md): Updates the properties of a chat. - [Delete chat properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/delete-chat-properties.md): Deletes the properties of a chat. - [Update thread properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/update-thread-properties.md): Updates the properties of a thread. - [Delete thread properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/delete-thread-properties.md): Deletes the properties of a thread. - [Update event properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/update-event-properties.md): Updates the properties of an event. - [Delete event properties](https://www.text.com/docs/api/agent-chat/v3.5/properties/delete-event-properties.md): Deletes the properties of an event. ##### Thread tags - [Tag thread](https://www.text.com/docs/api/agent-chat/v3.5/thread-tags/tag-thread.md): Tags a given thread. - [Untag thread](https://www.text.com/docs/api/agent-chat/v3.5/thread-tags/untag-thread.md): Untags a given thread. ##### Customers - [Get customer](https://www.text.com/docs/api/agent-chat/v3.5/customers/get-customer.md): Returns the info about the customer with a given `id`. - [Update customer](https://www.text.com/docs/api/agent-chat/v3.5/customers/update-customer.md): Updates customer's properties. - [Ban customer](https://www.text.com/docs/api/agent-chat/v3.5/customers/ban-customer.md): Bans the customer for a specific period of time. - [List customers](https://www.text.com/docs/api/agent-chat/v3.5/customers/list-customers.md): Returns the list of customers. - [Create customer](https://www.text.com/docs/api/agent-chat/v3.5/customers/create-customer.md): Creates a new customer user type. ##### Status - [Set routing status](https://www.text.com/docs/api/agent-chat/v3.5/status/set-routing-status.md): Changes the status of an agent or a bot agent. - [List routing statuses](https://www.text.com/docs/api/agent-chat/v3.5/status/list-routing-statuses.md): Returns the current routing status of each agent selected by the provided filters. ##### Other - [Mark events as seen](https://www.text.com/docs/api/agent-chat/v3.5/other/mark-events-as-seen.md): Marks an agent's events up to a specific time as read in a customer's chat window. - [Send typing indicator](https://www.text.com/docs/api/agent-chat/v3.5/other/send-typing-indicator.md): Sends a typing indicator to a chat. - [Multicast](https://www.text.com/docs/api/agent-chat/v3.5/other/multicast.md): Sends a chat-unrelated multicast. - [List agents for transfer](https://www.text.com/docs/api/agent-chat/v3.5/other/list-agents-for-transfer.md): Returns the agents you can transfer a chat to. ##### Configuration - [Get license info](https://www.text.com/docs/api/agent-chat/v3.5/configuration/get-license-info.md): Returns basic information about the license. ### Agent Chat API #### v3.7 ##### Overview - [Using the Agent Chat RTM API](https://www.text.com/docs/api/agent-chat/v3.7/rtm/index.md): Maintain a WebSocket connection for agent tools to exchange chat events and receive conversation updates in real time. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.7/rtm/data-structures.md): Reference of data structures available in the Agent Chat API v3.7. - [Pushes](https://www.text.com/docs/api/agent-chat/v3.7/rtm/pushes.md): Reference of push messages for the Agent Chat RTM API v3.7. ##### Methods - [Chats](https://www.text.com/docs/api/agent-chat/v3.7/rtm/chats.md): Reference of Chats methods for the Agent Chat RTM API v3.7. - [Chat access](https://www.text.com/docs/api/agent-chat/v3.7/rtm/chat-access.md): Reference of Chat access methods for the Agent Chat RTM API v3.7. - [Chat users](https://www.text.com/docs/api/agent-chat/v3.7/rtm/chat-users.md): Reference of Chat users methods for the Agent Chat RTM API v3.7. - [Events](https://www.text.com/docs/api/agent-chat/v3.7/rtm/events.md): Reference of Events methods for the Agent Chat RTM API v3.7. - [Properties](https://www.text.com/docs/api/agent-chat/v3.7/rtm/properties.md): Reference of Properties methods for the Agent Chat RTM API v3.7. - [Thread tags](https://www.text.com/docs/api/agent-chat/v3.7/rtm/thread-tags.md): Reference of Thread tags methods for the Agent Chat RTM API v3.7. - [Customers](https://www.text.com/docs/api/agent-chat/v3.7/rtm/customers.md): Reference of Customers methods for the Agent Chat RTM API v3.7. - [Status](https://www.text.com/docs/api/agent-chat/v3.7/rtm/status.md): Reference of Status methods for the Agent Chat RTM API v3.7. - [Other](https://www.text.com/docs/api/agent-chat/v3.7/rtm/other.md): Reference of Other methods for the Agent Chat RTM API v3.7. #### v3.6 ##### Overview - [Using the Agent Chat RTM API](https://www.text.com/docs/api/agent-chat/v3.6/rtm/index.md): Maintain a WebSocket connection for agent tools to exchange chat events and receive conversation updates in real time. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.6/rtm/data-structures.md): Reference of data structures available in the Agent Chat API v3.6. - [Pushes](https://www.text.com/docs/api/agent-chat/v3.6/rtm/pushes.md): Reference of push messages for the Agent Chat RTM API v3.6. ##### Methods - [Chats](https://www.text.com/docs/api/agent-chat/v3.6/rtm/chats.md): Reference of Chats methods for the Agent Chat RTM API v3.6. - [Chat access](https://www.text.com/docs/api/agent-chat/v3.6/rtm/chat-access.md): Reference of Chat access methods for the Agent Chat RTM API v3.6. - [Chat users](https://www.text.com/docs/api/agent-chat/v3.6/rtm/chat-users.md): Reference of Chat users methods for the Agent Chat RTM API v3.6. - [Events](https://www.text.com/docs/api/agent-chat/v3.6/rtm/events.md): Reference of Events methods for the Agent Chat RTM API v3.6. - [Properties](https://www.text.com/docs/api/agent-chat/v3.6/rtm/properties.md): Reference of Properties methods for the Agent Chat RTM API v3.6. - [Thread tags](https://www.text.com/docs/api/agent-chat/v3.6/rtm/thread-tags.md): Reference of Thread tags methods for the Agent Chat RTM API v3.6. - [Customers](https://www.text.com/docs/api/agent-chat/v3.6/rtm/customers.md): Reference of Customers methods for the Agent Chat RTM API v3.6. - [Status](https://www.text.com/docs/api/agent-chat/v3.6/rtm/status.md): Reference of Status methods for the Agent Chat RTM API v3.6. - [Other](https://www.text.com/docs/api/agent-chat/v3.6/rtm/other.md): Reference of Other methods for the Agent Chat RTM API v3.6. #### v3.5 ##### Overview - [Using the Agent Chat RTM API](https://www.text.com/docs/api/agent-chat/v3.5/rtm/index.md): Maintain a WebSocket connection for agent tools to exchange chat events and receive conversation updates in real time. - [Data structures](https://www.text.com/docs/api/agent-chat/v3.5/rtm/data-structures.md): Reference of data structures available in the Agent Chat API v3.5. - [Pushes](https://www.text.com/docs/api/agent-chat/v3.5/rtm/pushes.md): Reference of pushes available in the Agent Chat RTM API v3.5. ##### Methods - [Chats](https://www.text.com/docs/api/agent-chat/v3.5/rtm/chats.md): Reference of Chats methods for the Agent Chat RTM API v3.5. - [Chat access](https://www.text.com/docs/api/agent-chat/v3.5/rtm/chat-access.md): Reference of Chat access methods for the Agent Chat RTM API v3.5. - [Chat users](https://www.text.com/docs/api/agent-chat/v3.5/rtm/chat-users.md): Reference of Chat users methods for the Agent Chat RTM API v3.5. - [Events](https://www.text.com/docs/api/agent-chat/v3.5/rtm/events.md): Reference of Events methods for the Agent Chat RTM API v3.5. - [Properties](https://www.text.com/docs/api/agent-chat/v3.5/rtm/properties.md): Reference of Properties methods for the Agent Chat RTM API v3.5. - [Thread tags](https://www.text.com/docs/api/agent-chat/v3.5/rtm/thread-tags.md): Reference of Thread tags methods for the Agent Chat RTM API v3.5. - [Customers](https://www.text.com/docs/api/agent-chat/v3.5/rtm/customers.md): Reference of Customers methods for the Agent Chat RTM API v3.5. - [Status](https://www.text.com/docs/api/agent-chat/v3.5/rtm/status.md): Reference of Status methods for the Agent Chat RTM API v3.5. - [Other](https://www.text.com/docs/api/agent-chat/v3.5/rtm/other.md): Reference of Other methods for the Agent Chat RTM API v3.5. ### Customer Chat API #### v3.7 ##### Overview - [Using the Customer Chat API](https://www.text.com/docs/api/customer-chat/v3.7/index.md): Build a custom customer chat interface that connects to Text and supports conversations inside your website or product. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.7/data-structures.md): Reference of data structures available in the Customer Chat API v3.7. ##### Chats - [List chats](https://www.text.com/docs/api/customer-chat/v3.7/chats/list-chats.md): Returns info about the chats a customer participated in. - [List threads](https://www.text.com/docs/api/customer-chat/v3.7/chats/list-threads.md): Returns threads that the current customer has access to in a given chat. - [Get chat](https://www.text.com/docs/api/customer-chat/v3.7/chats/get-chat.md): Returns a thread that the current customer has access to in a given chat. - [Start chat](https://www.text.com/docs/api/customer-chat/v3.7/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/customer-chat/v3.7/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/customer-chat/v3.7/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. ##### Configuration - [Get dynamic configuration](https://www.text.com/docs/api/customer-chat/v3.7/configuration/get-dynamic-configuration.md): Returns the dynamic configuration of a given group. - [Get configuration](https://www.text.com/docs/api/customer-chat/v3.7/configuration/get-configuration.md): Returns the configuration of a given group in a given version. ##### Events - [Send event](https://www.text.com/docs/api/customer-chat/v3.7/events/send-event.md): Sends an [event object](/docs/api/customer-chat/v3.7/data-structures#events). - [Delete event](https://www.text.com/docs/api/customer-chat/v3.7/events/delete-event.md): Deletes an [event object](/docs/api/customer-chat/v3.7/data-structures#events). - [Upload file](https://www.text.com/docs/api/customer-chat/v3.7/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/customer-chat/v3.7/events/send-rich-message-postback.md): Sends a rich message postback. - [Send sneak peek](https://www.text.com/docs/api/customer-chat/v3.7/events/send-sneak-peek.md): Sends a sneak peek to a chat. ##### Localization - [Get localization](https://www.text.com/docs/api/customer-chat/v3.7/localization/get-localization.md): Returns the localization of a given language and group in a given version. ##### Properties - [Update chat properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/update-chat-properties.md) - [Delete chat properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/delete-chat-properties.md) - [Update thread properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/update-thread-properties.md) - [Delete thread properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/delete-thread-properties.md) - [Update event properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/update-event-properties.md) - [Delete event properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/delete-event-properties.md) - [List license properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/list-license-properties.md): Returns the properties of a given license. - [List group properties](https://www.text.com/docs/api/customer-chat/v3.7/properties/list-group-properties.md): Returns the properties of a given group. ##### Customers - [Update customer](https://www.text.com/docs/api/customer-chat/v3.7/customers/update-customer.md): Updates the customer's fields. - [Set customer session fields](https://www.text.com/docs/api/customer-chat/v3.7/customers/set-customer-session-fields.md): Updates customer session fields. - [Get customer](https://www.text.com/docs/api/customer-chat/v3.7/customers/get-customer.md): Returns the info about the customer requesting it. ##### Status - [List group statuses](https://www.text.com/docs/api/customer-chat/v3.7/status/list-group-statuses.md): Lists group statuses. ##### Other - [Check goals](https://www.text.com/docs/api/customer-chat/v3.7/other/check-goals.md): Triggers checking if goals were achieved. - [Get form](https://www.text.com/docs/api/customer-chat/v3.7/other/get-form.md): Returns an empty ticket form of a prechat or postchat survey. - [Get URL info](https://www.text.com/docs/api/customer-chat/v3.7/other/get-url-info.md): Returns the info on a given URL. - [Mark events as seen](https://www.text.com/docs/api/customer-chat/v3.7/other/mark-events-as-seen.md): Marks events as seen up to a specified time. - [Accept greeting](https://www.text.com/docs/api/customer-chat/v3.7/other/accept-greeting.md): Marks an incoming greeting as seen. - [Cancel greeting](https://www.text.com/docs/api/customer-chat/v3.7/other/cancel-greeting.md): Cancels a greeting (an invitation to the chat). - [Request welcome message](https://www.text.com/docs/api/customer-chat/v3.7/other/request-welcome-message.md): Requests a welcome message from the system. - [Send greeting button clicked](https://www.text.com/docs/api/customer-chat/v3.7/other/send-greeting-button-clicked.md): Records that a customer clicked a greeting button. - [Request email verification](https://www.text.com/docs/api/customer-chat/v3.7/other/request-email-verification.md): Requests the verification of the customer's email address by sending them a verification email with the identity confirmation link. #### v3.6 ##### Overview - [Using the Customer Chat API](https://www.text.com/docs/api/customer-chat/v3.6/index.md): Build a custom customer chat interface that connects to Text and supports conversations inside your website or product. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.6/data-structures.md): Reference of data structures available in the Customer Chat API v3.6. ##### Chats - [List chats](https://www.text.com/docs/api/customer-chat/v3.6/chats/list-chats.md): Returns summaries of the chats a customer participated in. - [List threads](https://www.text.com/docs/api/customer-chat/v3.6/chats/list-threads.md): Returns threads that the current customer has access to in a given chat. - [Get chat](https://www.text.com/docs/api/customer-chat/v3.6/chats/get-chat.md): Returns a thread that the current customer has access to in a given chat. - [Start chat](https://www.text.com/docs/api/customer-chat/v3.6/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/customer-chat/v3.6/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/customer-chat/v3.6/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. ##### Configuration - [Get dynamic configuration](https://www.text.com/docs/api/customer-chat/v3.6/configuration/get-dynamic-configuration.md): Returns the dynamic configuration of a given group. - [Get configuration](https://www.text.com/docs/api/customer-chat/v3.6/configuration/get-configuration.md): Returns the configuration of a given group in a given version. ##### Events - [Send event](https://www.text.com/docs/api/customer-chat/v3.6/events/send-event.md): Sends an [event object](/docs/api/customer-chat/v3.6/data-structures#events). - [Delete event](https://www.text.com/docs/api/customer-chat/v3.6/events/delete-event.md): Deletes an [event object](/docs/api/customer-chat/v3.6/data-structures#events). - [Upload file](https://www.text.com/docs/api/customer-chat/v3.6/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/customer-chat/v3.6/events/send-rich-message-postback.md): Sends a rich message postback. - [Send sneak peek](https://www.text.com/docs/api/customer-chat/v3.6/events/send-sneak-peek.md): Sends a sneak peek to a chat. ##### Localization - [Get localization](https://www.text.com/docs/api/customer-chat/v3.6/localization/get-localization.md): Returns the localization of a given language and group in a given version. ##### Properties - [Update chat properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/update-chat-properties.md) - [Delete chat properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/delete-chat-properties.md) - [Update thread properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/update-thread-properties.md) - [Delete thread properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/delete-thread-properties.md) - [Update event properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/update-event-properties.md) - [Delete event properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/delete-event-properties.md) - [List license properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/list-license-properties.md): Returns the properties of a given license. - [List group properties](https://www.text.com/docs/api/customer-chat/v3.6/properties/list-group-properties.md): Returns the properties of a given group. ##### Customers - [Update customer](https://www.text.com/docs/api/customer-chat/v3.6/customers/update-customer.md): Updates customer's properties. - [Set customer session fields](https://www.text.com/docs/api/customer-chat/v3.6/customers/set-customer-session-fields.md): Updates customer session fields. - [Get customer](https://www.text.com/docs/api/customer-chat/v3.6/customers/get-customer.md): Returns the info about the customer requesting it. ##### Status - [List group statuses](https://www.text.com/docs/api/customer-chat/v3.6/status/list-group-statuses.md): Lists group statuses. ##### Other - [Check goals](https://www.text.com/docs/api/customer-chat/v3.6/other/check-goals.md): Triggers checking if goals were achieved. - [Get form](https://www.text.com/docs/api/customer-chat/v3.6/other/get-form.md): Returns an empty ticket form of a prechat or postchat survey. - [Get predicted agent](https://www.text.com/docs/api/customer-chat/v3.6/other/get-predicted-agent.md): Gets the predicted agent — the one the customer will chat with when the chat starts. - [Get URL info](https://www.text.com/docs/api/customer-chat/v3.6/other/get-url-info.md): Returns the info on a given URL. - [Mark events as seen](https://www.text.com/docs/api/customer-chat/v3.6/other/mark-events-as-seen.md): Marks events as seen up to a specified time. - [Accept greeting](https://www.text.com/docs/api/customer-chat/v3.6/other/accept-greeting.md): Marks an incoming greeting as seen. - [Cancel greeting](https://www.text.com/docs/api/customer-chat/v3.6/other/cancel-greeting.md): Cancels a greeting (an invitation to the chat). - [Request welcome message](https://www.text.com/docs/api/customer-chat/v3.6/other/request-welcome-message.md): Requests a welcome message from the system. - [Send greeting button clicked](https://www.text.com/docs/api/customer-chat/v3.6/other/send-greeting-button-clicked.md): Records that a customer clicked a greeting button. - [Request email verification](https://www.text.com/docs/api/customer-chat/v3.6/other/request-email-verification.md): Requests the verification of the customer's email address by sending them a verification email with the identity confirmation link. #### v3.5 ##### Overview - [Using the Customer Chat API](https://www.text.com/docs/api/customer-chat/v3.5/index.md): Build a custom customer chat interface that connects to Text and supports conversations inside your website or product. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.5/data-structures.md): Reference of data structures available in the Customer Chat API v3.5. ##### Chats - [List chats](https://www.text.com/docs/api/customer-chat/v3.5/chats/list-chats.md): Returns summaries of the chats a customer participated in. - [List threads](https://www.text.com/docs/api/customer-chat/v3.5/chats/list-threads.md): Returns threads that the current customer has access to in a given chat. - [Get chat](https://www.text.com/docs/api/customer-chat/v3.5/chats/get-chat.md): Returns a thread that the current customer has access to in a given chat. - [Start chat](https://www.text.com/docs/api/customer-chat/v3.5/chats/start-chat.md): Starts a chat. - [Resume chat](https://www.text.com/docs/api/customer-chat/v3.5/chats/resume-chat.md): Restarts an archived chat. - [Deactivate chat](https://www.text.com/docs/api/customer-chat/v3.5/chats/deactivate-chat.md): Deactivates a chat by closing the currently open thread. ##### Configuration - [Get dynamic configuration](https://www.text.com/docs/api/customer-chat/v3.5/configuration/get-dynamic-configuration.md): Returns the dynamic configuration of a given group. - [Get configuration](https://www.text.com/docs/api/customer-chat/v3.5/configuration/get-configuration.md): Returns the configuration of a given group in a given version. ##### Events - [Send event](https://www.text.com/docs/api/customer-chat/v3.5/events/send-event.md): Sends an [event object](/docs/api/customer-chat/v3.5/data-structures#events). - [Upload file](https://www.text.com/docs/api/customer-chat/v3.5/events/upload-file.md): Uploads a file to the server as a temporary file. - [Send rich message postback](https://www.text.com/docs/api/customer-chat/v3.5/events/send-rich-message-postback.md): Sends a rich message postback. - [Send sneak peek](https://www.text.com/docs/api/customer-chat/v3.5/events/send-sneak-peek.md): Sends a sneak peek to a chat. ##### Localization - [Get localization](https://www.text.com/docs/api/customer-chat/v3.5/localization/get-localization.md): Returns the localization of a given language and group in a given version. ##### Properties - [Update chat properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/update-chat-properties.md) - [Delete chat properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/delete-chat-properties.md) - [Update thread properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/update-thread-properties.md) - [Delete thread properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/delete-thread-properties.md) - [Update event properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/update-event-properties.md) - [Delete event properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/delete-event-properties.md) - [List license properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/list-license-properties.md): Returns the properties of a given license. - [List group properties](https://www.text.com/docs/api/customer-chat/v3.5/properties/list-group-properties.md): Returns the properties of a given group. ##### Customers - [Update customer](https://www.text.com/docs/api/customer-chat/v3.5/customers/update-customer.md): Updates customer's properties. - [Set customer session fields](https://www.text.com/docs/api/customer-chat/v3.5/customers/set-customer-session-fields.md): Updates customer session fields. - [Get customer](https://www.text.com/docs/api/customer-chat/v3.5/customers/get-customer.md): Returns the info about the customer requesting it. ##### Status - [List group statuses](https://www.text.com/docs/api/customer-chat/v3.5/status/list-group-statuses.md): Lists group statuses. ##### Other - [Check goals](https://www.text.com/docs/api/customer-chat/v3.5/other/check-goals.md): Triggers checking if goals were achieved. - [Get form](https://www.text.com/docs/api/customer-chat/v3.5/other/get-form.md): Returns an empty ticket form of a prechat or postchat survey. - [Get predicted agent](https://www.text.com/docs/api/customer-chat/v3.5/other/get-predicted-agent.md): Gets the predicted agent — the one the customer will chat with when the chat starts. - [Get URL info](https://www.text.com/docs/api/customer-chat/v3.5/other/get-url-info.md): Returns the info on a given URL. - [Mark events as seen](https://www.text.com/docs/api/customer-chat/v3.5/other/mark-events-as-seen.md): Marks events as seen up to a specified time. - [Accept greeting](https://www.text.com/docs/api/customer-chat/v3.5/other/accept-greeting.md): Marks an incoming greeting as seen. - [Cancel greeting](https://www.text.com/docs/api/customer-chat/v3.5/other/cancel-greeting.md): Cancels a greeting (an invitation to the chat). - [Request email verification](https://www.text.com/docs/api/customer-chat/v3.5/other/request-email-verification.md): Requests the verification of the customer's email address by sending them a verification email with the identity confirmation link. ### Customer Chat API #### v3.7 ##### Overview - [Using the Customer Chat RTM API](https://www.text.com/docs/api/customer-chat/v3.7/rtm/index.md): Keep a customer-facing chat interface connected to Text over WebSocket and receive conversation updates as they happen. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.7/rtm/data-structures.md): Reference of data structures available in the Customer Chat API v3.7. - [Pushes](https://www.text.com/docs/api/customer-chat/v3.7/rtm/pushes.md): Reference of push messages for the Customer Chat RTM API v3.7. ##### Methods - [Chats](https://www.text.com/docs/api/customer-chat/v3.7/rtm/chats.md): Reference of Chats methods for the Customer Chat RTM API v3.7. - [Events](https://www.text.com/docs/api/customer-chat/v3.7/rtm/events.md): Reference of Events methods for the Customer Chat RTM API v3.7. - [Properties](https://www.text.com/docs/api/customer-chat/v3.7/rtm/properties.md): Reference of Properties methods for the Customer Chat RTM API v3.7. - [Customers](https://www.text.com/docs/api/customer-chat/v3.7/rtm/customers.md): Reference of Customers methods for the Customer Chat RTM API v3.7. - [Status](https://www.text.com/docs/api/customer-chat/v3.7/rtm/status.md): Reference of Status methods for the Customer Chat RTM API v3.7. - [Other](https://www.text.com/docs/api/customer-chat/v3.7/rtm/other.md): Reference of other methods for the Customer Chat RTM API v3.7. #### v3.6 ##### Overview - [Using the Customer Chat RTM API](https://www.text.com/docs/api/customer-chat/v3.6/rtm/index.md): Keep a customer-facing chat interface connected to Text over WebSocket and receive conversation updates as they happen. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.6/rtm/data-structures.md): Reference of data structures available in the Customer Chat API v3.6. - [Pushes](https://www.text.com/docs/api/customer-chat/v3.6/rtm/pushes.md): Reference of push messages for the Customer Chat RTM API v3.6. ##### Methods - [Chats](https://www.text.com/docs/api/customer-chat/v3.6/rtm/chats.md): Reference of Chats methods for the Customer Chat RTM API v3.6. - [Events](https://www.text.com/docs/api/customer-chat/v3.6/rtm/events.md): Reference of Events methods for the Customer Chat RTM API v3.6. - [Properties](https://www.text.com/docs/api/customer-chat/v3.6/rtm/properties.md): Reference of Properties methods for the Customer Chat RTM API v3.6. - [Customers](https://www.text.com/docs/api/customer-chat/v3.6/rtm/customers.md): Reference of Customers methods for the Customer Chat RTM API v3.6. - [Status](https://www.text.com/docs/api/customer-chat/v3.6/rtm/status.md): Reference of Status methods for the Customer Chat RTM API v3.6. - [Other](https://www.text.com/docs/api/customer-chat/v3.6/rtm/other.md): Reference of other methods for the Customer Chat RTM API v3.6. #### v3.5 ##### Overview - [Using the Customer Chat RTM API](https://www.text.com/docs/api/customer-chat/v3.5/rtm/index.md): Keep a customer-facing chat interface connected to Text over WebSocket and receive conversation updates as they happen. - [Data structures](https://www.text.com/docs/api/customer-chat/v3.5/rtm/data-structures.md): Reference of data structures available in the Customer Chat API v3.5. - [Pushes](https://www.text.com/docs/api/customer-chat/v3.5/rtm/pushes.md): Reference of push messages for the Customer Chat RTM API v3.5. ##### Methods - [Chats](https://www.text.com/docs/api/customer-chat/v3.5/rtm/chats.md): Reference of Chats methods for the Customer Chat RTM API v3.5. - [Events](https://www.text.com/docs/api/customer-chat/v3.5/rtm/events.md): Reference of Events methods for the Customer Chat RTM API v3.5. - [Properties](https://www.text.com/docs/api/customer-chat/v3.5/rtm/properties.md): Reference of Properties methods for the Customer Chat RTM API v3.5. - [Customers](https://www.text.com/docs/api/customer-chat/v3.5/rtm/customers.md): Reference of Customers methods for the Customer Chat RTM API v3.5. - [Status](https://www.text.com/docs/api/customer-chat/v3.5/rtm/status.md): Reference of Status methods for the Customer Chat RTM API v3.5. - [Other](https://www.text.com/docs/api/customer-chat/v3.5/rtm/other.md): Reference of other methods for the Customer Chat RTM API v3.5. ### Ticketing API #### Overview - [Using the Ticketing API](https://www.text.com/docs/api/ticketing/index.md): Integrate Text ticketing with your systems to synchronize ticket data and automate support workflows across your organization. #### Agents - [List agents](https://www.text.com/docs/api/ticketing/agents/list-agents.md) - [Create agent](https://www.text.com/docs/api/ticketing/agents/create-agent.md) - [Batch update agents](https://www.text.com/docs/api/ticketing/agents/batch-update-agents.md) - [Get agent](https://www.text.com/docs/api/ticketing/agents/get-agent.md) - [Delete agent](https://www.text.com/docs/api/ticketing/agents/delete-agent.md) - [Update agent](https://www.text.com/docs/api/ticketing/agents/update-agent.md) #### Canned responses - [List canned responses](https://www.text.com/docs/api/ticketing/canned-responses/list-canned-responses.md) - [Create canned response](https://www.text.com/docs/api/ticketing/canned-responses/create-canned-response.md) - [Get canned response](https://www.text.com/docs/api/ticketing/canned-responses/get-canned-response.md) - [Delete canned response](https://www.text.com/docs/api/ticketing/canned-responses/delete-canned-response.md) - [Update canned response](https://www.text.com/docs/api/ticketing/canned-responses/update-canned-response.md) #### Custom fields - [List custom fields](https://www.text.com/docs/api/ticketing/custom-fields/list-custom-fields.md) - [Create custom field](https://www.text.com/docs/api/ticketing/custom-fields/create-custom-field.md) - [Get custom field](https://www.text.com/docs/api/ticketing/custom-fields/get-custom-field.md) - [Delete custom field](https://www.text.com/docs/api/ticketing/custom-fields/delete-custom-field.md) - [Update custom field](https://www.text.com/docs/api/ticketing/custom-fields/update-custom-field.md) #### Email domains - [Email domains list](https://www.text.com/docs/api/ticketing/email-domains/email-domains-list.md) - [Create email domain](https://www.text.com/docs/api/ticketing/email-domains/create-email-domain.md) - [Get email domain](https://www.text.com/docs/api/ticketing/email-domains/get-email-domain.md) - [Delete email domain](https://www.text.com/docs/api/ticketing/email-domains/delete-email-domain.md) - [Verify email domain](https://www.text.com/docs/api/ticketing/email-domains/verify-email-domain.md) - [Check domain availability](https://www.text.com/docs/api/ticketing/email-domains/check-domain-availability.md) #### Mailboxes (inboxes) - [List mailboxes](https://www.text.com/docs/api/ticketing/mailboxes-inboxes/list-mailboxes.md) - [Create mailbox](https://www.text.com/docs/api/ticketing/mailboxes-inboxes/create-mailbox.md) - [Get mailbox](https://www.text.com/docs/api/ticketing/mailboxes-inboxes/get-mailbox.md) - [Delete mailbox](https://www.text.com/docs/api/ticketing/mailboxes-inboxes/delete-mailbox.md) - [Update mailbox](https://www.text.com/docs/api/ticketing/mailboxes-inboxes/update-mailbox.md) #### Licenses - [List licenses](https://www.text.com/docs/api/ticketing/licenses/list-licenses.md): Returns list of licenses. - [Create license](https://www.text.com/docs/api/ticketing/licenses/create-license.md): Creates new license object. - [Get license](https://www.text.com/docs/api/ticketing/licenses/get-license.md): Returns license data by `licenseID`. - [Update license](https://www.text.com/docs/api/ticketing/licenses/update-license.md): Updates license settings. - [Send forwarding instructions](https://www.text.com/docs/api/ticketing/licenses/send-forwarding-instructions.md): Sends email with instructions on setting up email forwarding. #### Reply addresses - [List reply addresses](https://www.text.com/docs/api/ticketing/reply-addresses/list-reply-addresses.md) - [Create reply address](https://www.text.com/docs/api/ticketing/reply-addresses/create-reply-address.md) - [Get reply address](https://www.text.com/docs/api/ticketing/reply-addresses/get-reply-address.md) - [Delete reply address](https://www.text.com/docs/api/ticketing/reply-addresses/delete-reply-address.md) #### Reports - [Create custom report](https://www.text.com/docs/api/ticketing/reports/create-custom-report.md) - [New tickets](https://www.text.com/docs/api/ticketing/reports/new-tickets.md) - [Ticket sources](https://www.text.com/docs/api/ticketing/reports/ticket-sources.md) - [Ticket rating](https://www.text.com/docs/api/ticketing/reports/ticket-rating.md) - [Agent rating](https://www.text.com/docs/api/ticketing/reports/agent-rating.md) - [Rating per agent](https://www.text.com/docs/api/ticketing/reports/rating-per-agent.md) - [Rating per team](https://www.text.com/docs/api/ticketing/reports/rating-per-team.md) - [Ticket status](https://www.text.com/docs/api/ticketing/reports/ticket-status.md) - [Tickets status per agent](https://www.text.com/docs/api/ticketing/reports/tickets-status-per-agent.md) - [Tickets status per team](https://www.text.com/docs/api/ticketing/reports/tickets-status-per-team.md) - [Response time](https://www.text.com/docs/api/ticketing/reports/response-time.md) - [Response time per agent](https://www.text.com/docs/api/ticketing/reports/response-time-per-agent.md) - [Response time per team](https://www.text.com/docs/api/ticketing/reports/response-time-per-team.md) - [Resolution time](https://www.text.com/docs/api/ticketing/reports/resolution-time.md) - [Resolution time per agent](https://www.text.com/docs/api/ticketing/reports/resolution-time-per-agent.md) - [Resolution time per team](https://www.text.com/docs/api/ticketing/reports/resolution-time-per-team.md) - [New tickets (24h distribution)](https://www.text.com/docs/api/ticketing/reports/new-tickets-24h-distribution.md) - [Ticket sources (24h distribution)](https://www.text.com/docs/api/ticketing/reports/ticket-sources-24h-distribution.md) - [Ticket rating (24h distribution)](https://www.text.com/docs/api/ticketing/reports/ticket-rating-24h-distribution.md) - [Ticket status (24h distribution)](https://www.text.com/docs/api/ticketing/reports/ticket-status-24h-distribution.md) - [Response time (24h distribution)](https://www.text.com/docs/api/ticketing/reports/response-time-24h-distribution.md) - [Resolution time (24h distribution)](https://www.text.com/docs/api/ticketing/reports/resolution-time-24h-distribution.md) - [Failed outgoing emails](https://www.text.com/docs/api/ticketing/reports/failed-outgoing-emails.md) - [Tickets status duration](https://www.text.com/docs/api/ticketing/reports/tickets-status-duration.md) - [Tickets status duration total](https://www.text.com/docs/api/ticketing/reports/tickets-status-duration-total.md) - [Tickets status duration per agent](https://www.text.com/docs/api/ticketing/reports/tickets-status-duration-per-agent.md) - [Tickets status duration per team](https://www.text.com/docs/api/ticketing/reports/tickets-status-duration-per-team.md) #### Rules - [List rules](https://www.text.com/docs/api/ticketing/rules/list-rules.md) - [Create rule](https://www.text.com/docs/api/ticketing/rules/create-rule.md) - [Get rule](https://www.text.com/docs/api/ticketing/rules/get-rule.md) - [Delete rule](https://www.text.com/docs/api/ticketing/rules/delete-rule.md) - [Update rule](https://www.text.com/docs/api/ticketing/rules/update-rule.md) #### Macros - [Macros list](https://www.text.com/docs/api/ticketing/macros/macros-list.md) - [Create macro](https://www.text.com/docs/api/ticketing/macros/create-macro.md) - [Get macro](https://www.text.com/docs/api/ticketing/macros/get-macro.md) - [Delete macro](https://www.text.com/docs/api/ticketing/macros/delete-macro.md) - [Update macro](https://www.text.com/docs/api/ticketing/macros/update-macro.md) #### Spam management - [List trusted emails](https://www.text.com/docs/api/ticketing/spam-management/list-trusted-emails.md) - [Trust an email](https://www.text.com/docs/api/ticketing/spam-management/trust-an-email.md) - [Get trusted email](https://www.text.com/docs/api/ticketing/spam-management/get-trusted-email.md) - [Remove trusted email](https://www.text.com/docs/api/ticketing/spam-management/remove-trusted-email.md) - [List blocked emails](https://www.text.com/docs/api/ticketing/spam-management/list-blocked-emails.md) - [Block an email](https://www.text.com/docs/api/ticketing/spam-management/block-an-email.md) - [Get blocked email](https://www.text.com/docs/api/ticketing/spam-management/get-blocked-email.md) - [Remove blocked email](https://www.text.com/docs/api/ticketing/spam-management/remove-blocked-email.md) #### Tags - [List tags](https://www.text.com/docs/api/ticketing/tags/list-tags.md) - [Create tag](https://www.text.com/docs/api/ticketing/tags/create-tag.md) - [Get tag](https://www.text.com/docs/api/ticketing/tags/get-tag.md) - [Delete tag](https://www.text.com/docs/api/ticketing/tags/delete-tag.md) - [Update tag](https://www.text.com/docs/api/ticketing/tags/update-tag.md) #### Teams - [List teams](https://www.text.com/docs/api/ticketing/teams/list-teams.md) - [Create team](https://www.text.com/docs/api/ticketing/teams/create-team.md) - [Update teams](https://www.text.com/docs/api/ticketing/teams/update-teams.md) - [Get team](https://www.text.com/docs/api/ticketing/teams/get-team.md) - [Delete team](https://www.text.com/docs/api/ticketing/teams/delete-team.md) - [Update team](https://www.text.com/docs/api/ticketing/teams/update-team.md) #### Templates - [List templates](https://www.text.com/docs/api/ticketing/templates/list-templates.md) - [Create template](https://www.text.com/docs/api/ticketing/templates/create-template.md) - [Get template](https://www.text.com/docs/api/ticketing/templates/get-template.md) - [Delete template](https://www.text.com/docs/api/ticketing/templates/delete-template.md) - [Update template](https://www.text.com/docs/api/ticketing/templates/update-template.md) - [Send test message](https://www.text.com/docs/api/ticketing/templates/send-test-message.md) - [Generate template preview](https://www.text.com/docs/api/ticketing/templates/generate-template-preview.md) #### Audit log - [Returns audit log events](https://www.text.com/docs/api/ticketing/audit-log/returns-audit-log-events.md) #### Tickets - [List tickets](https://www.text.com/docs/api/ticketing/tickets/list-tickets.md) - [Create ticket](https://www.text.com/docs/api/ticketing/tickets/create-ticket.md) - [Get ticket](https://www.text.com/docs/api/ticketing/tickets/get-ticket.md) - [Delete ticket](https://www.text.com/docs/api/ticketing/tickets/delete-ticket.md) - [Update ticket](https://www.text.com/docs/api/ticketing/tickets/update-ticket.md) - [Add tag](https://www.text.com/docs/api/ticketing/tickets/add-tag.md) - [Remove tag](https://www.text.com/docs/api/ticketing/tickets/remove-tag.md) - [Add followers](https://www.text.com/docs/api/ticketing/tickets/add-followers.md) - [Remove follower](https://www.text.com/docs/api/ticketing/tickets/remove-follower.md) - [Merge ticket](https://www.text.com/docs/api/ticketing/tickets/merge-ticket.md) - [Unmerge ticket](https://www.text.com/docs/api/ticketing/tickets/unmerge-ticket.md) - [Send rating request](https://www.text.com/docs/api/ticketing/tickets/send-rating-request.md) - [Get original message content](https://www.text.com/docs/api/ticketing/tickets/get-original-message-content.md) - [Move ticket to silo](https://www.text.com/docs/api/ticketing/tickets/move-ticket-to-silo.md) - [Delete tickets attachment](https://www.text.com/docs/api/ticketing/tickets/delete-tickets-attachment.md) #### Transactions - [Create transaction](https://www.text.com/docs/api/ticketing/transactions/create-transaction.md) - [Get transaction](https://www.text.com/docs/api/ticketing/transactions/get-transaction.md) - [Upload attachment](https://www.text.com/docs/api/ticketing/transactions/upload-attachment.md) - [Delete attachment](https://www.text.com/docs/api/ticketing/transactions/delete-attachment.md) #### Views - [Views list](https://www.text.com/docs/api/ticketing/views/views-list.md) - [Create view](https://www.text.com/docs/api/ticketing/views/create-view.md) - [Get view](https://www.text.com/docs/api/ticketing/views/get-view.md) - [Delete view](https://www.text.com/docs/api/ticketing/views/delete-view.md) - [Update view](https://www.text.com/docs/api/ticketing/views/update-view.md) #### Webhooks - [Webhooks list](https://www.text.com/docs/api/ticketing/webhooks/webhooks-list.md) - [Create webhook](https://www.text.com/docs/api/ticketing/webhooks/create-webhook.md) - [Get webhook](https://www.text.com/docs/api/ticketing/webhooks/get-webhook.md) - [Delete webhook](https://www.text.com/docs/api/ticketing/webhooks/delete-webhook.md) - [Update webhook](https://www.text.com/docs/api/ticketing/webhooks/update-webhook.md) #### Imported tickets - [Create imported ticket](https://www.text.com/docs/api/ticketing/imported-tickets/create-imported-ticket.md): Creates an imported ticket. - [Create imported ticket transaction](https://www.text.com/docs/api/ticketing/imported-tickets/create-imported-ticket-transaction.md): Creates new import transaction. - [Upload attachments for imported ticket](https://www.text.com/docs/api/ticketing/imported-tickets/upload-attachments-for-imported-ticket.md): Uploads attachments for imported ticket. ### Customer Data Platform API #### Overview - [Using the Customer Data Platform API](https://www.text.com/docs/api/customer-data-platform/index.md): Store persistent customer profile data in Text, keep customer records up to date, and make that context available across conversations. #### Customers - [Get customer](https://www.text.com/docs/api/customer-data-platform/customers/get-customer.md): Returns the customer data. - [Get merged customer](https://www.text.com/docs/api/customer-data-platform/customers/get-merged-customer.md): Returns the merged customer data. - [Get merged customer chat IDs](https://www.text.com/docs/api/customer-data-platform/customers/get-merged-customer-chat-ids.md): Returns the merged customer chat IDs. - [Get merged customer ticket IDs](https://www.text.com/docs/api/customer-data-platform/customers/get-merged-customer-ticket-ids.md): Returns the merged customer ticket IDs. - [List customers](https://www.text.com/docs/api/customer-data-platform/customers/list-customers.md): Searches and lists customers with filtering, sorting, and pagination. - [Get customers count](https://www.text.com/docs/api/customer-data-platform/customers/get-customers-count.md): Returns a count of customers matching the specified search criteria. - [Has sales events](https://www.text.com/docs/api/customer-data-platform/customers/has-sales-events.md): Returns whether the organization has recorded any sales activity. - [Update customer](https://www.text.com/docs/api/customer-data-platform/customers/update-customer.md): Updates the relationship level for the specified customer. - [Create customers](https://www.text.com/docs/api/customer-data-platform/customers/create-customers.md): Creates up to 100 customers in one request. Each item creates a customer without matching it to another customer record. #### Customer properties - [Create customer property definition](https://www.text.com/docs/api/customer-data-platform/customer-properties/create-customer-property-definition.md): Creates a customer property definition for the organization. - [Update customer property definition](https://www.text.com/docs/api/customer-data-platform/customer-properties/update-customer-property-definition.md): Updates the editable fields of a customer property definition. - [Delete customer property definition](https://www.text.com/docs/api/customer-data-platform/customer-properties/delete-customer-property-definition.md): Deletes a customer property definition. - [List customer property definitions](https://www.text.com/docs/api/customer-data-platform/customer-properties/list-customer-property-definitions.md): Returns all customer property definitions for the organization. - [Set customer properties values](https://www.text.com/docs/api/customer-data-platform/customer-properties/set-customer-properties-values.md): Sets one or more customer properties' values for the specified customer. #### Segments - [Get segment definitions](https://www.text.com/docs/api/customer-data-platform/segments/get-segment-definitions.md): Returns every active segment definition for the organization. - [Create segment definition](https://www.text.com/docs/api/customer-data-platform/segments/create-segment-definition.md): Creates a custom segment definition, creates the qualified lead definition, or restores a deleted lead or qualified lead definition. - [Update segment definition](https://www.text.com/docs/api/customer-data-platform/segments/update-segment-definition.md): Replaces the complete tree of a segment definition. - [Delete segment definition](https://www.text.com/docs/api/customer-data-platform/segments/delete-segment-definition.md): Soft-deletes a custom, lead, or qualified lead segment definition. ### Product Directory API #### Overview - [Using the Product Directory API](https://www.text.com/docs/api/product-directory/index.md): Upload and maintain your product catalog in Text so AI Agents can access product information during customer conversations. #### Catalog - [Upload a product catalog](https://www.text.com/docs/api/product-directory/catalog/upload-a-product-catalog.md): Uploads a JSON file containing a product catalog. - [Check import status](https://www.text.com/docs/api/product-directory/catalog/check-import-status.md): Returns the processing status of a catalog import. - [List catalogs](https://www.text.com/docs/api/product-directory/catalog/list-catalogs.md): Returns the product catalogs in the organization. - [Get catalog details](https://www.text.com/docs/api/product-directory/catalog/get-catalog-details.md): Returns the status of a catalog's first import and its current product count. #### Products - [Delete a product](https://www.text.com/docs/api/product-directory/products/delete-a-product.md): Removes a single product from the catalog. ### Global Accounts API #### Overview - [Using the Global Accounts API](https://www.text.com/docs/api/global-accounts/index.md): Manage accounts and organizations while controlling identity, access, and authentication throughout the entire Text ecosystem. #### Accounts - [List accounts](https://www.text.com/docs/api/global-accounts/accounts/list-accounts.md): Accounts are listed by using `organization_id` obtained from the access token. - [Create a new account](https://www.text.com/docs/api/global-accounts/accounts/create-a-new-account.md): Create an account for a given `organization_id`. - [Get an account](https://www.text.com/docs/api/global-accounts/accounts/get-an-account.md): Get an account for a given `account_id`. - [Delete an account](https://www.text.com/docs/api/global-accounts/accounts/delete-an-account.md): Deletes an account for a given `account_id`. - [Update an account](https://www.text.com/docs/api/global-accounts/accounts/update-an-account.md): Update an account for a given `account_id`. - [Set account roles](https://www.text.com/docs/api/global-accounts/accounts/set-account-roles.md): Set or delete roles for a given `account_id`. - [Set a password](https://www.text.com/docs/api/global-accounts/accounts/set-a-password.md): Sets a new password. - [Get an account invitations](https://www.text.com/docs/api/global-accounts/accounts/get-an-account-invitations.md): Returns all invitations issued within an organization. - [Create an account invitation](https://www.text.com/docs/api/global-accounts/accounts/create-an-account-invitation.md): Create an account invitation for the given `email`, `organization_id`, and `product`. - [Approve an account invitation](https://www.text.com/docs/api/global-accounts/accounts/approve-an-account-invitation.md): Approve an account invitation. - [Decline an account invitation](https://www.text.com/docs/api/global-accounts/accounts/decline-an-account-invitation.md): Decline and delete an account invitation. #### Roles - [List roles](https://www.text.com/docs/api/global-accounts/roles/list-roles.md): List the roles available for an organization. - [Get a role](https://www.text.com/docs/api/global-accounts/roles/get-a-role.md): Get a single role for a given `role_id`. - [Delete a role](https://www.text.com/docs/api/global-accounts/roles/delete-a-role.md): Delete a single role for a given `role_id`. #### Sessions - [List sessions](https://www.text.com/docs/api/global-accounts/sessions/list-sessions.md): Returns all sessions for a given account ID. - [Remove all sessions](https://www.text.com/docs/api/global-accounts/sessions/remove-all-sessions.md): Removes all sessions for a given account ID. - [Remove a session](https://www.text.com/docs/api/global-accounts/sessions/remove-a-session.md): Removes a specific session for a given account ID. #### Organizations - [List organizations](https://www.text.com/docs/api/global-accounts/organizations/list-organizations.md): Lists all organizations that an account belongs to, based on authorization. - [Create an organization](https://www.text.com/docs/api/global-accounts/organizations/create-an-organization.md): Creates an organization and an account. - [Get an organization](https://www.text.com/docs/api/global-accounts/organizations/get-an-organization.md): Returns a single organization based on the provided organization ID. - [Update an organization](https://www.text.com/docs/api/global-accounts/organizations/update-an-organization.md): Updates an organization. #### Tokens - [Introspect](https://www.text.com/docs/api/global-accounts/tokens/introspect.md): Returns detailed information about the provided OAuth access token. - [Token](https://www.text.com/docs/api/global-accounts/tokens/token.md): Exchanges an authorization code for an access token. - [Revoke](https://www.text.com/docs/api/global-accounts/tokens/revoke.md): Access tokens that come in pairs with a refresh token are revoked in pairs. #### Account organization settings - [Get account settings for an organization](https://www.text.com/docs/api/global-accounts/account-organization-settings/get-account-settings-for-an-organization.md): Returns a list of account organization settings. - [Update account settings for an organization](https://www.text.com/docs/api/global-accounts/account-organization-settings/update-account-settings-for-an-organization.md): Updates account organization settings. #### Organization domains - [List organization domains](https://www.text.com/docs/api/global-accounts/organization-domains/list-organization-domains.md): Lists all organization domains. - [Create organization domain](https://www.text.com/docs/api/global-accounts/organization-domains/create-organization-domain.md): Adds a new domain to the organization's email address domain whitelist. - [Delete organization domain](https://www.text.com/docs/api/global-accounts/organization-domains/delete-organization-domain.md): Delete an organization domain by its ID. #### SAML - [Get configuration](https://www.text.com/docs/api/global-accounts/saml/get-configuration.md): Returns the SAML configuration for the organization. - [Create SAML configuration](https://www.text.com/docs/api/global-accounts/saml/create-saml-configuration.md): Creates SAML configuration for the organization. - [Delete SAML configuration](https://www.text.com/docs/api/global-accounts/saml/delete-saml-configuration.md): Removes SAML configuration for the organization. - [Modify SAML configuration](https://www.text.com/docs/api/global-accounts/saml/modify-saml-configuration.md): Modifies SAML configuration for the organization. #### Organization login methods - [Get login methods](https://www.text.com/docs/api/global-accounts/organization-login-methods/get-login-methods.md): Returns the login methods for the organization. - [Enforce login method](https://www.text.com/docs/api/global-accounts/organization-login-methods/enforce-login-method.md): Enforces a login method for the organization. - [Disable login method](https://www.text.com/docs/api/global-accounts/organization-login-methods/disable-login-method.md): Disables a login method for the organization. ### Customer Accounts API #### Overview - [Using the Customer Accounts API](https://www.text.com/docs/api/customer-accounts/index.md): Authenticate and authorize customers in Text with the access tokens required for Customer Chat API requests. #### Tokens - [Get token details](https://www.text.com/docs/api/customer-accounts/tokens/get-token-details.md): Retrieves information about an access token. - [Create a token](https://www.text.com/docs/api/customer-accounts/tokens/create-a-token.md): Creates a new customer access token. - [Revoke token](https://www.text.com/docs/api/customer-accounts/tokens/revoke-token.md): Revoke a token provided via authorization. - [Create an identity transfer token](https://www.text.com/docs/api/customer-accounts/tokens/create-an-identity-transfer-token.md): Creates a new identity transfer token, which can be exchanged for a customer access token. - [Create a group token](https://www.text.com/docs/api/customer-accounts/tokens/create-a-group-token.md): Creates a new customer access token for a different group within the same organization. ### Chat Widget JavaScript API #### v5.0 ##### Overview - [Using the Chat Widget JavaScript API](https://www.text.com/docs/api/chat-widget-js-api/index.md): Customize how the Text Chat Widget behaves on your website and connect it with your page logic through JavaScript. ##### Reference - [JavaScript API methods](https://www.text.com/docs/api/chat-widget-js-api/methods.md): JavaScript API methods, getters, setters, and callbacks for the chat widget. - [HTML attributes](https://www.text.com/docs/api/chat-widget-js-api/html-attributes.md): Control the Text chat widget from any element on your page without writing JavaScript. ##### Examples and tools - [Examples](https://www.text.com/docs/api/chat-widget-js-api/examples.md): Example usage of the Chat Widget JavaScript API. - [Playground](https://www.text.com/docs/api/chat-widget-js-api/playground.md): Interactive playground for the Chat Widget JavaScript API. ### Chat Widget Adapters #### Overview - [Using Chat Widget Adapters](https://www.text.com/docs/api/chat-widget-adapters/index.md): Add the Text Chat Widget to React, Vue, or Angular applications with framework-native components and reactive access to widget state. #### Core concepts - [Adapter core](https://www.text.com/docs/api/chat-widget-adapters/adapters-core.md): The core implementation shared between each framework's specific adapter is distributed as a separate library. #### Framework adapters - [React Adapter](https://www.text.com/docs/api/chat-widget-adapters/react-adapter.md): Learn about the library that allows rendering and interaction with the chat widget inside a React application. - [Vue Adapter](https://www.text.com/docs/api/chat-widget-adapters/vue-adapter.md): Check the library that allows rendering and interaction with the chat widget inside a Vue application. - [Angular Adapter](https://www.text.com/docs/api/chat-widget-adapters/angular-adapter.md): Check the library which allows rendering and interacting with the chat widget inside an Angular application. ### Reports API #### v3.7 ##### Overview - [Using the Reports API](https://www.text.com/docs/api/reports/v3.7/index.md): Retrieve Text reporting data for custom analysis, external dashboards, and automated reporting workflows. ##### Chats - [Duration](https://www.text.com/docs/api/reports/v3.7/chats/duration.md): Returns the average chatting duration of agents within a license. - [Tags](https://www.text.com/docs/api/reports/v3.7/chats/tags.md): Returns the distribution of tags for chats. - [Total chats](https://www.text.com/docs/api/reports/v3.7/chats/total-chats.md): Returns how many chats occurred during the specified period. - [Ratings](https://www.text.com/docs/api/reports/v3.7/chats/ratings.md): Returns the number of rated chats along with their ratings during a specified period of time. - [Ranking](https://www.text.com/docs/api/reports/v3.7/chats/ranking.md): Returns the ratio of good to bad ratings for each operator. - [Engagement](https://www.text.com/docs/api/reports/v3.7/chats/engagement.md): Returns the distribution of chats based on engagement during the specified period. - [Greetings conversion](https://www.text.com/docs/api/reports/v3.7/chats/greetings-conversion.md): Returns the number of greetings sent to the customers and how many of those resulted in a chat or a goal. - [Forms](https://www.text.com/docs/api/reports/v3.7/chats/forms.md): Returns the number of submitted chat forms along with the count of specific answers. - [Response time](https://www.text.com/docs/api/reports/v3.7/chats/response-time.md): Returns the average agents' response time within a licence. - [First response time](https://www.text.com/docs/api/reports/v3.7/chats/first-response-time.md): Returns the average agents' first response time within a licence. - [Group chats count](https://www.text.com/docs/api/reports/v3.7/chats/group-chats-count.md): Returns the total number of chats handled by each group during the specified period. ##### Agents - [Availability](https://www.text.com/docs/api/reports/v3.7/agents/availability.md): Returns for how long an agent, group, or the whole account was available for chatting during a specified period of time. - [Performance](https://www.text.com/docs/api/reports/v3.7/agents/performance.md): Returns the total number of agent chats, the number of good and bad ratings they received, and how well they performed in the early stages of a chat. ##### Customers - [Unique visitors](https://www.text.com/docs/api/reports/v3.7/customers/unique-visitors.md): Returns the total number of page views and unique visitors during the specified period. - [Queued visitors](https://www.text.com/docs/api/reports/v3.7/customers/queued-visitors.md): Returns the number of customers who waited in the queue during the specified period. - [Queued visitors left](https://www.text.com/docs/api/reports/v3.7/customers/queued-visitors-left.md): Returns queue records for visitors who left the queue during the specified period. ##### Tags - [Chat usage](https://www.text.com/docs/api/reports/v3.7/tags/chat-usage.md): Returns the total number of chats marked with each tag listed in the report. ##### Stats - [Visitor domains](https://www.text.com/docs/api/reports/v3.7/stats/visitor-domains.md): Returns up to 100 domains from which visitors access your website, ranked by page view count. ##### Sales - [Abandoned carts](https://www.text.com/docs/api/reports/v3.7/sales/abandoned-carts.md): Returns the number of abandoned carts and their total value during the specified period. #### v3.6 ##### Overview - [Using the Reports API](https://www.text.com/docs/api/reports/v3.6/index.md): Retrieve Text reporting data for custom analysis, external dashboards, and automated reporting workflows. ##### Chats - [Duration](https://www.text.com/docs/api/reports/v3.6/chats/duration.md): Returns the average chatting duration of agents within a license. - [Tags](https://www.text.com/docs/api/reports/v3.6/chats/tags.md): Returns the distribution of tags for chats. - [Total chats](https://www.text.com/docs/api/reports/v3.6/chats/total-chats.md): Returns how many chats occurred during the specified period. - [Ratings](https://www.text.com/docs/api/reports/v3.6/chats/ratings.md): Returns the number of rated chats along with their ratings during a specified period of time. - [Ranking](https://www.text.com/docs/api/reports/v3.6/chats/ranking.md): Returns the ratio of good to bad ratings for each operator. - [Engagement](https://www.text.com/docs/api/reports/v3.6/chats/engagement.md): Returns the distribution of chats based on engagement during the specified period. - [Greetings conversion](https://www.text.com/docs/api/reports/v3.6/chats/greetings-conversion.md): Returns the number of greetings sent to the customers and how many of those resulted in a chat or a goal. - [Forms](https://www.text.com/docs/api/reports/v3.6/chats/forms.md): Returns the number of submitted chat forms along with the count of specific answers. - [Response time](https://www.text.com/docs/api/reports/v3.6/chats/response-time.md): Returns the average agents' response time within a licence. - [First response time](https://www.text.com/docs/api/reports/v3.6/chats/first-response-time.md): Returns the average agents' first response time within a licence. - [Group chats count](https://www.text.com/docs/api/reports/v3.6/chats/group-chats-count.md): Returns the total number of chats handled by each group during the specified period. ##### Agents - [Availability](https://www.text.com/docs/api/reports/v3.6/agents/availability.md): Returns for how long an agent, group, or the whole account was available for chatting during a specified period of time. - [Performance](https://www.text.com/docs/api/reports/v3.6/agents/performance.md): Returns the total number of agent chats, the number of good and bad ratings they received, and how well they performed in the early stages of a chat. ##### Customers - [Unique visitors](https://www.text.com/docs/api/reports/v3.6/customers/unique-visitors.md): Returns the total number of page views and unique visitors during the specified period. - [Queued visitors](https://www.text.com/docs/api/reports/v3.6/customers/queued-visitors.md): Returns the number of customers who waited in the queue during the specified period. - [Queued visitors left](https://www.text.com/docs/api/reports/v3.6/customers/queued-visitors-left.md): Returns queue records for visitors who left the queue during the specified period. ##### Tags - [Chat usage](https://www.text.com/docs/api/reports/v3.6/tags/chat-usage.md): Returns the total number of chats marked with each tag listed in the report. #### v3.5 ##### Overview - [Using the Reports API](https://www.text.com/docs/api/reports/v3.5/index.md): Retrieve Text reporting data for custom analysis, external dashboards, and automated reporting workflows. ##### Chats - [Duration](https://www.text.com/docs/api/reports/v3.5/chats/duration.md): Returns the average chatting duration of agents within a license. - [Tags](https://www.text.com/docs/api/reports/v3.5/chats/tags.md): Returns the distribution of tags for chats. - [Total chats](https://www.text.com/docs/api/reports/v3.5/chats/total-chats.md): Returns how many chats occurred during the specified period. - [Ratings](https://www.text.com/docs/api/reports/v3.5/chats/ratings.md): Returns the number of rated chats along with their ratings during a specified period of time. - [Ranking](https://www.text.com/docs/api/reports/v3.5/chats/ranking.md): Returns the ratio of good to bad ratings for each operator. - [Engagement](https://www.text.com/docs/api/reports/v3.5/chats/engagement.md): Returns the distribution of chats based on engagement during the specified period. - [Greetings conversion](https://www.text.com/docs/api/reports/v3.5/chats/greetings-conversion.md): Returns the number of greetings sent to the customers and how many of those resulted in a chat or a goal. - [Forms](https://www.text.com/docs/api/reports/v3.5/chats/forms.md): Returns the number of submitted chat forms along with the count of specific answers. - [Response time](https://www.text.com/docs/api/reports/v3.5/chats/response-time.md): Returns the average agents' response time within a licence. - [First response time](https://www.text.com/docs/api/reports/v3.5/chats/first-response-time.md): Returns the average agents' first response time within a licence. ##### Agents - [Availability](https://www.text.com/docs/api/reports/v3.5/agents/availability.md): Returns for how long an agent, group, or the whole account was available for chatting during a specified period of time. - [Performance](https://www.text.com/docs/api/reports/v3.5/agents/performance.md): Returns the total number of agent chats, the number of good and bad ratings they received, and how well they performed in the early stages of a chat. ##### Tags - [Chat usage](https://www.text.com/docs/api/reports/v3.5/tags/chat-usage.md): Returns the total number of chats marked with each tag listed in the report. ### Language Detection API #### Overview - [Using the Language Detection API](https://www.text.com/docs/api/language-detection/index.md): Detect the language used in messages and other text so your integration can route conversations, choose localized responses, or analyze multilingual content. #### Language detection - [Detect language](https://www.text.com/docs/api/language-detection/language-detection/detect-language.md): Detects languages used in text. The request size limit is 10MB. ### Webhooks #### v3.7 - [Webhooks](https://www.text.com/docs/api/webhooks/v3.7/index.md): Reference of available Text webhooks. Use webhooks to build automated flows in your integrations. #### v3.6 - [Webhooks](https://www.text.com/docs/api/webhooks/v3.6/index.md): Reference of available Text webhooks. Use webhooks to build automated flows in your integrations. #### v3.5 - [Webhooks](https://www.text.com/docs/api/webhooks/v3.5/index.md): Reference of available Text webhooks. Use webhooks to build automated flows in your integrations. ### Events and properties - [Properties overview](https://www.text.com/docs/api/events-and-properties/properties-overview.md): Use properties to attach custom data to chats, events, users, and more. - [Default properties](https://www.text.com/docs/api/events-and-properties/default-properties.md): Default properties are created for each new Text license. You can use them in applications to extract important info about chats, threads, and events. - [System activities](https://www.text.com/docs/api/events-and-properties/system-activities.md): Learn about system activities generated in the Text ecosystem. They are native system events displayed to users in various situations. ### Accounts SDK - [Accounts SDK](https://www.text.com/docs/sdk/accounts-sdk.md): The Accounts SDK is a JavaScript tool for implementing Sign in with Text authorization in your app. ### Customer SDK #### Overview - [Introduction](https://www.text.com/docs/sdk/customer-sdk/overview/introduction.md) - [How to start](https://www.text.com/docs/sdk/customer-sdk/overview/how-to-start.md) - [Key concepts](https://www.text.com/docs/sdk/customer-sdk/overview/key-concepts.md) #### Reference - [Methods](https://www.text.com/docs/sdk/customer-sdk/methods.md) - [Events](https://www.text.com/docs/sdk/customer-sdk/events.md) - [Disconnection reasons](https://www.text.com/docs/sdk/customer-sdk/disconnection-reasons.md) - [Errors](https://www.text.com/docs/sdk/customer-sdk/errors.md) - [Recipes](https://www.text.com/docs/sdk/customer-sdk/recipes.md) ##### v4.0 - [How to start](https://www.text.com/docs/sdk/customer-sdk/v4.0/overview/how-to-start.md) - [Methods](https://www.text.com/docs/sdk/customer-sdk/v4.0/methods.md) - [Events](https://www.text.com/docs/sdk/customer-sdk/v4.0/events.md) - [Disconnection reasons](https://www.text.com/docs/sdk/customer-sdk/v4.0/disconnection-reasons.md) - [Errors](https://www.text.com/docs/sdk/customer-sdk/v4.0/errors.md) - [Recipes](https://www.text.com/docs/sdk/customer-sdk/v4.0/recipes.md) ## OpenAPI Specs - [openapi](/docs/api/agent-chat/v3.7/openapi.json) - [openapi](/docs/api/agent-chat/v3.6/openapi.json) - [openapi](/docs/api/agent-chat/v3.5/openapi.json) - [openapi](/docs/api/customer-chat/v3.7/openapi.json) - [openapi](/docs/api/customer-chat/v3.6/openapi.json) - [openapi](/docs/api/customer-chat/v3.5/openapi.json) - [openapi](/docs/api/ticketing/openapi.json) - [openapi](/docs/api/configuration/v3.7/openapi.json) - [openapi](/docs/api/configuration/v3.6/openapi.json) - [openapi](/docs/api/configuration/v3.5/openapi.json) - [openapi](/docs/api/customer-data-platform/openapi.json) - [openapi](/docs/api/product-directory/openapi.json) - [openapi](/docs/api/global-accounts/openapi.json) - [openapi](/docs/api/customer-accounts/openapi.json) - [openapi](/docs/api/reports/v3.7/openapi.json) - [openapi](/docs/api/reports/v3.6/openapi.json) - [openapi](/docs/api/reports/v3.5/openapi.json) - [openapi](/docs/api/language-detection/openapi.json)