API

Sections

Theme switcher

/post-sales-bot/chat-init

This endpoint can be used to initiate a new AI bot chat.

For details about how this functionality, check the Post-Sales AI Bot guide.

Header Parameters

api-keystring Required

Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.

Body Parameters

booking_numberstring Required

Set the booking number to identify the specific booking. Use the value received upon booking confirmation. Reference value: TABYCE.

last_namestring Required

Set the last name associated with the booking for verification. Use the last name provided during booking. Reference value: Doe.

emailstring Required

Set the email address associated with the booking for verification or communication. Use the email provided during booking. Reference value: jonh.doe@email.com.

Response

200 (chat initiated)
Object
Successful response with chat initiated

Response Attributes

conversation_idstring

ID of the chat to be used in further calls. Reference value: 65cb4385-7d19-4896-91b5-76c707e11fed.

expires_atstring

Chat expiration date and time. Reference value: 2025-05-13T08:27:48.868631Z.

404 (booking not found)
Object
Error response: booking not found

Response Attributes

errorstring
detailstring
Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot