Skip to main content
POST
Create Enrollment Token

Body

application/json

Request to create an enrollment token for driver registration

description
string | null

Optional description/label for the token

expires_in_hours
integer
default:24

Hours until token expires (default 24)

Response

Successful Response

Enrollment token details

token
string
required

Enrollment token string

org_id
string
required

Organization ID

expires_at
string<date-time>
required

Token expiration timestamp

created_at
string<date-time>
required

Creation timestamp

used
boolean
required

Whether token has been used

is_valid
boolean
required

Whether token is still valid for use

description
string | null

Token description