Webhooks
Create a Webhook
Webhooks
Create a Webhook
POST
/
v0
/
webhooks
curl --request POST \
--url https://api.exa.ai/websets/v0/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"events": [
"webset.created"
],
"url": "<string>",
"metadata": {}
}'
{
"id": "<string>",
"object": "webhook",
"status": "active",
"events": [
"webset.created"
],
"url": "<string>",
"secret": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Your Exa API key
Body
application/json
Response
200 - application/json
Webhook
The response is of type object
.
curl --request POST \
--url https://api.exa.ai/websets/v0/webhooks \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"events": [
"webset.created"
],
"url": "<string>",
"metadata": {}
}'
{
"id": "<string>",
"object": "webhook",
"status": "active",
"events": [
"webset.created"
],
"url": "<string>",
"secret": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}