APIAccount

Get the current user

GET /me

GET
/me
AuthorizationBearer <token>

ChatPRD API key from Settings → API Keys, sent as Authorization: Bearer <key>. Read-only keys carry the connector:read scope; read/write keys also carry connector:write. Requires a Pro, Team or Enterprise plan.

In: header

Scope: connector:read

Response Body

curl -X GET "https://app.chatprd.ai/api/connectors/v1/me"
{
  "id": "user_2abc…",
  "name": "string",
  "email": "user@example.com",
  "plan": "string",
  "key": {
    "name": "string",
    "scopes": [
      "connector:read"
    ]
  },
  "organizations": [
    {
      "id": "org_2abc…",
      "name": "string"
    }
  ]
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Invalid or missing API key."
  }
}