---
title: "Validate Checkin"
method: POST
path: "/webhook_confirmations/{TOKEN}"
tags: ["Admin::WebhookConfirmations"]
---

# Validate Checkin

`POST /webhook_confirmations/{TOKEN}`

## Request

- Base URL: `https://gym-service-api.totalpass.com`
- URL: `https://gym-service-api.totalpass.com/webhook_confirmations/{TOKEN}`
- Auth: none declared

This endpoint is sent to the partner at the address they registered using the `create` method  of the webhook_checkin API. The payload sent to the partner is as follows:
```json {
  "type": "CHECK_IN_CREATED",
  "endpoint": "https://admin.staging.totalpass.com/api/v1/webhook_confirmations/TXIefq1R0-w59n6XLaMhR425lS0olXdTSnQ0qJUNZpnF2GGyUWcjrw==",
  "check_in": {
    "started_at": "2024-08-07T17:54:16.271-03:00",
    "plan_code": "59TADO9F",
    "expires_at": "2024-08-07T19:24:16.271-03:00"
  },
  "place": {
    "place": "5e701467-4d80-40a4-b78a-00490a6feb9b",
    "name": "Batatinha",
    "code": "59TADO9F"
  },
  "user": {
    "name": "Cleveland Wolf",
    "email": "tarra.cruickshank@yahoo.com",
    "phone": "6399907-8947",
    "document_number": "66844563680",
    "document_type": "cpf",
    "code": "EQ2B3FBK"
  }
} ```

## Path parameters

- `TOKEN` string, required

## Response `200`

Checkin successfully validated

- string

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/totalpass/apis/webhook-checkin.md) - [All operations](https://skmtc.dev/totalpass/apis/webhook-checkin/llms.txt) - [OpenAPI document](https://skmtc.dev/totalpass/apis/webhook-checkin/revisions/7748de6aa483?raw)
