Releasesv0.1.0
Api referenceEndpointsWebhooks

The tenant's webhook endpoints

GET
/v1/webhooks

Oldest first, on one page (next_cursor is always null).

Authorization

tenantKey
headerAuthorizationBearer <token>

Tenant API key, ohs_sk_ + 43 base62 characters.

Header Parameters

Authorization*string

The tenant API key, as a bearer secret.

Response Body

The endpoints.

application/json
  1. response
data*array<>
next_cursor*|

Null on the last page.

curl -X GET 'http://localhost:8080/v1/webhooks' \  -H 'Authorization: Bearer ohs_sk_...'
{  "next_cursor": "string",  "data": [    {      "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"    }  ]}
Edit on GitHub