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

# Get current key

> The organization, plan, scopes, channel limits and remaining quota of the API key making the request.

Requires the `read` scope.



## OpenAPI

````yaml /openapi.json get /me
openapi: 3.1.0
info:
  title: Autoadify API
  version: 1.0.0
  description: Schedule and publish social posts, manage your media library and more.
servers:
  - url: https://api.autoadify.com/v1
security:
  - apiKey: []
tags:
  - name: Account
    description: The API key making the request.
  - name: Channels
    description: Connected social accounts.
  - name: Posts
    description: Schedule, publish and manage posts.
  - name: Media
    description: The media library.
paths:
  /me:
    get:
      tags:
        - Account
      summary: Get current key
      description: >-
        The organization, plan, scopes, channel limits and remaining quota of
        the API key making the request.


        Requires the `read` scope.
      responses:
        '200':
          description: The key and its organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Me'
        '401':
          description: Missing, invalid, expired or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            The key lacks the scope this endpoint needs (`forbidden_scope`), or
            the plan has no API access (`plan_required`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: >-
            Rate limit (`rate_limited`) or monthly quota (`quota_exceeded`)
            reached. `details.resetsAt` says when to retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Me:
      type: object
      properties:
        organization:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            plan:
              type: string
              enum:
                - FREE
                - PRO
                - TEAM
                - ENTERPRISE
          required:
            - id
            - name
            - plan
          additionalProperties: false
        key:
          type: object
          properties:
            name:
              type: string
            prefix:
              type: string
              description: First characters of the key, for recognising it.
            scopes:
              type: array
              items:
                type: string
                enum:
                  - read
                  - generate
                  - publish
            channels:
              anyOf:
                - type: string
                  const: all
                - type: array
                  items:
                    type: string
              description: '"all", or the channel ids this key is limited to.'
            expiresAt:
              anyOf:
                - type: string
                  format: date-time
                - type: 'null'
          required:
            - name
            - prefix
            - scopes
            - channels
            - expiresAt
          additionalProperties: false
        quota:
          type: object
          properties:
            requestsPerMinute:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            requestsPerMonth:
              anyOf:
                - type: integer
                  minimum: -9007199254740991
                  maximum: 9007199254740991
                - type: 'null'
              description: null = unlimited.
            usedThisMonth:
              type: integer
              minimum: -9007199254740991
              maximum: 9007199254740991
            resetsAt:
              type: string
              format: date-time
          required:
            - requestsPerMinute
            - requestsPerMonth
            - usedThisMonth
            - resetsAt
          additionalProperties: false
      required:
        - organization
        - key
        - quota
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - unauthorized
                - forbidden_scope
                - plan_required
                - reauth_required
                - not_found
                - validation_failed
                - limit_reached
                - duplicate_post
                - conflict
                - rate_limited
                - quota_exceeded
                - internal_error
            message:
              type: string
              description: Human-readable; safe to show to a user.
            details:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key from Autoadify → Settings → Developers, sent as
        `Authorization: Bearer aak_live_…`.

````

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