Skip to content
Pile
Esc
↑↓navigate↵open⌘Jpreview

Create support widget message

POST/support/widget/{key}/messages
Path parameters
keystringrequired
Header parameters
x-pile-widget-sessionstringrequired
Request body
application/json
textstringrequired
min length 1
externalIdstring
emailstring<email>
namestring
Responses
200

Message appended

messageIdstringrequired
ticketIdstringrequired
createdAtstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST '/support/widget/string/messages' \
  -H 'x-pile-widget-session: string' \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "string",
  "externalId": "string",
  "email": "user@example.com",
  "name": "string"
}'
Response
{
  "messageId": "string",
  "ticketId": "string",
  "createdAt": "string"
}