Platform

Who am I and where am I working

Returns the acting user, the organisation (tenant) this call resolved to, the modules that organisation has enabled, the commercial tier it holds on each, and the exact set of things this credential may do. CALL THIS FIRST: every other tool is gated on what it reports, so knowing it saves you from guessing which tools exist. Costs nothing and reads no business data.

Examples

  • What can you do in Custodo? GET /api/v1/rest/whoami
get/api/v1/rest/whoami

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/whoami
  • Auth: HTTP bearer

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.