> This page is for version v1 (default).
> For other versions, use one of these documentation indexes:
> - v1 (default): https://docs.plextera.com/v-1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.plextera.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.plextera.com/_mcp/server.

# Get event

GET https://api.plextera.com/api/public/v1/events/{eventId}

Returns one event with its exact webhook payload and current delivery counts.

The response uses `Cache-Control: no-store`.


Reference: https://docs.plextera.com/api/api-reference/event-subscriptions/get-event

## Authentication

- `Authorization` header (required) — Use the API key format: `api-key <token>`.

## Request

### Path parameters

- `eventId` (string, required) — Event identifier returned by List events.

## Response

### 200

One event with its exact webhook payload and aggregate delivery counts.

- `id` (string, required) — Stable event identifier. Matches `eventId` in the payload and the `X-Plextera-Event-Id` header.
- `eventType` (enum, required) — Product event type.
  - Allowed values: `document-insights.extraction.completed`, `document-insights.extraction.failed`, `document-insights.extraction.rejected`, `workflow.run.completed`, `workflow.run.failed`
- `occurredAt` (datetime, required) — UTC timestamp when the product event occurred.
- `apiVersion` (string, required) — Webhook payload contract version.
- `deliverySummary` (EventDeliverySummary, required) — Current delivery counts, including manual resends. On List events, `subscriptionId` scopes these counts to that subscription. Automatic retry attempts remain part of their original delivery.
- `createdAt` (datetime, required) — UTC timestamp when Plextera recorded the event.
- `payload` (map from string to any, required) — Exact JSON envelope used for every delivery and resend of this event.

## Errors

### 401 Unauthorized Error

UNAUTHORIZED — The API key is missing, malformed, or revoked.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 403 Forbidden Error

FORBIDDEN — The API key is valid but not allowed to perform this operation.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 404 Not Found Error

NOT_FOUND — The resource does not exist in your workspace.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 405 Method Not Allowed Error

METHOD_NOT_ALLOWED — The HTTP method is not supported for this path.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 406 Not Acceptable Error

NOT_ACCEPTABLE — The requested response media type is not supported.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 429 Too Many Requests Error

RATE_LIMITED — Too many requests in a short window. 429 responses are enforced at the network edge; the body may be plain text instead of this envelope, so rely on the status code and the Retry-After header.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

### 500 Internal Server Error

INTERNAL_ERROR — Unexpected failure inside Plextera. Retry with backoff; contact support with the requestId if it persists.

- `error` (ApiError, optional) — Machine-readable error details shared by every error response.

## Types

### EventDeliverySummary

Delivery counts for one event. Counts are scoped to `subscriptionId` when List events uses that filter; otherwise they cover all subscriptions and resends.

- `total` (long, required) — Total deliveries created for the event.
- `pending` (long, required) — Deliveries queued or currently being sent.
- `retrying` (long, required) — Deliveries waiting for an automatic retry.
- `delivered` (long, required) — Deliveries that received a 2xx response.
- `failed` (long, required) — Deliveries that reached terminal failure.

### ApiError

Machine-readable error details shared by every error response.

- `code` (string, optional) — Stable machine-readable error code. Branch your handling on this, not on `message`.
- `message` (string, optional) — Human-readable explanation. Wording may change; do not parse it.
- `requestId` (string, optional) — Unique request identifier, also returned in the X-Request-Id response header. Include it in support requests.
- `retryable` (boolean, optional) — True when retrying the same request later may succeed.
- `details` (list of ApiErrorDetail, optional) — Field-level validation issues. Present only for VALIDATION_FAILED.

### ApiErrorDetail

Field-level validation issue.

- `field` (string, optional) — Name of the invalid request field.
- `issue` (string, optional) — What is wrong with the field value.

## Examples

**Response**

```json
{
  "id": "evt_01JYA3W9G05X4D2K8M6P1R3T7V",
  "eventType": "document-insights.extraction.completed",
  "occurredAt": "2026-04-07T10:22:00Z",
  "apiVersion": "v1",
  "deliverySummary": {
    "total": 2,
    "pending": 0,
    "retrying": 0,
    "delivered": 1,
    "failed": 1
  },
  "createdAt": "2026-04-07T10:22:01Z",
  "payload": {
    "apiVersion": "v1",
    "data": {
      "extractionId": "ext_01JYA3VYFSZ3H9M2K6N8P4R7TC",
      "status": "COMPLETED"
    },
    "eventId": "evt_01JYA3W9G05X4D2K8M6P1R3T7V",
    "eventType": "document-insights.extraction.completed",
    "occurredAt": "2026-04-07T10:22:00Z"
  }
}
```

**SDK Code**

```python Event details
import requests

url = "https://api.plextera.com/api/public/v1/events/eventId"

headers = {"Authorization": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Event details
const url = 'https://api.plextera.com/api/public/v1/events/eventId';
const options = {method: 'GET', headers: {Authorization: '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Event details
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.plextera.com/api/public/v1/events/eventId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Event details
require 'uri'
require 'net/http'

url = URI("https://api.plextera.com/api/public/v1/events/eventId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java Event details
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.plextera.com/api/public/v1/events/eventId")
  .header("Authorization", "<apiKey>")
  .asString();
```

```php Event details
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.plextera.com/api/public/v1/events/eventId', [
  'headers' => [
    'Authorization' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Event details
using RestSharp;

var client = new RestClient("https://api.plextera.com/api/public/v1/events/eventId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Event details
import Foundation

let headers = ["Authorization": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.plextera.com/api/public/v1/events/eventId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```