Get conversation message

conversationMessage(conversationId: ID!, messageId: ID!): Message!

Arguments

ArgumentTypeRequiredDescription
conversationIdID!Yes
messageIdID!YesMessage to read; it must belong to the conversation.

Response

Returns Message!. Open the type for its fields and nested types.

FieldTypeDescription
idID!
conversationIdID!
parentIdID
seqInt!
roleString!
createdByID
senderTypeString!Sender kind: user, webhook, service_account, integration, agent or system.
senderIdIDIdentifier of the sender: the participant or agent for an agent message, otherwise the author.

All fields of Message.

Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.

Example

query.graphql
query ConversationMessage($conversationId: ID!, $messageId: ID!) {  conversationMessage(conversationId: $conversationId, messageId: $messageId) {    id    status    createdAt    updatedAt    conversationId  }}
variables.json
{  "conversationId": "00000000-0000-4000-8000-000000000001",  "messageId": "00000000-0000-4000-8000-000000000001"}