> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eazecustoms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhook Events

> The webhook events you can receive, and the JSON each one sends.

## What you can do

Subscribe to the events below in the portal. Each event uses payload version 1. There are no Export declaration webhooks.

The envelope is always:

| Field | Meaning |
| - | - |
| `id` | Stable event ID. Use it to ignore duplicates. |
| `type` | Event name. |
| `version` | Payload version. Currently `1`. |
| `occurredAt` | When the business change was recorded, in ISO 8601. |
| `clientRef` | The client that owns the resource. Send this as `X-Eaze-Client-Ref` on the follow-up GET. |
| `data` | The small business payload below. |

`data.resource` is `{ module, type, id }`. Call the matching GET with `clientRef`. The `status` in the payload is the status at the time of the event. GET returns the current status.

The examples below are pretty-printed. Verify the signature against the raw request body, not against JSON you format again.

## Available events

| Event | What it means | When it is sent | What to read next |
| - | - | - | - |
| `import.declaration.released` | Customs released an Import Declaration. | The declaration changes to `RELEASED`. Release is not the same as completion. | [Get Declaration](https://docs.eazecustoms.com/api-reference/declarations/get-declaration.md) |
| `import.declaration.completed` | The clearance process for that Import Declaration is finished. | The declaration changes to `COMPLETED`. | [Get Declaration](https://docs.eazecustoms.com/api-reference/declarations/get-declaration.md) |
| `ncts.departure.released` | Customs released a Departure for transit. | The Departure changes to `RELEASED`. | [Get Transit Declaration](https://docs.eazecustoms.com/api-reference/ncts/get-transit-declaration.md) |
| `ncts.arrival.released` | Customs fully released the goods on an Arrival. | The Arrival changes to `RELEASED`. A partial release does not send this event. | [Get Transit Declaration](https://docs.eazecustoms.com/api-reference/ncts/get-transit-declaration.md) |
| `rto.completed` | The Shipment RTO process is finished. | The Shipment RTO status first reaches `COMPLETED`. This is not one movement being reported or confirmed. | [Get Shipment](https://docs.eazecustoms.com/api-reference/shipments/get-shipment.md) |

## Payloads

`import.declaration.released`:

```json theme={null}
{
  "id": "ffffffff-ffff-4fff-8fff-ffffffffffff",
  "type": "import.declaration.released",
  "version": 1,
  "occurredAt": "2026-11-17T12:04:00.000Z",
  "clientRef": "ACME-AMS",
  "data": {
    "resource": {
      "module": "import",
      "type": "declaration",
      "id": "33333333-3333-4333-8333-333333333333"
    },
    "shipmentId": "22222222-2222-4222-8222-222222222222",
    "clientReference": "PO-44821",
    "status": "RELEASED"
  }
}
```

`import.declaration.completed` uses the same data shape. `type` is `import.declaration.completed` and `status` is `COMPLETED`. `clientReference` can be null. Call Get Declaration with `data.resource.id`.

`ncts.departure.released`:

```json theme={null}
{
  "id": "ffffffff-ffff-4fff-8fff-ffffffffffff",
  "type": "ncts.departure.released",
  "version": 1,
  "occurredAt": "2026-11-17T15:10:00.000Z",
  "clientRef": "ACME-AMS",
  "data": {
    "resource": {
      "module": "ncts",
      "type": "transit_declaration",
      "id": "44444444-4444-4444-8444-444444444444"
    },
    "status": "RELEASED"
  }
}
```

`ncts.arrival.released` uses the same data shape. `type` is `ncts.arrival.released`, `status` is `RELEASED`, and `data.resource.id` is the Arrival Transit Declaration ID. Call Get Transit Declaration. A release does not mean every document is ready to download.

`rto.completed`:

```json theme={null}
{
  "id": "ffffffff-ffff-4fff-8fff-ffffffffffff",
  "type": "rto.completed",
  "version": 1,
  "occurredAt": "2026-11-17T16:40:00.000Z",
  "clientRef": "ACME-AMS",
  "data": {
    "resource": {
      "module": "rto",
      "type": "shipment",
      "id": "22222222-2222-4222-8222-222222222222"
    },
    "clientReference": "PO-44821",
    "status": "COMPLETED"
  }
}
```

Call Get Shipment with `data.resource.id`. `clientReference` can be null. List movements only when you need the handling detail. The event is not one movement status.

Next: [Verify Signatures](https://docs.eazecustoms.com/webhooks/verify-signatures.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.