API v1 Documentation
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Management API > Action Class
Management API > Attribute Class
Management API > Contact Attribute Keys
Management API > Contact Attributes
Management API > Contacts
Management API > Me
Management API > People
Management API > Response
Management API > Storage
Management API > Survey
Management API > Webhook
Health
Create Webhook
Create a new webhook right from the API and see it active right away!
POST
/
api
/
v1
/
webhooks
curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}'
{
"data": {
"createdAt": "2024-04-23T12:35:45.326Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcdd8oe000nxz1zhz6q9z3l",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:35:45.326Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}
}
Headers
Body
application/json · object
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url http:///%7B{baseurl}%7D/api/v1/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '{
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}'
{
"data": {
"createdAt": "2024-04-23T12:35:45.326Z",
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvcdd8oe000nxz1zhz6q9z3l",
"name": null,
"source": "user",
"surveyIds": [],
"triggers": [
"responseCreated",
"responseUpdated",
"responseFinished"
],
"updatedAt": "2024-04-23T12:35:45.326Z",
"url": "https://eoy8o887lmsqmhz.m.pipedream.net"
}
}