Create a List Attribute
1 min
POST
https://api.optimizely.com/v2/list_attributes
acceptstringGenerated from available response content types
bodyobjectA string in JSON format that includes all the fields to create a new List Attribute
201Successfully created the List Attribute
400Invalid request body content
401Invalid credentials
defaultUnexpected error
curl --request POST \
--url https://api.optimizely.com/v2/list_attributes \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"key_field": "",
"name": "SubscriberStatus",
"project_id": ""
}'