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

# Check in a participant

> Records that the participant physically arrived. Idempotent in effect — checking in someone already checked in leaves them checked in — so it is safe to retry from a door-scanning client with unreliable connectivity, and a retry keeps the first `checkInAt`. This tracks attendance only; it does not change the booking status. A booking that is settled, disputed or cancelled no longer takes a check-in (422 `BOOKING_NOT_OPEN_FOR_PARTICIPANTS`); one that has just ended and is `AWAITING_CONFIRMATION` still does.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/projects/{projectId}/bookings/{bookingId}/participants/{clientId}/check-in
openapi: 3.0.0
info:
  title: MarketBox 2.0 Open API
  version: 1.0.0
  description: >-
    The MarketBox public API for building booking experiences. Core model:
    create an order, then draw its order items down into bookings. Single
    bookings reference an order item per service line; package bookings draw one
    PACKAGE item down across N sessions. To schedule a package, build a slate
    (POST /availability/package-slate) and book it by slateId (POST
    /orders/{orderId}/package-bookings). See the guides for end-to-end
    walkthroughs.
  contact:
    name: MarketBox support
servers:
  - url: https://apiv2.gomarketbox.com
    description: MarketBox Open API
security:
  - ApiKeyAuth: []
paths:
  /v1/projects/{projectId}/bookings/{bookingId}/participants/{clientId}/check-in:
    post:
      tags:
        - Bookings
      summary: Check in a participant
      description: >-
        Records that the participant physically arrived. Idempotent in effect —
        checking in someone already checked in leaves them checked in — so it is
        safe to retry from a door-scanning client with unreliable connectivity,
        and a retry keeps the first `checkInAt`. This tracks attendance only; it
        does not change the booking status. A booking that is settled, disputed
        or cancelled no longer takes a check-in (422
        `BOOKING_NOT_OPEN_FOR_PARTICIPANTS`); one that has just ended and is
        `AWAITING_CONFIRMATION` still does.
      parameters:
        - schema:
            type: string
            minLength: 1
            description: >-
              The project (tenant) that owns the resource. Every resource in
              this API is scoped to a project, and your API key is restricted to
              the projects it was issued for — a project outside that scope
              returns 403.
            example: prj_01kv60qgnef2kt3pvqgwmkbzfr
          required: true
          description: >-
            The project (tenant) that owns the resource. Every resource in this
            API is scoped to a project, and your API key is restricted to the
            projects it was issued for — a project outside that scope returns
            403.
          name: projectId
          in: path
        - schema:
            type: string
            minLength: 1
            description: >-
              The booking — one scheduled unit of service occupying supplier
              time.
            example: bk_01kv7q41n2hbqxwm03ymn7bxl9
          required: true
          description: The booking — one scheduled unit of service occupying supplier time.
          name: bookingId
          in: path
        - schema:
            type: string
            minLength: 1
            description: The client — the person the booking is for.
            example: cli_01kv6r83j9fmquwl81xkm5bwj6
          required: true
          description: The client — the person the booking is for.
          name: clientId
          in: path
      responses:
        '200':
          description: Checked in
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      projectId:
                        type: string
                      bookingId:
                        type: string
                      clientId:
                        type: string
                      participantStatus:
                        type: string
                        enum:
                          - REGISTERED
                          - WAITLISTED
                          - CANCELLED
                          - NO_SHOW
                          - ATTENDED
                      checkInStatus:
                        type: string
                        enum:
                          - PENDING
                          - CHECKED_IN
                          - NO_SHOW
                      checkInAt:
                        type: string
                        nullable: true
                        format: date-time
                      registeredAt:
                        type: string
                        format: date-time
                      waitlistPosition:
                        type: integer
                        nullable: true
                        minimum: 0
                      deleted:
                        type: boolean
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      createdBy:
                        type: string
                      updatedBy:
                        type: string
                    required:
                      - projectId
                      - bookingId
                      - clientId
                      - participantStatus
                      - checkInStatus
                      - registeredAt
                      - deleted
                      - createdAt
                      - updatedAt
                      - createdBy
                      - updatedBy
                required:
                  - data
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '403':
          description: API key cannot access this project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '404':
          description: Booking or participant not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '422':
          description: >-
            The booking is settled, disputed or cancelled
            (BOOKING_NOT_OPEN_FOR_PARTICIPANTS)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
components:
  schemas:
    ErrorMessage:
      type: object
      properties:
        code:
          type: string
          description: Stable machine-readable error code, e.g. NOT_FOUND.
        message:
          type: string
          description: Human-readable description of what went wrong.
        statusCode:
          type: integer
          description: The HTTP status code of this response.
        requestId:
          type: string
          description: >-
            The id of this request, also returned as the X-Request-Id header.
            Quote it in a support ticket.
      required:
        - code
        - message
        - statusCode
        - requestId
      example:
        code: NOT_FOUND
        message: Booking not found
        statusCode: 404
        requestId: a3f1c2de-9b64-4a2f-8f0e-5c9d1b7a2e10
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key minted in the MarketBox dashboard. Scope is restricted to the
        projects you select at creation time. Every route needs the key's
        standard API access (`*`) except `POST /v1/projects/{projectId}/events`,
        which needs `events:write`; a key without `*` is refused with 403
        `CAPABILITY_NOT_GRANTED`.

````

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