cURL
curl --request PUT \ --url https://api.givebutter.com/v1/webhooks/{webhook} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": "campaign.created", "enabled": true, "name": "<string>" } '
{ "id": "<string>", "name": "<string>", "events": [ "<unknown>" ], "enabled": true, "url": "<string>", "last_status": "<string>", "last_status_description": "<string>", "last_used_at": "<string>", "created_at": "<string>", "updated_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The webhook ID
255
WebhookResource
Was this page helpful?