Who am I
keeping_meGet authenticated user details including ID, name, role, and organisation. Optionally specify an organisation ID if the token has access to multiple organisations.
Instructions
Returns the authenticated user (id, first_name, surname, code, role, state) wrapped under a user key, plus the resolved organisation_id. Identity is cached for the server's lifetime. Pass the optional organisation_id input to override the KEEPING_ORG_ID default; required when the token has access to multiple organisations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organisation_id | No | Override KEEPING_ORG_ID. Required when token has access to multiple orgs. |