v2
latestOpenAPI 3.1.02026-08-01244220427.0 KBDevices
Register Device
Register a new tablet/kiosk device.
This endpoint creates a new device record and generates a JWT token for device authentication. The token has limited scope (earn, redeem, balance_check) and expires in 24 hours.
Parameters:
- request (DeviceRegisterRequest): Device registration details
- current_user (User): Authenticated user making the request
Returns:
- DeviceRegisterResponse: Device ID, SID, and authentication token
Raises:
- 404: If the specified program doesn't exist
post/v2/devices/register
Headers
authorizationstring nullable
Request body
Example request
{
"programId": "5eb7cf5a86d9755df3a6c593"
}Response
Successful Response