Skip to content
GET /scim-token

Metadata only. Requires `sso:view`.

Response Body

next_cursorstring,null
prev_cursorstring,null
resultobject[]
created_atstring · date-time
idstring

SCIM token id.

impersonated_by_user_idstring,null

Set when Elaichi support created this token while signed in as user_id (a support session). The token keeps working after the support session ends, but is refused with 403 staff_impersonation_blocked once the organization turns allow_staff_impersonation off, and its actions are audited with metadata.impersonated_by_user_id. null for a token the member created themselves.

last_used_atstring,null · date-time
namestring
organization_idstring

Organization (org_…) it provisions into.

updated_atstring · date-time
user_idstring

User (usr_…) who minted it.

curl -X GET 'https://api.elaichi.ai/scim-token' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/scim-token', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/scim-token"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())