Skip to content

Get user

Start from the script setup block, then add the snippet code below.

# ... script setup ...
USER_ID = "your-user-id"
user = api_get(f"/v1/organization/{ORGANIZATION_ID}/users/{USER_ID}")
print(json.dumps(user, indent=2))