QRdx
HelpGuidesDevelopersReact librarySelf-hosting

Get the profile

The id, name, email and avatar of the user who created the API key or authorized the token.

Keys and tokens only: a browser session gets 401.

Scope: profile:read, for API keys and OAuth tokens alike.

GET
/me

Authorization

headerAuthorizationBearer <qrdx_ followed by 40 letters and digits>

An API key, sent as Authorization: Bearer qrdx_…. Create one in Settings → API keys & apps: it is shown once. A key acts on the workspace it was created in as its creator, with their current role there, and only within its scopes, the same scopes as OAuth (each operation names the one it needs). API keys.

Response Body

The user

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.qrdx.dev/v1/me'
Example Response
{  "data": {    "id": "user_8f3k2m1n0p9q",    "name": "Ada Lovelace",    "email": "ada@example.com",    "image": null  }}

Last updated on