REST APIEndpoint reference
Get the authenticated user
GET
bearerAuthheader
AuthorizationBearer <token>application/json- response
signup_grant?|nullsignup_grant_unlockable*booleantrue only when signup_grant is withheld, the account signed up by email and its
address doesn't duplicate an account that already got the credits: a Google or Apple
sign-in with this address would unlock them.
user*workspace_id*stringThe workspace this request acted in (X-Workspace-Id, default: personal).
Format
uuidworkspaces*array<>curl -X GET 'https://beta.app.tubeonai.com/v1/me'Example Response
{ "signup_grant": "granted", "signup_grant_unlockable": true, "user": { "avatar_url": "string", "display_name": "string", "email": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9", "workspaces": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "name": "string", "role": "string" } ]}