Fac-360
Webhooks

List this tenant's webhook subscriptions

Returns every subscription of the authenticated tenant with its destination, subscribed events, status and current secret version. No signing secret is ever included.

GET
/api/v2/webhooks/subscriptions

Returns every subscription of the authenticated tenant with its destination, subscribed events, status and current secret version. No signing secret is ever included.

Authorization

bearerAuth
AuthorizationBearer <token>

Tenant-bound, scoped and expiring Apifact credential. Migrated legacy credentials are accepted only on deprecated v1 writes and tenant-scoped v2 read, poll and download routes. Each operation names the single scope it requires in x-required-scope; the scope array of the security requirement itself is empty because OpenAPI 3.0 requires it to be for a non-oauth2 scheme.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/webhooks/subscriptions" \  -H "Authorization: Bearer apf_v2_tu_credencial"
{  "schemaVersion": "2.0",  "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",  "subscriptions": [    {      "subscriptionId": "d079718b-ff63-45dd-947b-4950c023750f",      "url": "http://example.com",      "events": [        "document.accepted"      ],      "status": "ACTIVE",      "description": "string",      "secretVersion": 1,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}