Send

Send message

Sends a message to the customer identified by customer_token. If the customer doesn't exist (or no token is provided), a new customer is created.

The shape of message depends on message.type. See the request examples for each supported type.

post/send/{customer_token}/

Request

  • Base URL: https://chat.landbot.io/v1
  • URL: https://chat.landbot.io/v1/send/{customer_token}/
  • Auth: API key in header Authorization

Path parameters

customer_tokenstring required

Customer token. If unknown, pass any unique value — a new customer will be created.

Request body

Response

Message accepted. Returns the customer (created if necessary).

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.