PlanDocket

Check-Ins

Business+

Verwalten Sie Teilnehmer-Check-Ins.

Erforderliche Bereiche: checkins

Endpunkte

GET /api/v1/check-ins

Alle Check-Ins auflisten

GET /api/v1/check-ins/{id}

Einzelnen Check-In abrufen

POST /api/v1/check-ins

Teilnehmer einchecken

DELETE /api/v1/check-ins/{id}

Check-In löschen

GET /api/v1/check-ins/stats

Check-In-Statistiken abrufen

Abfrageparameter

Parameter Beschreibung
event_key Nach Event-Schlüssel filtern (erforderlich)

Request-Schema

Parameter Typ Erforderlich Beschreibung
event_key string Ja Event-Schlüssel (erforderlich)
participant_id integer Nein Teilnehmer-ID (erforderlich wenn keine badge_number)
badge_number string Nein Badge-Nummer (erforderlich wenn keine participant_id)
action string Nein Auszuführende Aktion (check_in oder check_out, Standard: check_in)
check_in_type string Nein Check-In-Methode (manual, scan, app)
station string Nein Check-In-Station-Kennung
notes string Nein Check-In-Notizen

Response-Schema

Feld Typ
id integer
event_participant_id integer
event_id integer
event_title string|null
event_key string|null
contact object
check_in_type string
badge_number string|null
station string|null
checked_in_at string|null
checked_out_at string|null
is_checked_in boolean
checked_in_by string|null
notes string|null

Codebeispiele

curl -X GET "https://your-tenant.plandocket.com/api/v1/check-ins" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
<?php
$apiKey = 'YOUR_API_KEY';
$baseUrl = 'https://your-tenant.plandocket.com';

$ch = curl_init();
curl_setopt_array($ch, [
    CURLOPT_URL => $baseUrl . '/api/v1/check-ins',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . $apiKey,
        'Content-Type: application/json',
    ],
]);

$response = curl_exec($ch);
$data = json_decode($response, true);
curl_close($ch);

print_r($data);
const apiKey = 'YOUR_API_KEY';
const baseUrl = 'https://your-tenant.plandocket.com';

const response = await fetch(`${baseUrl}/api/v1/check-ins`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${apiKey}`,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

api_key = 'YOUR_API_KEY'
base_url = 'https://your-tenant.plandocket.com'

headers = {
    'Authorization': f'Bearer {api_key}',
    'Content-Type': 'application/json',
}

response = requests.get(f'{base_url}/api/v1/check-ins', headers=headers)
data = response.json()
print(data)

Beispiel-Antwort

200 OK
{
  "data": {
    "check-in_id": 1,
    "created_at": 1704067200,
    "updated_at": 1704067200
  },
  "meta": {
    "request_id": "req_abc123"
  }
}
API Version v1.0
Esc zum Schließen