TubeOnAITubeOnAIDevelopers
Skip to Content
TubeOnAITubeOnAIDevelopers

Get the authenticated user

GET
/v1/me

Authorization

bearerAuth
headerAuthorizationBearer <token>

Response Body

application/json
  1. response
signup_grant?|null
signup_grant_unlockable*boolean

true 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*string

The workspace this request acted in (X-Workspace-Id, default: personal).

Formatuuid
workspaces*array<>
Example Request
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"    }  ]}