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

Create support widget vote

POST/support/widget/{key}/votes
Path parameters
keystringrequired
Header parameters
x-pile-widget-sessionstringrequired
Request body
application/json
ticketIdstringrequired
min length 1
prioritystring
Allowed:nice_to_haveimportantmust_have
Responses
200

Vote recorded (idempotent per ticket + session customer)

createdbooleanrequired
voteCountnumberrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST '/support/widget/string/votes' \
  -H 'x-pile-widget-session: string' \
  -H 'Content-Type: application/json' \
  -d '{
  "ticketId": "string",
  "priority": "nice_to_have"
}'
Response
{
  "created": true,
  "voteCount": 0
}