logoAccess

Get webhook event

GET
/api/v1/webhooks/events/{id}

Retrieve a webhook event with its full payload and delivery attempts.

Authorization

apiKeyHeader
headerx-api-key<token>

API key for authentication. Generate from the dashboard or via POST /v1/api-keys.

Path Parameters

id*string

Unique webhook event ID

Header Parameters

x-api-key*string

API key for authentication

Length1 <= length

Response Body

Response for status 200

application/json
  1. response
id*string
event_type*string
payload*unknown
resource_id*string
resource_type*string
created_at*string
deliveries*array<>
curl -X GET 'https://api.tryaccess.xyz/api/v1/webhooks/events/whe_01J9Z8K2P3Q4R5S6T7U8V9W0X1' \  -H 'x-api-key: string'
{  "id": "string",  "event_type": "string",  "payload": null,  "resource_id": "string",  "resource_type": "string",  "created_at": "string",  "deliveries": [    {      "id": "string",      "status": "string",      "attempt": 0,      "response_code": 0,      "error_message": "string",      "attempted_at": "string",      "completed_at": "string",      "next_retry_at": "string"    }  ]}

How is this guide?