---
title: "POST /api/accessusers/scans/{eventId}"
method: POST
path: "/api/accessusers/scans/{eventId}"
tags: ["api", "accessusers"]
---

# POST /api/accessusers/scans/{eventId}

`POST /api/accessusers/scans/{eventId}`

Create scans

## Path parameters

- `eventId` string, required — The ID of the event to post scans.

## Headers

- `token` string, required — The token to authenticate against the access-control endpoints.

## Request body

- object[]
  - `ticketId` string
  - `barcode` string, required — The barcode of the ticket
  - `scanned_at` string, date-time, required — An ISO Timestamp indicating when the ticket was scanned.
  - `type` 'OK' | 'FAIL', required — Whether the scan succeeded or failed
  - `direction` 'IN' | 'OUT', required — Indicates in which direction the scan was.

## Response `200`

OK

- POSTAccessusersCreateScans200Response
  - `status` 'OK'

## Other responses

- `400` — Bad Request

---

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