Webhooks
Send one signed `webhook_test` POST now, about one workspace of the org
POST
Access: org admin (manageOrgWebhooks), or an org-wide API key in x-api-key with manage on integrations.
About workspaceId (a live workspace inside the webhook's filter), else the org's oldest live one. Also while the webhook is off. One attempt, no retries; the result shows in the deliveries.
apiKeyheader
x-api-key<token>Workspace API key (nrk_…), shown once when created
orgId*stringMatch
^[0-9a-f]{24}$webhookId*stringMatch
^[0-9a-f]{24}$application/json- body
Default
{}workspaceId?stringMatch
^[0-9a-f]{24}$Default Response
application/json- response
delivery*curl -X POST 'https://api.tryzen.co/v1/orgs/string/webhooks/string/test' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "delivery": { "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" }}Delete an org webhook and its delivery log; deliveries under way stop DELETE
**Access:** org admin (`manageOrgWebhooks`), or an org-wide API key in `x-api-key` with manage on `integrations`.
The workspace's email-tool connections (never their keys) GET
**Access:** an API key (or an org-wide key naming the workspace) with view on `integrations`.