Skip to main content
PUT
/
v1
/
bot
/
chat
/
message
/
vote
Vote on Message
curl --request PUT \
  --url https://api.boostgpt.co/v1/bot/chat/message/vote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "bot_id": "<string>",
  "voter_id": "<string>",
  "type": "upvote",
  "voter_type": "member"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

Project ID

bot_id
string
required

Agent ID

voter_id
string
required

Voter ID

type
enum<string>
required

Vote type

Available options:
upvote,
downvote
voter_type
enum<string>
required

Type of voter

Available options:
member

Response

Vote recorded successfully

success
boolean

Operation success status

message
string

Success message