Users
List all users
500asc- ascdesc- desc
ascPossible values: Paginated user list
Bad request - invalid input
Unauthorized
Access denied
System error
System not ready for requests
GET /app/api/v1/users HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": "https://example.com",
"previous": "https://example.com",
"results": [
{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}
]
}Create a new user
Body for creating a single user.
admin- adminmember- memberrestricted-read-only- restricted-read-only
Created user
Curated external user shape.
Internal user ID.
User identifier returned by list/create
admin- adminmember- memberrestricted-read-only- restricted-read-only
Bad request - invalid input
Unauthorized
Access denied
System error
System not ready for requests
POST /app/api/v1/users HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 60
{
"email": "name@gmail.com",
"full_name": "text",
"role": "admin"
}{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Get a user by ID
Curated external user shape.
Internal user ID.
User identifier returned by list/create
admin- adminmember- memberrestricted-read-only- restricted-read-only
Bad request - invalid input
Unauthorized
Access denied
Resource not found
System error
System not ready for requests
GET /app/api/v1/users/{user_id} HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Disable a user
Curated external user shape.
Internal user ID.
User identifier returned by list/create
admin- adminmember- memberrestricted-read-only- restricted-read-only
Bad request - invalid input
Unauthorized
Access denied
Resource not found
System error
System not ready for requests
POST /app/api/v1/users/{user_id}/disable HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Enable a user
Curated external user shape.
Internal user ID.
User identifier returned by list/create
admin- adminmember- memberrestricted-read-only- restricted-read-only
Bad request - invalid input
Unauthorized
Access denied
Resource not found
System error
System not ready for requests
POST /app/api/v1/users/{user_id}/enable HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Update a user's role
Body for PUT /app/api/v1/users/<user_id>/role.
admin- adminmember- memberrestricted-read-only- restricted-read-only
Curated external user shape.
Internal user ID.
User identifier returned by list/create
admin- adminmember- memberrestricted-read-only- restricted-read-only
Bad request - invalid input
Unauthorized
Access denied
Resource not found
System error
System not ready for requests
PUT /app/api/v1/users/{user_id}/role HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"role": "admin"
}{
"id": 1,
"user_id": "text",
"email": "name@gmail.com",
"full_name": "text",
"role": "admin",
"active": true,
"last_login_at": "2026-01-01T00:00:00.000Z",
"created_at": "2026-01-01T00:00:00.000Z"
}Bulk create users. Always returns HTTP 200 with per-item results and a summary. Item-level failures use status: "error" and error_msg. Duplicate emails are reported as skipped.
Body for POST /app/api/v1/users/bulk.
Bad request - invalid input
Unauthorized
Access denied
System error
System not ready for requests
POST /app/api/v1/users/bulk HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"users": [
{
"email": "name@gmail.com",
"full_name": "text",
"role": "admin"
}
]
}{
"results": [
{
"user_id": "text",
"status": "succeeded",
"error_msg": "text",
"email": "name@gmail.com"
}
],
"summary": {
"succeeded_count": 1,
"skipped_count": 1,
"error_count": 1
}
}Bulk disable users. Always returns HTTP 200 with per-item results and a summary. Item-level failures use status: "error" and error_msg.
Body for bulk enable/disable.
Bad request - invalid input
Unauthorized
Access denied
System error
System not ready for requests
POST /app/api/v1/users/bulk/disable HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"user_ids": [
"text"
]
}{
"results": [
{
"user_id": "text",
"status": "succeeded",
"error_msg": "text"
}
],
"summary": {
"succeeded_count": 1,
"skipped_count": 1,
"error_count": 1
}
}Bulk enable users. Always returns HTTP 200 with per-item results and a summary. Item-level failures use status: "error" and error_msg.
Body for bulk enable/disable.
Bad request - invalid input
Unauthorized
Access denied
System error
System not ready for requests
POST /app/api/v1/users/bulk/enable HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"user_ids": [
"text"
]
}{
"results": [
{
"user_id": "text",
"status": "succeeded",
"error_msg": "text"
}
],
"summary": {
"succeeded_count": 1,
"skipped_count": 1,
"error_count": 1
}
}Last updated
Was this helpful?