Create a Webhook
1 min
POST
https://api.optimizely.com/v2/projects/{project_id}/webhooks
project_idintegerThe project identifier
acceptstringGenerated from available response content types
bodyobjectWebhook request body
201Return the created Webhook
400Invalid request body supplied
401Invalid credentials
403You do not have access to the specified Project
curl --request POST \
--url https://api.optimizely.com/v2/projects/{project_id}/webhooks \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"description": "Webhook description",
"events": [],
"name": "",
"url": ""
}'