stile
PlaygroundEvents

Retrieve an event

GET
/v1/events/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

Use a secret API key as the bearer token. Keys are prefixed with vk_test_ (test mode) or vk_live_ (live mode).

In: header

Path Parameters

id*string

The event ID.

Response Body

application/json

application/json

curl -X GET "http://localhost:3000/v1/events/string"
{
  "id": "string",
  "object": "event",
  "type": "string",
  "api_version": "string",
  "data": {
    "object": null
  },
  "livemode": true,
  "pending_webhooks": 0,
  "created": 0,
  "delivery_summary": {
    "total": 0,
    "delivered": 0,
    "failed": 0,
    "pending": 0
  },
  "deliveries": [
    {
      "id": "string",
      "object": "webhook_delivery",
      "endpoint_id": "string",
      "event_id": "string",
      "event_type": "string",
      "url": "string",
      "response_status": 0,
      "attempt": 0,
      "max_attempts": 0,
      "delivered_at": 0,
      "failed_at": 0,
      "next_retry_at": 0,
      "created": 0
    }
  ]
}
{
  "error": {
    "type": "invalid_request_error",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}