OpenAiChatMessages
Get one OpenAiChatMessage
Retrieve a single OpenAiChatMessage record by its Id.
GET
Get one OpenAiChatMessage
An OpenAiChatMessage records a message in an AI-powered chat conversation. Each message tracks the content, the associated customer or operator, and the action type.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the OpenAiChatMessage-Read role.Path Parameters
The Id of the OpenAiChatMessage record to retrieve.
Code Examples
Response
200
ID of the business linked to this record.
ID of the user linked to this record.
ID of the AI channel session linked to this message. Sessions group all messages in a conversation and link it to a specific user and AI channel (e.g. email, chat, WhatsApp).
External identifier of the AI channel session linked to this message. Email address for email sessions, phone number for WhatsApp, etc..
ID of the customer linked to the AI channel session.
The type of the customer linked to the AI channel session (e.g. Individual or Company).
Full name of the customer linked to the AI channel session.
Mobile phone number of the customer linked to the AI channel session.
Landline phone number of the customer linked to the AI channel session.
Billing name of the customer linked to the AI channel session.
Company name of the customer linked to the AI channel session (if the customer is a company).
Comma-separated list of team names that the customer linked to the AI channel session belongs to.
The action value for this open ai chat message. See
eOpenAiChatMessageType enum values: 1 = Operator.The content value for this open ai chat message.
The chat session value for this open ai chat message.
Display name of the linked responder (read-only).
The chat message role value for this open ai chat message.
The rating value for this open ai chat message.
The AI channel through which this message was sent (e.g. Email, Chat, WhatsApp).
Unique record identifier.
UUID of the record.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
Example Response
Get one OpenAiChatMessage