Generate access token
Generates a JWT access token for any user type with a unified request format
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
userType
The type of user requesting authentication
Allowed values:
id
The ID of the user (developerId for developers, entityId for entities, userId for admins)
apiKey
The API key for authentication
developerId
Required for entity userType - the developer ID that owns the entity
Response
Token generated successfully
access_token
The JWT token for authentication
token_type
The type of token (always “Bearer”)
expires_in
Token expiration time in seconds