---
title: "POST /v2/events/save"
method: POST
path: "/v2/events/save"
---

# POST /v2/events/save

`POST /v2/events/save`

Save event data

## Request body

- object
  - `data` object
  - `status` 'pending' | 'deployed'
  - `transactionHash` string
  - `checkoutConfig` CheckoutConfig
    - `id` string
    - `name` string, required
    - `by` string
    - `config` object, required
      - `locks` object, required
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Response `201`

Event created successfully

- Event
  - `name` string, required
  - `slug` string, required
  - `image` string, required
  - `description` string, required
  - `status` 'pending' | 'deployed'
  - `transactionHash` string
  - `eventType` 'unlock' | 'external'
  - `attributes` object[], required
    - `trait_type` string, required
    - `value` string, required

## Other responses

- `400` — Invalid input received. Bad request.
- `500` — Unable to fullfil request due to internal server error.

## Changes

- **2025-03-25** `6dfe2cc7b230` — 1 info
  - added the optional property `eventType` to the response with the `201` status
- **2024-12-17** `b418432250ec` — 2 breaking, 1 warning, 3 info
  - request body became required
  - removed the success response with the status `200`
  - removed the request property `id`
  - added the new optional request property `status`
  - …2 more
- **2024-05-16** `0444aeefa1e8` — 1 breaking
  - the request property `checkoutConfig/config/locks` became required
- **2023-11-03** `b77bfb068867` — 1 breaking, 2 warning, 4 info
  - removed the success response with the status `201`
  - removed the request property `status`
  - removed the request property `transactionHash`
  - added the new optional request property `id`
  - …3 more

[Change history](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/changes/v2/events/save/post.md)

---

[API](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.dev/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/revisions/e003b998de45/schema)
