v1

latestOpenAPI 3.1.02026-07-241642423.7 KB

Get an event

Returns the specified webhook event.

get/events/{event}

Path parameters

eventstring required

ID of the event to return.

Response

200

idstring
webhook_configstring nullable
companystring
topicstring
bodyobject
status'pending' | 'retrying' | 'delivered' | 'failed'
created_atstring date-time

Example response

{
  "id": "whe_7uCODm8JFmZyov9jL8QO",
  "webhook_config": "whc_7uCODm8JFmZyov9jL8QO",
  "company": "com_zH8Gq33iBkFj5o0GKjTw",
  "topic": "payroll",
  "status": "delivered",
  "created_at": "2024-01-19T17:04:15Z",
  "delivery_attempts": [
    {
      "status_code": 200,
      "created_at": "2024-01-19T17:04:15Z"
    }
  ]
}