Get the status of an age verification session
Retrieves the current status and result of a verification session. Use this to check if a session has been completed and whether verification was successful.
Authorization
bearerAuth AuthorizationBearer <token>
API token obtained from your Bouncer dashboard
In: header
Path Parameters
sessionId*string
The unique session ID (UUID) returned when creating the session
Format
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://bouncer.test/api/v2/session/550e8400-e29b-41d4-a716-446655440000"{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"success": true,
"status": "completed",
"metadata": [
"order_id:12345",
"user_id:67890"
],
"issued_at": "2024-01-15T10:30:00Z",
"expires_at": "2024-01-15T10:35:00Z"
}
}{
"message": "Unauthenticated."
}{
"message": "Session not found."
}Create a new age verification session
Creates a new verification session. The user should be redirected to the `verify_url` returned in the response to complete verification.
Create a dynamic session URL for a device
Generates a short URL and QR code for physical devices (kiosks, vending machines, etc.). When scanned, the URL creates a verification session and cancels any incomplete sessions for this device.