Resolve any identifier to its owner

View as Markdown

Resolve any identifier token to its canonical entity or person. Tries UUID, then the stable public handle, then external registry ids, then the slug (with redirects). Returns 404 when nothing matches and 409 when an external id maps to multiple owners.

Authentication

AuthorizationBearer

User bearer token: Supabase or Clerk session JWT, Clerk OAuth access token, or Clerk personal API key

OR
X-API-Keystring

Admin API key for system-to-system write operations

OR
X-Client-Secretstring

Client secret for read-only service-to-service access (no writes)

Path parameters

tokenstringRequired

Any identifier: a stable public handle (e.g. eV1StGXR8Z5a), a UUID, an external registry id (ticker, LEI, EIN, …), or a slug.

Response

OK
matchedByenum
Which identifier kind matched the token.
ownerobject

Canonical entity/person owner matched by the token.

publicIdstring or nullOptional

Canonical stable public handle of the resolved subject; null on rows still awaiting handle backfill.

slugstring or nullOptionalformat: "^[a-z0-9_-]+$"<=255 characters
Canonical slug of the resolved subject.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
406
Not Acceptable Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error