Skip to main content
GET
/
v1
/
me
Current user and granted API scopes
curl --request GET \
  --url https://api.natecosmic.com/v1/me \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "email": "<string>",
    "display_name": "<string>"
  },
  "scopes": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Send the access token as a bearer credential. Available scopes: certification_records:read, certification_records:write, certification_types:read, certification_types:write, job_roles:read, job_roles:write, organization_members:read, organization_members:write, organizations:read, organizations:write, qualifications:read, qualifications:write. The scope query parameter on the OAuth authorize URL (for example openid, email, profile) only affects sign-in and identity; it is separate from these API scopes, which are configured per app in the developer portal and returned by GET /v1/me.

Response

User and scopes (integration tokens only)

Current user and, for OAuth integration tokens, COSMIC API scopes on this access token

user
object
required
scopes
string[]
required

Distinct permissions from the JWT for OAuth integration tokens; empty for first-party user sessions.