Authentication
Users authenticate via OAuth through the Synthetiq Desktop app or CLI. Sessions are managed automatically by the platform.Current user
organization is null when there is no live membership to report — either your
token carries no active organization, or it names one you have since been
removed from.
Updating your avatar
Your avatar starts as whatever picture your identity provider supplied. To replace it, upload an image and then point your profile at it.Request an upload URL
PUT your image bytes to uploadUrl. This does not change your profile on its
own. Any avatar you previously uploaded is deleted when you call this.
Point your profile at it
avatar_url must be a URL issued to you by the upload endpoint — arbitrary URLs
are rejected, because every client renders this field as an image on member
lists and comment threads other people see.
Passing null clears your uploaded avatar and falls back to your identity
provider’s picture.
Your provider’s picture is recorded once, when your account is first created.
Nothing overwrites it afterwards, so signing in again will not revert an avatar
you have set.
Your access token carries
org_role and org_scopes claims, but those are
stamped in when the token is issued and are never revalidated. If your role
changes, or someone edits your role’s scopes, the token keeps reporting the old
values until it refreshes. Call this endpoint when you need your permissions as
they are right now — it reads from the database, not the token.
