Skip to main content
GET
/
api
/
v2
/
me
Get current user
curl --request GET \
  --url https://sitegpt.ai/api/v2/me \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "user": {
      "id": "user-id",
      "email": "user@example.com",
      "name": "SiteGPT User"
    },
    "auth": {
      "type": "api-token",
      "scopes": []
    }
  },
  "meta": {
    "requestId": "request-id"
  }
}

Documentation Index

Fetch the complete documentation index at: https://sitegpt.ai/docs/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

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required