Body Required
-
response array
-
identifier string
POST /my/survey_answers
curl \
-X POST https://api.cosmily.com/api/v1/my/survey_answers \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"response":["male"],"identifier":"gender"}'
Request example
{
"response": [
"male"
],
"identifier": "gender"
}
Request examples
{
"response": [
"male"
],
"identifier": "gender"
}
Response examples (200)
{
"data": {
"id": 42,
"user_id": 42,
"identifier": "string",
"response": [
"string"
],
"survey_uuid": "string",
"updated_at": "string"
}
}
Response examples (200)
{
"data": {
"id": 42,
"user_id": 42,
"identifier": "string",
"response": [
"string"
],
"survey_uuid": "string",
"updated_at": "string"
}
}