Chat: Message Endpoint

Send messages and receive responses from a Yext Chat bot.

path Parameters
accountId
required
string
botId
required
string

The ID of the chatbot.

query Parameters
v
required
string

A date in YYYYMMDD format.

Request Body schema: application/json
Array of objects

List of messages representing the full conversation history.

conversationId
string

A ULID representing the conversation between the user and the chatbot.

object
context
object

Additional, user-defined information that is passed to the chatbot, and can be referenced in the instruction flow.

version
string
Enum: "LATEST" "STAGING" "PRODUCTION"

The version of chatbot. Defaults to LATEST.

Responses

Request samples

Content type
application/json
{
  • "messages": [
    ],
  • "conversationId": "string",
  • "notes": {
    },
  • "context": { },
  • "version": "LATEST"
}

Response samples

Content type
application/json
{
  • "meta": {
    },
  • "response": {
    }
}
Feedback