---
title: "Resource event"
method: POST
path: "resourceEvent"
tags: ["Events (webhooks)"]
---

# Resource event

`POST resourceEvent` (webhook)

Resource event delivered as a webhook request.

## Headers

- `Webhook-Signature` string
- `Webhook-Request-Timestamp` string, date-time

## Payload

- EventWebhookPayload — A resource event payload when sent as a webhook.
  - `resource` string, required — Resource name.
  - `event` Event, required — A resource event.
    - `id` integer, required — The ID of the event.
    - `organizationId` string, required — Unique resource identifier for an Organization.
    - `entityId` string, required — Unique resource identifier.
    - `type` 'CREATED' | 'UPDATED' | 'DELETED', required — Event type.
    - `name` string, required — The event name. Different resources have different sets of event names.
    - `timestamp` string, date-time, required — When the event happened.
    - `details` object — Additional details describing this event.
    - `message` string — A message which could either be a message from the bank or an explanation of the event.
    - `originator` string, required — The originator of the event which could be either a user ID, BANK or ATLAR.
  - `entity` object, required — A snapshot of the resource entity, after the event / changes impacted the entity.
  - `apiVersion` integer, required — Atlar API (major) version. This toghether with the `resource` dictates the structure of `entity`.

## Acknowledgement `200`

Return a 200 OK status to indicate that the data was received and processed successfully.

---

[API](https://skmtc.net/atlar/apis/atlar-api-v2.md) · [All operations](https://skmtc.net/atlar/apis/atlar-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlar/atlar-api-v2/revisions/9c5e194ccf5d/schema)
