API Reference
Authentication
Login, OTP verification, token refresh, current user, and logout HTTP endpoints.
Authentication endpoints create and maintain the bearer token used by the rest
of the API.
Request headers
application/json
requiredRequired when sending a JSON request body.
Request body parameters
Email address for the Linxio user.
Password for the Linxio user.
Optional tenant-domain hint accepted by some login flows.
Response body fields
JWT bearer token for authenticated requests.
string
optionalRefresh token for renewing the session.
ISODateString
optionalToken expiry timestamp when supplied by Linxio.
boolean
optionalWhether OTP must be completed before the session is usable.
Team type such as client, reseller, or admin when supplied.
Role identifier when supplied.
Request headers
application/json
requiredRequired when sending a JSON request body.
Request body parameters
Email address used for login.
Response body fields
JWT bearer token for authenticated requests.
string
optionalRefresh token for renewing the session.
ISODateString
optionalToken expiry timestamp when supplied by Linxio.
Request headers
application/json
requiredRequired when sending a JSON request body.
Request body parameters
string
requiredRefresh token returned by login or a previous refresh call.
Response body fields
string
optionalNew refresh token when Linxio rotates it.
ISODateString
optionalToken expiry timestamp when supplied by Linxio.
Request headers
Bearer token
requiredJWT bearer token returned by login or token refresh.
Request query parameters
Optional field projection for the current-user response.
Response body fields
Current user ID when supplied.
Current user email when supplied.
Current user display name when supplied.
Current team type when supplied.
string[]
optionalPermission keys when supplied.
Current team details when supplied.
Request headers
Bearer token
requiredJWT bearer token returned by login or token refresh.
application/json
requiredRequired when sending a JSON request body.
Request body parameters
Send an empty JSON object or no body.
Response headers
204 or JSON
optionalLinxio may return an empty success response.