Questions

Create a question

Adds a question to the project's draft. Publish the draft to make it live.

Requires an API token with the write ability. Tokens created without abilities have *, which grants every ability.

post/{teamPid}/questions

Request

  • Base URL
    https://api.rightmessage.com/v1
  • Auth
    HTTP bearer

Path parameters

teamPidstring required

Project ID: the public pid that appears in dashboard URLs (app.rightmessage.com/{teamPid}/…).

Request body

textstring required
namestring
descriptionstring nullable
sync_tostring nullable
sync_to_fieldstring nullable
display_optionsstring[]
segment_group_idstring nullable
display_type'buttons' | 'image' | 'list' | 'radio' | 'input'
input_type'text' | 'textarea' | 'number' | 'email' | 'phone' | 'name' | 'address' | 'country' | 'url' | 'date' | 'rating' | 'nps' | 'null' nullable
randomize_optionsboolean

Response

QuestionResource

Changes

No recorded changes to this operation across all 1 revision of this API.