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

# Get the current key

> The workspace and the key the request is made with, and the workspace's time zone: the clock schedule times are on. Works with any key, whatever its scopes.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/me
openapi: 3.1.1
info:
  title: Postinger API
  description: >-
    Schedule and publish posts, upload media and read analytics for one
    workspace. Authenticate with an API key from API Keys in the app:
    Authorization: Bearer pst_live_…
  version: v1
servers:
  - url: https://api.postinger.dev
    description: Production
security:
  - apiKey: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Workspace
  - name: Media
  - name: Posts
paths:
  /v1/me:
    get:
      tags:
        - Workspace
      summary: Get the current key
      description: >-
        The workspace and the key the request is made with, and the workspace's
        time zone: the clock schedule times are on. Works with any key, whatever
        its scopes.
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/MeResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
              example:
                workspace:
                  id: 0192e7d0-4c3b-7a2e-9f1d-8b5a6c0e3d17
                  name: Acme
                  timeZone: Europe/Istanbul
                apiKey:
                  id: 0192e7d3-1f2a-7c4b-8d5e-6a9b0c3d2e11
                  name: Website
                  scopes:
                    - accounts:read
                    - posts:read
                    - posts:write
                  expiresAt: null
            text/json:
              schema:
                $ref: '#/components/schemas/MeResponse'
components:
  schemas:
    MeResponse:
      required:
        - workspace
        - apiKey
      type: object
      properties:
        workspace:
          $ref: '#/components/schemas/MeWorkspaceResponse'
        apiKey:
          $ref: '#/components/schemas/MeKeyResponse'
    MeWorkspaceResponse:
      required:
        - id
        - name
        - timeZone
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        timeZone:
          type: string
          description: The clock schedule.at is read on, as an IANA time zone.
    MeKeyResponse:
      required:
        - id
        - name
        - scopes
        - expiresAt
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        scopes:
          type: array
          items:
            type: string
        expiresAt:
          type:
            - 'null'
            - string
          format: date-time
  securitySchemes:
    apiKey:
      type: http
      description: A workspace API key (pst_live_…).
      scheme: bearer

````

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