cURL
curl --request PUT \ --url https://api.example.com/exo-api/webhooks/{id} \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ {} ] } '
Updates an existing webhook subscription.
curl -X PUT \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"events": ["on_create", "on_update", "on_delete"]}' \ https://your-app.com/exo-api/webhooks/1
{ "id": 1, "user_id": 1, "url": "https://example.com/webhook-receiver", "resource": "order", "events": ["on_create", "on_update", "on_delete"], "is_active": true, "masked_secret": "sec_****a1b2", "created_at": "2026-03-28T14:30:00.000000Z", "updated_at": "2026-03-28T15:00:00.000000Z" }
404
422