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
integer
required
The Id of the OpenAiChatMessage record to retrieve.
Code Examples
Response
200
integer
ID of the business linked to this record.
integer
ID of the user linked to this record.
integer
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).
string
External identifier of the AI channel session linked to this message. Email address for email sessions, phone number for WhatsApp, etc..
string
ID of the customer linked to the AI channel session.
string
The type of the customer linked to the AI channel session (e.g. Individual or Company).
string
Full name of the customer linked to the AI channel session.
string
Mobile phone number of the customer linked to the AI channel session.
string
Landline phone number of the customer linked to the AI channel session.
string
Billing name of the customer linked to the AI channel session.
string
Company name of the customer linked to the AI channel session (if the customer is a company).
string
Comma-separated list of team names that the customer linked to the AI channel session belongs to.
integer
The action value for this open ai chat message. See
eOpenAiChatMessageType enum values: 1 = Operator.string
The content value for this open ai chat message.
string
The chat session value for this open ai chat message.
string
Display name of the linked responder (read-only).
string
The chat message role value for this open ai chat message.
integer
The rating value for this open ai chat message.
string
The AI channel through which this message was sent (e.g. Email, Chat, WhatsApp).
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response
Get one OpenAiChatMessage