Referência da APIWebhooks
Change URL, events or enable/disable an endpoint
Authorization
apiKey AuthorizationBearer <token>
In: header
Path Parameters
webhook_id*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
url?string
Format
uriLength
length <= 2048description?string
Length
length <= 500event_types?array<>|null
enabled?boolean
Disabled endpoints keep receiving events in their queue; delivery resumes when re-enabled.
Response Body
application/json
application/problem+json
curl -X PATCH "https://example.com/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "url": "string", "description": "string", "event_types": [ "string" ], "enabled": true, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}
