We hope you enjoy our updated documentation! The old documentation website is still available here. Reach out to us with feedback or questions. Happy programming! 🎉
curl --location --request GET 'https://staging.spectrumsurveys.com/buyers/v3/attributes/' \
--header 'access-token: '
{
"qualification_code": 211,
"recency": 30,
"desc": "Gender",
"category": [],
"tags": "",
"type": 1,
"class": 1,
"create_survey_question_order": 1000,
"randomize_answer_options": false,
"is_hidden": false,
"is_active": true,
"localizations": [
{
"locale": "en_US",
"text": "I'm a %%211%%",
"placeholder": "Male/Female",
"answers": [
{
"answer_id": "111",
"local_text": "Male",
"eng_text": "Male",
"condition_code": 111
},
{
"answer_id": "112",
"local_text": "Female",
"eng_text": "Female",
"condition_code": 112
},
{
"answer_id": "113",
"local_text": "Prefer not to say",
"eng_text": "Prefer not to say",
"condition_code": 113
}
],
"format": {
"min": null,
"max": null,
"regex": ""
}
},
{
"locale": "es_US",
"text": "Soy %%211%%",
"placeholder": "Hombre/Dama",
"answers": [
{
"answer_id": "111",
"local_text": "Hombre",
"eng_text": "Male",
"condition_code": 111
},
{
"answer_id": "112",
"local_text": "Dama",
"eng_text": "Female",
"condition_code": 112
},
{
"answer_id": "113",
"local_text": "Prefiero no decirlo",
"eng_text": "Prefer not to say",
"condition_code": 113
}
],
"format": {
"min": null,
"max": null,
"regex": ""
}
},
{
"locale": "en_CA",
"text": "I'm a %%211%%",
"placeholder": "Male/Female",
"answers": [
{
"answer_id": "111",
"local_text": "Male",
"eng_text": "Male",
"condition_code": 111
},
{
"answer_id": "112",
"local_text": "Female",
"eng_text": "Female",
"condition_code": 112
},
{
"answer_id": "113",
"local_text": "Prefer not to say",
"eng_text": "Prefer not to say",
"condition_code": 113
}
],
"format": {
"min": null,
"max": null,
"regex": ""
}
},
{
"locale": "fr_CA",
"text": "Je suis un(e) %%211%%",
"placeholder": "homme/femme",
"answers": [
{
"answer_id": "111",
"local_text": "homme",
"eng_text": "Male",
"condition_code": 111
},
{
"answer_id": "112",
"local_text": "femme",
"eng_text": "Female",
"condition_code": 112
},
{
"answer_id": "113",
"local_text": "Je préfère ne pas dire",
"eng_text": "Prefer not to say",
"condition_code": 113
}
],
"format": {
"min": null,
"max": null,
"regex": ""
}
},
{
"locale": "en_GB",
"text": "I'm a %%211%%",
"placeholder": "Male/Female",
"answers": [
{
"answer_id": "111",
"local_text": "Male",
"eng_text": "Male",
"condition_code": 111
},
{
"answer_id": "112",
"local_text": "Female",
"eng_text": "Female",
"condition_code": 112
},
{
"answer_id": "113",
"local_text": "Prefer not to say",
"eng_text": "Prefer not to say",
"condition_code": 113
}
],
"format": {
"min": null,
"max": null,
"regex": ""
}
}
]
}