Summary and recommendation
The Automox REST API is available at https://console.automox.com/api and authenticates via API key passed as a Bearer token or `api_key` query parameter.
Keys are not scope-gated;
effective permissions are inherited from the role of the user who generated the key - a non-admin key cannot perform admin-only operations.
The `o` (org_id) query parameter is mandatory on virtually all resource endpoints;
omitting it returns HTTP 400.
Rate limiting is enforced at 2,500 requests per 5-minute window per key, with no documented Retry-After header on HTTP 429 responses.
Pagination is offset-based using `page` (zero-indexed) and `limit` (max 500);
there is no cursor mechanism.
For teams building identity graph pipelines or syncing Automox user state into a broader identity graph, the user object exposes `id`, `email`, `role`, `status`, `orgs`, `created_at`, and `updated_at`
sufficient for join operations against IdP or HR system records.
API quick reference
| Has user API | Yes |
| Auth method | API Key (Bearer token passed as Authorization header or `api_key` query parameter) |
| Base URL | Official docs |
| SCIM available | Yes |
| SCIM plan required | Not explicitly gated by plan in official docs; SSO is not listed as a prerequisite. |
Authentication
Auth method: API Key (Bearer token passed as Authorization header or api_key query parameter)
Setup steps
- Log in to the Automox Console.
- Navigate to Settings > API Keys.
- Click 'Generate API Key', provide a name, and save.
- Copy the generated key; it is shown only once.
- Pass the key as a Bearer token:
Authorization: Bearer <api_key>, or as a query parameter?api_key=<api_key>.
Required scopes
| Scope | Description | Required for |
|---|---|---|
| N/A | Automox API keys are not scope-gated; access is determined by the role of the user who generated the key. | All operations |
User object / data model
| Field | Type | Description | On create | On update | Notes |
|---|---|---|---|---|---|
| id | integer | Unique user identifier | auto-assigned | read-only | Used as path param in user-specific endpoints |
| string | User's email address | required | optional | Must be unique within the organization | |
| firstname | string | User's first name | required | optional | |
| lastname | string | User's last name | required | optional | |
| role | string | User role within the organization (e.g., admin, operator, viewer) | required | optional | Role names are case-sensitive |
| orgs | array | List of organization IDs the user belongs to | auto-assigned to calling org | read-only via this endpoint | |
| status | string | Account status (active, pending, etc.) | auto-set to pending until invite accepted | read-only | |
| created_at | string (ISO 8601) | Timestamp of user creation | auto-assigned | read-only | |
| updated_at | string (ISO 8601) | Timestamp of last update | auto-assigned | auto-updated | |
| prefs | object | User notification and UI preferences | optional | optional | Nested object; structure varies |
Core endpoints
List Users
- Method: GET
- URL:
https://console.automox.com/api/users?o={org_id} - Watch out for: The
o(organization ID) query parameter is required. Omitting it returns a 400 error.
Request example
GET /api/users?o=12345&limit=25&page=0
Authorization: Bearer <api_key>
Response example
[
{
"id": 101,
"email": "alice@example.com",
"firstname": "Alice",
"lastname": "Smith",
"role": "admin",
"status": "active"
}
]
Get User
- Method: GET
- URL:
https://console.automox.com/api/users/{id}?o={org_id} - Watch out for: Returns 404 if the user ID does not belong to the specified organization.
Request example
GET /api/users/101?o=12345
Authorization: Bearer <api_key>
Response example
{
"id": 101,
"email": "alice@example.com",
"firstname": "Alice",
"lastname": "Smith",
"role": "admin",
"status": "active"
}
Create User (Invite)
- Method: POST
- URL:
https://console.automox.com/api/users?o={org_id} - Watch out for: Creates an invitation; user status is
pendinguntil the invite is accepted. Duplicate email returns 409.
Request example
POST /api/users?o=12345
Content-Type: application/json
{
"email": "bob@example.com",
"firstname": "Bob",
"lastname": "Jones",
"role": "operator"
}
Response example
{
"id": 202,
"email": "bob@example.com",
"status": "pending"
}
Update User
- Method: PUT
- URL:
https://console.automox.com/api/users/{id}?o={org_id} - Watch out for: Uses PUT (full replacement semantics for mutable fields). Read-only fields like
idandstatusare ignored.
Request example
PUT /api/users/202?o=12345
Content-Type: application/json
{
"firstname": "Robert",
"role": "admin"
}
Response example
{
"id": 202,
"email": "bob@example.com",
"firstname": "Robert",
"role": "admin"
}
Delete User
- Method: DELETE
- URL:
https://console.automox.com/api/users/{id}?o={org_id} - Watch out for: Deletes the user from the organization. Cannot delete the last admin user of an org.
Request example
DELETE /api/users/202?o=12345
Authorization: Bearer <api_key>
Response example
HTTP 204 No Content
Get Self (Current API Key User)
- Method: GET
- URL:
https://console.automox.com/api/users/self - Watch out for: Returns the user associated with the API key in use; useful for validating key identity.
Request example
GET /api/users/self
Authorization: Bearer <api_key>
Response example
{
"id": 101,
"email": "alice@example.com",
"role": "admin"
}
List Organizations
- Method: GET
- URL:
https://console.automox.com/api/orgs - Watch out for: Required to obtain the
org_idused in all user-management calls. Multi-org accounts return multiple entries.
Request example
GET /api/orgs
Authorization: Bearer <api_key>
Response example
[
{
"id": 12345,
"name": "Acme Corp",
"plan": "business"
}
]
Rate limits, pagination, and events
- Rate limits: Automox enforces rate limits on API requests. The official docs note a limit of 2,500 requests per 5-minute window per API key.
- Rate-limit headers: No
- Retry-After header: No
- Rate-limit notes: When the limit is exceeded the API returns HTTP 429. Official docs do not explicitly document rate-limit response headers or a Retry-After header.
- Pagination method: offset
- Default page size: 25
- Max page size: 500
- Pagination pointer: limit / page
| Plan | Limit | Concurrent |
|---|---|---|
| All plans | 2,500 requests per 5-minute window | 0 |
- Webhooks available: No
- Webhook notes: Automox does not offer native outbound webhooks for user-management events as of the current documentation.
- Alternative event strategy: Poll the GET /users endpoint on a schedule to detect user changes, or use SCIM provisioning events via your IdP.
SCIM API status
SCIM available: Yes
SCIM version: 2.0
Plan required: Not explicitly gated by plan in official docs; SSO is not listed as a prerequisite.
Endpoint: https://console.automox.com/api/scim/v2
Supported operations: GET /Users (list users), GET /Users/{id} (get user), POST /Users (create/provision user), PUT /Users/{id} (replace user), PATCH /Users/{id} (update user attributes, including active status for deprovisioning), DELETE /Users/{id} (delete user)
Limitations:
- SCIM Groups provisioning support is not documented in the official help article; only User provisioning is confirmed.
- The SCIM endpoint URL and bearer token are generated within the Automox Console under Settings > SCIM; the token is shown only once.
- IdP-specific connector configuration (e.g., Okta SCIM app) is required on the IdP side; Automox does not publish IdP-specific setup guides beyond the generic SCIM article.
Common scenarios
Three scenarios cover the primary automation surface.
First, provisioning: GET /api/orgs to resolve org_id, then POST /api/users?o={org_id} with email, name, and role
the user lands in pending status until invite acceptance, and polling GET /api/users/{id} is the only way to detect activation since no webhook exists for this event.
Second, soft deprovisioning via SCIM: PATCH /api/scim/v2/Users/{id} with active: false disables the account without permanent deletion;
DELETE via SCIM or REST is immediate and irreversible, and the last admin in an org cannot be deleted.
Third, bulk user enumeration: paginate GET /api/users?o={org_id}&limit=500&page=0, incrementing page until the response array length falls below the limit value - with large orgs, monitor cumulative request count against the 2,500/5-min rate cap.
The SCIM bearer token is a separate credential from the REST API key and must be regenerated in the Console if lost.
Provision a new user and confirm activation
- GET /api/orgs to retrieve the target org_id.
- POST /api/users?o={org_id} with email, firstname, lastname, and role to send an invitation.
- Store the returned user
id. - Poll GET /api/users/{id}?o={org_id} until
statuschanges frompendingtoactive(user has accepted the invite).
Watch out for: There is no webhook to signal invite acceptance; polling is the only mechanism via the REST API.
Deprovision a user via SCIM (soft disable)
- Obtain the SCIM bearer token from Automox Console > Settings > SCIM.
- GET /api/scim/v2/Users?filter=userName eq "user@example.com" to find the SCIM user ID.
- PATCH /api/scim/v2/Users/{id} with body
{"schemas":["urn:ietf:params:scim:api:messages:2.0:PatchOp"],"Operations":[{"op":"replace","path":"active","value":false}]}to disable without deleting.
Watch out for: Using DELETE via SCIM permanently removes the user. Use PATCH active=false for reversible deprovisioning.
Bulk-list all users across a paginated org
- GET /api/users?o={org_id}&limit=500&page=0
- Check if the response array length equals
limit; if so, incrementpageand repeat. - Continue until a response returns fewer items than
limit, indicating the last page.
Watch out for: Max page size is 500. With large user counts, multiple requests are needed. Monitor request count against the 2,500/5-min rate limit.
Why building this yourself is a trap
The most common integration pitfall is treating user creation as synchronous activation. POST /api/users sends an invitation email; the user object is pending until the invite is accepted, so any downstream logic that assumes an active account immediately after creation will produce false positives in identity graph state.
A second trap is key-permission inheritance: automations built on a key generated by an Operator-role user will silently fail on admin-scoped endpoints - always generate keys from an Administrator account for full operational coverage. Finally, SCIM Groups provisioning is not confirmed in official documentation;
only User-level SCIM operations are supported, so role assignment via SCIM group push may not behave as expected and should be validated before relying on it in production identity graph sync workflows.
Automate Automox workflows without one-off scripts
Stitchflow builds and maintains end-to-end IT automation across your SaaS stack, including apps without APIs. Built for exactly how your company works, with human approvals where they matter.