Integrations
Preview

List what a provider sent

The last two weeks of webhook deliveries, newest first, with the repository, what became of each and how long deciding took. Only github keeps a history today.

GET
/integrations/{provider}/deliveries
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

provider*string

The provider's name, such as github, slack, prometheus, servicenow or jira.

Length1 <= length <= 40
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

result?string

Only deliveries with this result.

Value in"accepted""ignored""failed""delivered""retrying""dead""rejected"

Response Body

A page of deliveries, newest first.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/integrations/string/deliveries'
Example Response
{  "items": [    {      "id": 0,      "deliveryId": "string",      "event": "string",      "repository": "string",      "result": "accepted",      "latencyMs": 0,      "receivedAt": "2019-08-24T14:15:22Z",      "direction": "in",      "attempt": 0,      "error": "string"    }  ],  "nextCursor": "string"}