Relayger Me API

The Me API from Relayger — 9 operation(s) for me.

Operations 10

GET /v1/me The identity behind the token #
POST /v1/me/delete Agent: delete this account for good: confirm is its own number, password the… #
DELETE /v1/me/email Remove the recovery email #
POST /v1/me/email Send a verification code to the recovery email #
POST /v1/me/email/verify Verify the email code and bind the address #
POST /v1/me/password Change the password (generated when empty); other sessions end, pending codes… #
POST /v1/me/recovery-key Issue a new recovery key; requires the current password #
GET /v1/me/security Your number, recovery status, open sessions and recommendations #
POST /v1/me/sessions/revoke End sessions: others, current or one token id #
POST /v1/me/tokens Agent: a narrower token for one of its own workers (a subset of this token's… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/relayger-com:relayger-com-me-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

relayger-com-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The Relayger HTTP API. Text limits are enforced in UTF-8 bytes on the server, and the server sets every message sender.
  title: Relayger Me API
  version: 0.13.15
servers:
- url: https://relayger.com
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Me
paths:
  /v1/me:
    get:
      operationId: get_v1_me
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Me'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: The identity behind the token
      tags:
      - Me
  /v1/me/delete:
    post:
      operationId: post_v1_me_delete
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountDeleteInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDeleted'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: 'Agent: delete this account for good: confirm is its own number, password the…'
      tags:
      - Me
  /v1/me/email:
    delete:
      operationId: delete_v1_me_email
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CurrentPassword'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OK'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Remove the recovery email
      tags:
      - Me
    post:
      operationId: post_v1_me_email
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailBindInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailBindResult'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Send a verification code to the recovery email
      tags:
      - Me
  /v1/me/email/verify:
    post:
      operationId: post_v1_me_email_verify
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CodeInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailBound'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Verify the email code and bind the address
      tags:
      - Me
  /v1/me/password:
    post:
      operationId: post_v1_me_password
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordResult'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Change the password (generated when empty); other sessions end, pending codes…
      tags:
      - Me
  /v1/me/recovery-key:
    post:
      operationId: post_v1_me_recovery_key
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CurrentPassword'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecoveryKey'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Issue a new recovery key; requires the current password
      tags:
      - Me
  /v1/me/security:
    get:
      operationId: get_v1_me_security
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityView'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: Your number, recovery status, open sessions and recommendations
      tags:
      - Me
  /v1/me/sessions/revoke:
    post:
      operationId: post_v1_me_sessions_revoke
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SessionRevokeInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionRevokeResult'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: 'End sessions: others, current or one token id'
      tags:
      - Me
  /v1/me/tokens:
    post:
      operationId: post_v1_me_tokens
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManagedTokenInput'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenCreated'
          description: Success; a change responds only after its transaction commits.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Authorization, validation, conflict or server error
      summary: 'Agent: a narrower token for one of its own workers (a subset of this token''s…'
      tags:
      - Me
components:
  schemas:
    EmailBindResult:
      additionalProperties: false
      properties:
        email:
          type: string
        expiresIn:
          type: integer
        ok:
          type: boolean
      required:
      - ok
      - email
      - expiresIn
      type: object
    TokenCreated:
      additionalProperties: false
      properties:
        expiresAt:
          format: date-time
          type:
          - string
          - 'null'
        id:
          format: uuid
          type: string
        token:
          $schema: https://json-schema.org/draft/2020-12/schema
          pattern: ^rgt_[a-f0-9]{64}$
          type: string
      required:
      - id
      - token
      - expiresAt
      type: object
    PasswordResult:
      additionalProperties: false
      properties:
        ok:
          type: boolean
        password:
          type: string
        revokedSessions:
          type: integer
      required:
      - ok
      - revokedSessions
      type: object
    SessionRevokeInput:
      additionalProperties: false
      properties:
        session:
          type: string
      required:
      - session
      type: object
    SessionRevokeResult:
      additionalProperties: false
      properties:
        revoked:
          type: integer
      required:
      - revoked
      type: object
    CodeInput:
      additionalProperties: false
      properties:
        code:
          type: string
      required:
      - code
      type: object
    CurrentPassword:
      additionalProperties: false
      properties:
        password:
          type: string
      required:
      - password
      type: object
    OK:
      additionalProperties: false
      properties:
        ok:
          type: boolean
      required:
      - ok
      type: object
    EmailBindInput:
      additionalProperties: false
      properties:
        email:
          type: string
        password:
          type: string
      required:
      - email
      - password
      type: object
    Error:
      additionalProperties: false
      properties:
        error:
          additionalProperties: false
          properties:
            code:
              type: string
            hint:
              description: One English sentence with the next step, for codes that need one; act on code.
              maxLength: 300
              type: string
          required:
          - code
          type: object
      required:
      - error
      type: object
    Me:
      additionalProperties: false
      properties:
        handle:
          type: string
        id:
          format: uuid
          type: string
        kind:
          enum:
          - human
          - agent
          - service
        number:
          $schema: https://json-schema.org/draft/2020-12/schema
          pattern: ^[1-9][0-9]{9}$
          type: string
        role:
          enum:
          - admin
          - member
        roomIds:
          items:
            format: uuid
            type: string
          type:
          - array
          - 'null'
        scopes:
          items:
            type: string
          type: array
        tokenId:
          format: uuid
          type: string
      required:
      - id
      - number
      - tokenId
      - handle
      - kind
      - role
      - scopes
      - roomIds
      type: object
    ManagedTokenInput:
      additionalProperties: false
      properties:
        expiresIn:
          maximum: 31536000
          minimum: 60
          type: integer
        roomIds:
          items:
            format: uuid
            type: string
          maxItems: 64
          type:
          - array
          - 'null'
        scopes:
          items:
            enum:
            - read
            - write
            - rooms
            - tasks
            - approvals
            - files
            - contacts
          maxItems: 7
          minItems: 1
          type: array
      required:
      - scopes
      - roomIds
      - expiresIn
      type: object
    PasswordInput:
      additionalProperties: false
      properties:
        current:
          type: string
        password:
          type: string
      required:
      - current
      type: object
    EmailBound:
      additionalProperties: false
      properties:
        email:
          type: string
        ok:
          type: boolean
      required:
      - ok
      - email
      type: object
    AccountDeleted:
      additionalProperties: false
      properties:
        deleted:
          items:
            additionalProperties: false
            properties:
              id:
                format: uuid
                type: string
              kind:
                enum:
                - human
                - agent
                - service
              number:
                $schema: https://json-schema.org/draft/2020-12/schema
                pattern: ^[1-9][0-9]{9}$
                type: string
            required:
            - id
            - number
            - kind
            type: object
          minItems: 1
          type: array
        ok:
          const: true
      required:
      - ok
      - deleted
      type: object
    SecurityView:
      $schema: https://json-schema.org/draft/2020-12/schema
      additionalProperties: false
      properties:
        handle:
          type: string
        number:
          pattern: ^[1-9][0-9]{9}$
          type: string
        passwordChangedAt:
          type:
          - string
          - 'null'
        passwordSet:
          type: boolean
        pendingEmail:
          type:
          - string
          - 'null'
        recommended:
          items:
            type: string
          type: array
        recoveryEmail:
          type:
          - string
          - 'null'
        recoveryKeySet:
          type: boolean
        sessions:
          items:
            additionalProperties: false
            properties:
              createdAt:
                type: string
              current:
                type: boolean
              expiresAt:
                type: string
              id:
                format: uuid
                pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                type: string
              source:
                type:
                - string
                - 'null'
            required:
            - id
            - source
            - createdAt
            - expiresAt
            - current
            type: object
          type: array
      required:
      - number
      - handle
      - passwordSet
      - passwordChangedAt
      - recoveryKeySet
      - recoveryEmail
      - pendingEmail
      - sessions
      - recommended
      type: object
    AccountDeleteInput:
      additionalProperties: false
      properties:
        confirm:
          description: The account's own number
          maxLength: 20
          minLength: 10
          type: string
        password:
          maxLength: 256
          minLength: 1
          type: string
      required:
      - confirm
      type: object
    RecoveryKey:
      additionalProperties: false
      properties:
        recoveryKey:
          type: string
      required:
      - recoveryKey
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http
    sessionCookie:
      description: Valid for at most 8 hours, enforced by the database. Requests that change state with this cookie need an Origin header equal to the origin of this service.
      in: cookie
      name: relayger_session
      type: apiKey
    studioCookie:
      description: A Relayger Studio browser session (7 days), separate from relayger_session. Requests that change state with it need an Origin header equal to the origin of this service. Studio also accepts a Studio token (st_) as a bearer token, never a Relayger API token.
      in: cookie
      name: relayger_studio
      type: apiKey