Developer
Quickstart
Two requests: get a token, then call the API. Client credentials are provided by 9ID.
1. Get an access token
curl -X POST https://auth.nineid.cloud/auth/app-oauth \
-d grant_type=client_credentials \
-d client_id=YOUR_CLIENT_ID \
-d client_secret=YOUR_CLIENT_SECRET{
"access_token": "...",
"token_type": "Bearer",
"expires_in": 7200
} 2. Call the API
curl "https://YOUR_TENANT.nineid.cloud/api/external/v2/users?page=0&pageSize=15" \
-H "Authorization: Bearer ACCESS_TOKEN"{
"data": [ ... ],
"page": 0,
"pageSize": 15,
"count": 128,
"sort": "createdAt:asc"
} List endpoints take page (starts at 0), pageSize and sort. Users also take updatedSince to fetch only recent changes.
Want to see it on your own site?
Tell us what the gate has to do. We show you the matching flow.