Skip to main content
GET
/
v3
/
users
/
{user_id}
/
grants
cURL
curl --request GET \
  --url https://api.ctrl-hub.com/v3/users/{user_id}/grants \
  --header 'X-Session-Token: <api-key>'
{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organisations": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "grants": [
    "<string>"
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Session-Token
string
header
required

Session token for authentication.

Path Parameters

user_id
string<uuid>
required

The unique identifier for the user.

Response

The user's hydrated organisations and expanded grant strings.

user_id
string<uuid>
required
organisations
object[]
required
grants
string[]
required