API Reference
Accounts, Users, and Drivers Client accounts, account users, client users, drivers, driver assignment, and resellers.
The SDK exposes related account APIs through several services. Use /users for
account-level user management, /clients/{clientId}/users for users inside a
client account, and driver assignment endpoints for vehicle-driver links.
Query parameters Number of records per page.
Optional field projection such as id, email, fullName, role, or status.
Response fields Users for the current page.
page / limit / totalnumber
optional curl "https://api.linxio.com/api/users?fields[]=id&fields[]=email&limit=100" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Response fields Email address when supplied.
Display name when supplied.
curl "https://api.linxio.com/api/users/123" \
-H "Authorization: Bearer $LINXIO_TOKEN "
curl -X POST https://api.linxio.com/api/users \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{
"email": "new-user@example.com",
"firstName": "New",
"lastName": "User",
"roleId": 7
}'
Path and body parameters bodyLinxioUserPayload
required curl -X PATCH https://api.linxio.com/api/users/123 \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{
"phone": "+61 400 000 000"
}'
Response status204 or JSON
optional Successful archive response.
curl -X PATCH https://api.linxio.com/api/users/123/archive \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{}'
Path parameters Archived user identifier.
Response status204 or JSON
optional Successful restore response.
curl -X PATCH https://api.linxio.com/api/users/123/restore \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{}'
Query parameters Number of records per page.
Optional field projection.
[filter]QueryValue
optional Dashboard-derived filters.
Response fields Client account identifier.
Client account display name when supplied.
Timezone identifier when supplied.
curl "https://api.linxio.com/api/clients/json?limit=100&page=1" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path parameters Client account identifier.
Response fields Client account identifier.
Client account display name when supplied.
curl "https://api.linxio.com/api/clients/10" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path and query parameters Client account identifier.
Optional role filter, such as driver.
Number of records per page.
Optional field projection.
Response fields Client users for the current page.
page / limit / totalnumber
optional curl "https://api.linxio.com/api/clients/10/users?role=driver&limit=100" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path parameters Client account identifier.
Response fields Display name when supplied.
curl "https://api.linxio.com/api/clients/10/users/123" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path and body parameters Client account identifier.
curl -X POST https://api.linxio.com/api/clients/10/users \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{
"email": "driver@example.com",
"firstName": "Driver",
"lastName": "Example",
"roleId": 7
}'
Path and body parameters Client account identifier.
bodyLinxioUserPayload
required curl -X POST https://api.linxio.com/api/clients/10/users/123 \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{
"phone": "+61 400 000 000"
}'
Query parameters Number of records per page.
Optional field projection.
Response fields dataLinxioDriver[]
optional Driver records for the current page.
curl "https://api.linxio.com/api/drivers?limit=100" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path and query parameters Client account identifier.
Number of records per page.
Response fields dataLinxioDriver[]
optional curl "https://api.linxio.com/api/clients/10/users?role=driver&limit=100" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path parameters vehicleIdLinxioId
required Response status204 or JSON
optional Successful assignment response.
curl -X POST https://api.linxio.com/api/vehicle/304/set-driver/123 \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{}'
Path parameters vehicleIdLinxioId
required Response status204 or JSON
optional Successful unassignment response.
curl -X POST https://api.linxio.com/api/vehicle/304/unset-driver/123 \
-H "Authorization: Bearer $LINXIO_TOKEN " \
-H "Content-Type: application/json" \
--data '{}'
Query parameters No query parameters are required.
Response fields Reseller display name when supplied.
curl "https://api.linxio.com/api/reseller" \
-H "Authorization: Bearer $LINXIO_TOKEN "
Path parameters resellerIdLinxioId
required Response fields Reseller display name when supplied.
curl "https://api.linxio.com/api/reseller/20" \
-H "Authorization: Bearer $LINXIO_TOKEN "