Webhooks
Update a webhook endpoint
A disabled endpoint receives nothing until you enable it again.
AuthorizationBearer <token>
Your API key, which acts for the one business it was created for: fb_sandbox_… issues in sandbox, fb_test_… in test, the tax authority's testing service, and fb_live_… in live.
In: header
Path Parameters
id*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
url?string
Format
urievents?array<>
Items
1 <= itemsdisabled?boolean
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://example.com/v1/webhook-endpoints/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "webhook_endpoint", "environment": "sandbox", "url": "http://example.com", "events": [ "*" ], "disabled": true, "secret_hint": "string", "previous_secret_expires_at": "2019-08-24T14:15:22Z", "deliveries_24h": 0, "failed_24h": 0, "failing_since": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z"}