Surveys
Create Survey
Changed onCreate a new survey
post/surveys
Request
- Base URLhttps://api.buttondown.com/v1
- URLhttps://api.buttondown.com/v1/surveys
- AuthAPI key in header Authorization
Request body
Example request
{
"identifier": "color",
"question": "What's your favorite color?",
"answers": [
"Red",
"Green",
"Blue"
]
}Response
Created
Changes
- warning
changed the pattern of the request property
from^[a-zA-Z0-9_-]+$to^[A-Za-z0-9][A-Za-z0-9_]*$
- warning
- warning
changed the pattern of the request property
/from^[ -~]*[A-Za-z0-9][ -~]*$to^[^\x00-\x1f\x7f-\x9f]*[^\W_][^\x00-\x1f\x7f-\x9f]*$ - warning
changed the pattern of the request property
from^[ -~]*[A-Za-z0-9][ -~]*$to^[^\x00-\x1f\x7f-\x9f]*[^\W_][^\x00-\x1f\x7f-\x9f]*$
- warning