POST /fields/{id}/choices
1 min
POST
https://api.cmp.optimizely.com/v3/fields/{id}/choices
idstringUnique identifier of the field
acceptstringGenerated from available response content types
bodyobjectPayload to create new choices in the field
201Field with all the choices including the newly created ones
400Client error
401Authorization error
403Permission error
404Not found error
422Unprocessable entity error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/fields/{id}/choices \
--header 'accept: application/json'