Skip to content

Add a poll to an article

Articles

A moderator can add a poll to an article that does not already contain one. Only allowed for draft articles.

POST
/articles/{id}/addPoll

Parameters

Path Parameters

id*

ID of the article to interact with

Type
string
Required

Query Parameters

moderatorId*

ID of the moderator adding the poll

Type
string
Required

Request Body

application/json
JSON
{
  
"title": "What is your favourite feature?",
  
"options": [
  
  
[
  
  
  
"Option A",
  
  
  
"Option B"
  
  
]
  
]
}

Responses

Poll was added to the article

Samples

Gainsight CC Developer Portal