TryzenAPI
Webhooks

Org webhooks' deliveries across the org's workspaces, newest first (`webhookId` for one webhook, `status=dead_letter` for dead letters)

GET
/v1/orgs/{orgId}/webhooks/deliveries

Access: org admin (manageOrgWebhooks), or an org-wide API key in x-api-key with view on integrations.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

orgId*string
Match^[0-9a-f]{24}$

Query Parameters

status?string
Value in"pending""retrying""succeeded""dead_letter""canceled"
cursor?string
Length1 <= length <= 200
limit?integer
Range1 <= value <= 50
Default20
webhookId?string
Match^[0-9a-f]{24}$

Response Body

Default Response

application/json
  1. response
deliveries*array<>
nextCursor*string|null
Example Request
curl -X GET 'https://api.tryzen.co/v1/orgs/string/webhooks/deliveries'
Example Response
{  "deliveries": [    {      "id": "string",      "webhookId": "string",      "eventId": "string",      "event": "connection_request_sent",      "test": true,      "status": "pending",      "attempts": [        {          "n": 1,          "at": "2019-08-24T14:15:22Z",          "responseCode": -9007199254740991,          "error": "timeout",          "durationMs": 0        }      ],      "attemptCount": 0,      "nextAttemptAt": "2019-08-24T14:15:22Z",      "deliveredAt": "2019-08-24T14:15:22Z",      "redeliveries": 0,      "body": "string",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "workspaceId": "string"    }  ],  "nextCursor": "string"}