Skip to content

Add a vote to a poll contained in a given question

Questions

POST
/questions/{id}/votePoll

Parameters

Path Parameters

id*

ID of the question to interact with

Type
string
Required

Query Parameters

authorId*

ID of the author voting on the poll

Type
string
Required

Request Body

application/json
JSON
{
  
"selectedOption": "Option B"
}

Responses

Poll vote has been processed

Samples

Gainsight CC Developer Portal