cURL
curl --request PATCH \ --url https://api.exa.ai/websets/v0/webhooks/{id} \ --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" }
Your Exa API key
The id of the webhook
Webhook
The response is of type object.
object