Rolyx API openapi.json

Who this token is

GET https://api.rolyx.app/v1/me

Scope: any valid token · Operation getMe

The token's name, prefix, scopes and expiry, and the spaces it reaches: your personal space (its id is your user id) and the shared items you're a member of, each with your role and the shared item's top node. A token limited to some spaces lists only those; one with only write scopes lists only spaces it may write.

Example

curl 'https://api.rolyx.app/v1/me' \
  -H "Authorization: Bearer $ROLYX_TOKEN"

Response

200, JSON.

NameTypeDescription
namestringThe name it was given in Settings → API.
prefixstringIts first 12 characters, as Settings shows them.
scopesarray of string
≤ 4 items
expiresAtstring or nullWhen it stops working; null = never.
format date-time
createdAtstring
format date-time
spacesarray of object
spaces[].idstring
format uuid
spaces[].kindstringpersonal: everything of yours not shared. shared: a shared item and everything under it.
one of personal, shared
spaces[].rolestringEditors and owners write; viewers only read.
one of owner, editor, viewer
spaces[].rootIdstring or nullA shared space's top node; null for the personal space.
{
  "name": "Laptop script",
  "prefix": "rlx_3f9a2b1c",
  "scopes": [
    "nodes:read",
    "nodes:write"
  ],
  "expiresAt": null,
  "createdAt": "2026-11-25T09:00:00.000Z",
  "spaces": [
    {
      "id": "0b7e9a52-1c3d-4e5f-8a9b-0c1d2e3f4a5b",
      "kind": "personal",
      "role": "owner",
      "rootId": null
    },
    {
      "id": "5d1c0e2f-7a8b-4c9d-8e0f-1a2b3c4d5e6f",
      "kind": "shared",
      "role": "editor",
      "rootId": "019ab1c2-3d4e-7f00-8a1b-2c3d4e5f6a7b"
    }
  ]
}

Errors

Always { "error": { "code", "message" } }; see Errors.

StatusCodeWhen
400bad_requestBad input: unknown field, wrong type, too long.
401unauthorizedMissing, malformed, expired or revoked token.
403insufficient_scopeThe token lacks the scope this endpoint needs.
404not_foundNo such resource, or the token cannot see it.
429rate_limitedRate limited; see retry-after.
500internalInternal error.
502upstream_errorThe database failed.
503unavailableThe API is not set up on this server.