POST /assets
1 min
POST
https://api.cmp.optimizely.com/v3/assets
acceptstringGenerated from available response content types
bodyobjectPayload to create an asset
201Created asset
400Client error
401Authorization error
403Permission error
curl --request POST \
--url https://api.cmp.optimizely.com/v3/assets \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"key": "",
"title": "sample_image.png"
}'