cURL
curl --request PATCH \ --url https://api.useintegra.com.br/api/v1/webhooks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "url": "<string>", "events": [ "call.completed" ], "is_active": true } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "events": [ "call.completed" ], "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
API Key da organizacao (Authorization: Bearer ik_live_xxx)
ID do webhook
1 - 100
1
call.completed
campaign.started
campaign.completed
Webhook atualizado