Reference
API: Organisations
Who a token acts as, and the organisations it reaches.
Part of the API reference: requests carry a personal access token as Authorization: Bearer <token>, and bodies and answers are JSON.
Organisations
GET /v1/whoami
Who the token acts as
Answer (200)
personobject or nullperson.idintegerperson.namestringperson.emailstring or nullviastringOne ofsession,token,appappstring or nullThe connected app's name when an app is calling.scopestringOne offull,run,readorganisationstring or nullThe one organisation a connected app is limited to; null for all.
curl "https://api.typefuse.dev/v1/whoami" \
-H "Authorization: Bearer $TYPEFUSE_TOKEN"GET /v1/organisations
List your organisations
Answer (200)
organisationsarray
curl "https://api.typefuse.dev/v1/organisations" \
-H "Authorization: Bearer $TYPEFUSE_TOKEN"