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

# Get Admin Inbox

> Returns a list of pending join requests that the authenticated user is authorized to approve or reject.



## OpenAPI

````yaml /openapi.yaml get /v1/me/inbox
openapi: 3.1.0
info:
  title: px0 API
  description: >
    px[0] is an open-source prompt infrastructure toolkit for managing prompts
    in production. It replaces hardcoded prompt strings with versioned
    templates, in-process caching, and OpenTelemetry observability, so teams can
    iterate on prompts without touching application code. This is the OpenAPI
    specification for all the public APIs of px0.
  version: 1.0.0
servers:
  - url: http://localhost:3000
    description: Local development server
security: []
paths:
  /v1/me/inbox:
    get:
      tags:
        - Inbox
      summary: Get Admin Inbox
      description: >-
        Returns a list of pending join requests that the authenticated user is
        authorized to approve or reject.
      operationId: getAdminInbox
      responses:
        '200':
          description: A list of pending join requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  inbox:
                    type: array
                    items:
                      $ref: '#/components/schemas/InboxItem'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
      security:
        - BearerAuth: []
components:
  schemas:
    InboxItem:
      type: object
      required:
        - id
        - type
        - status
        - created_at
        - updated_at
        - payload
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - join_request
          example: join_request
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        payload:
          oneOf:
            - $ref: '#/components/schemas/JoinRequestPayload'
    APIError:
      type: object
      properties:
        error:
          type: string
          example: invalid credentials
      required:
        - error
    JoinRequestPayload:
      type: object
      required:
        - user_id
        - user_email
        - team_id
        - team
      properties:
        user_id:
          type: string
          format: uuid
        user_email:
          type: string
          format: email
        team_id:
          type: string
          format: uuid
        team:
          $ref: '#/components/schemas/Team'
    Team:
      type: object
      required:
        - id
        - name
        - created_at
      properties:
        id:
          type: string
          format: uuid
        org_id:
          type: string
          format: uuid
        name:
          type: string
        created_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Use an access token retrieved from login (Bearer sess_...) or a
        programmatic API key (Bearer ak_...).

````