Descanto Docs
CantoAPI Reference

Me

Who-am-I resolution from the bearer credential.

Get the caller's identity

GET /v1/me

curl -sS "$BASE/me" -H "$AUTH"

Response (MeResponse):

{ "org_id": "org_...", "auth_kind": "api_key" }
FieldTypeDescription
org_idstringThe caller's org
auth_kindstring"api_key" or "session" -- which credential form authenticated this request
StatusMeaning
200The caller's org and how they authenticated
401Missing/invalid credentials

See Concepts: Orgs and auth for the two credential forms.

On this page