Skip to main content
GET
/
v1
/
auth
/
me
Obter usuario autenticado
curl --request GET \
  --url http://localhost:4000/v1/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "user": {
    "id": "<string>",
    "displayName": "<string>",
    "email": "jsmith@example.com",
    "username": "<string>",
    "avatarUrl": "<string>"
  },
  "identities": [
    {
      "id": "<string>",
      "provider": "<string>",
      "providerUserId": "<string>",
      "email": "jsmith@example.com",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "workspaces": [
    {
      "id": "ws_123",
      "slug": "refy-labs",
      "name": "Refy Labs",
      "plan": "starter",
      "status": "active"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Contexto do usuario autenticado

user
object
identities
object[]
workspaces
object[]