> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sendrealm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Personal Account

> Inspect the owner, personal-key scopes, and bounded grant counts.

Account discovery requires a personal key and does not require a selected project. The response includes operation scopes, grant version, and team/project counts in `grant_summary`. Discover authorized IDs with the team and project endpoints; full saved grants remain visible to the signed-in owner in Personal API Keys.


## OpenAPI

````yaml api-reference/openapi.json GET /me
openapi: 3.0.1
info:
  title: Sendrealm API
  description: >-
    API for email, push, audience resources, domains, campaign drafts,
    templates, events, topics, and automations
  license:
    name: MIT
  version: 0.2.0
servers:
  - url: https://api.sendrealm.com
security:
  - bearerAuth: []
paths:
  /me:
    get:
      summary: Get personal credential owner
      description: >-
        Validate an initialized personal access key without selecting a project.
        Return owner, scopes, grant version, expiry and bounded grant counts.
        Team/project discovery intersects saved grants with current membership
        and role. Integration keys are rejected; no secrets are returned.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                  data:
                    type: object
                    properties:
                      user:
                        $ref: '#/components/schemas/PersonalKeyOwner'
                      credential:
                        $ref: '#/components/schemas/PersonalKeyCredentialSummary'
                    required:
                      - user
                      - credential
                    additionalProperties: false
                  metadata:
                    $ref: '#/components/schemas/PaginationMetadata'
                required:
                  - data
                additionalProperties:
                  $ref: '#/components/schemas/JsonValue'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PersonalKeyOwner:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        email:
          type: string
          format: email
      required:
        - id
        - name
        - email
      additionalProperties:
        $ref: '#/components/schemas/JsonValue'
    PersonalKeyCredentialSummary:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        preview:
          type: string
          description: Nonsecret preview; secret is shown only once at creation.
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/PersonalKeyScope'
        grant_summary:
          type: object
          properties:
            teams:
              type: integer
            projects:
              type: integer
          required:
            - teams
            - projects
          additionalProperties: false
        grant_version:
          type: integer
          minimum: 0
        grants_initialized_at:
          type: string
          format: date-time
          nullable: true
        expires_at:
          type: string
          format: date-time
          nullable: true
        last_used_at:
          type: string
          format: date-time
          nullable: true
        created_at:
          type: string
          format: date-time
      required:
        - id
        - name
        - preview
        - scopes
        - grant_summary
        - grant_version
        - grants_initialized_at
        - expires_at
        - last_used_at
      additionalProperties: false
    PaginationMetadata:
      type: object
      required:
        - total
        - items
        - limit
        - after
        - next
        - has_more
      properties:
        total:
          type: integer
        items:
          type: integer
        limit:
          type: integer
        after:
          type: string
          nullable: true
        next:
          type: string
          nullable: true
        has_more:
          type: boolean
    JsonValue:
      oneOf:
        - type: string
          nullable: true
        - type: number
        - type: boolean
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
    PersonalKeyScope:
      type: string
      description: >-
        Explicit current MCP operation. All scopes is this saved list; future
        operations require an owner edit.
      enum:
        - resources.read
        - diagnostics.read
        - audiences.write
        - topics.write
        - campaigns.draft.write
        - automations.draft.write
        - automation_tests.write
        - automation_runs.manage
        - push_apps.write
        - push.test.send
        - events.ingest
        - automations.trigger
    Error:
      type: object
      required:
        - status
        - error
      properties:
        status:
          type: integer
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details:
              $ref: '#/components/schemas/JsonValue'
            issues:
              type: array
              items:
                $ref: '#/components/schemas/ValidationIssue'
    ValidationIssue:
      type: object
      required:
        - code
        - path
        - message
      properties:
        code:
          type: string
        path:
          type: string
          nullable: true
        message:
          type: string
  responses:
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Integration key for backend workloads, or a scoped personal key
        (sr_user_) for account discovery and supported project operations. MCP
        accepts only personal keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.