Api referenceEndpointsWebhooks
One webhook endpoint
GET
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
webhook_id*stringFormat
uuidThe endpoint.
application/json- response
id*stringFormat
uuidurl*stringdescription*stringevent_types*array<>status*stringAn endpoint that has accepted nothing for 5 days is disabled when one more delivery runs out of attempts.
Value in
"active""disabled"disabled_reason*string|nullfailing_since*|Start of the current run of failed attempts; null after a success.
Format
date-timelast_success_at*|Format
date-timecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timecurl -X GET 'http://localhost:8080/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Authorization: Bearer ohs_sk_...'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "url": "string", "description": "string", "event_types": [ "data.written" ], "status": "active", "disabled_reason": "string", "failing_since": "2019-08-24T14:15:22Z", "last_success_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}