Skip to main content
POST
/
bot
/
{id}
/
api
Public API to send message to bot on widget
curl --request POST \
  --url https://app.aptlystar.ai/bot/{id}/api \
  --header 'Content-Type: */*' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "message": "<string>",
  "history": "<array>",
  "history_id": "<string>"
}
'
This response has no body data.

Headers

x-api-key
string
required

Path Parameters

id
string
required

Body

*/*
message
string
required
history
array
history_id
string

Response

200 - undefined