cURL
curl --request POST \ --url https://api.getomni.ai/webhook \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "url": "<string>", "id": "<string>", "headers": [ {} ], "isEnabled": true }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "success": true }
Show headers
{ "headers": [ { "key": "Authorization", "value": "Bearer <token>" } ] }