Skip to main content
POST
/
internal
/
organization-users
Get users for an organization
curl --request POST \
  --url https://auth.platform.arb.inc/internal/organization-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationID": "c17c3433-81b3-4096-90e0-9fbb32c06204"
}
'
{
  "users": [
    {
      "id": "8b7f5a1e-3c2d-4e9a-9b33-2a1f7f8a9c10"
    },
    {
      "id": "13af1f0e-4d6a-4207-8a2f-2f1e3b4c5d6e"
    }
  ]
}

Authorizations

Authorization
string
header
required

access token

Body

application/json
organizationID
string<uuid>
required

The ID of the organization to look up.

Example:

"c17c3433-81b3-4096-90e0-9fbb32c06204"

Response

200 - application/json

Users successfully retrieved.

users
object[]

List of users in the organization.

Example:
[
{
"id": "8b7f5a1e-3c2d-4e9a-9b33-2a1f7f8a9c10"
},
{
"id": "13af1f0e-4d6a-4207-8a2f-2f1e3b4c5d6e"
}
]