Skip to content
Last updated

Get a list of all member user IDs in the organization.

POST/v1/organizations/{organization_id}/users/ids

organization_id string required

Organization ID

Query Parameters

include_deleted boolean optional ยท Defaults to false

Include soft-deleted members.

Returns

Returns an array of user IDs.

Authorization

Requires Admin or Owner role.

Bash
curl -X POST https://api.aitronos.com/v1/organizations/org_abc123/users/ids \
  -H "X-API-Key: $FREDDY_API_KEY"

Response:

[
  "usr_abc123",
  "usr_def456",
  "usr_xyz789"
]