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

# List my invitations

> Lists the organization invitations sent to the signed-in user's email address.



## OpenAPI

````yaml /api-reference/cloud-platform-openapi.json get /v1/users/me/invitations
openapi: 3.1.0
info:
  description: Account, organization, workspace and billing routes of NEAR AI Cloud.
  title: NEAR AI Cloud Platform API
  version: '5'
servers:
  - url: https://cloud-platform.near.ai
    description: NEAR AI Cloud Platform
security: []
paths:
  /v1/users/me/invitations:
    get:
      tags:
        - Invitations
      summary: List my invitations
      description: >-
        Lists the organization invitations sent to the signed-in user's email
        address.
      operationId: list_user_invitations
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OrganizationInvitationWithOrgResponse'
                type: array
          description: The user's invitations.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Missing or invalid credential.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal error.
      security:
        - session: []
components:
  schemas:
    OrganizationInvitationWithOrgResponse:
      allOf:
        - $ref: '#/components/schemas/OrganizationInvitationResponse'
        - properties:
            invited_by_display_name:
              type:
                - string
                - 'null'
            organization_name:
              type: string
          required:
            - organization_name
          type: object
      description: >-
        An invitation with the name of the organization and of the person who
        sent it.
    ErrorResponse:
      description: The body of every error answer on the user routes.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      type: object
    OrganizationInvitationResponse:
      description: An invitation to join an organization.
      properties:
        created_at:
          format: date-time
          type: string
        email:
          type: string
        expires_at:
          format: date-time
          type: string
        id:
          type: string
        organization_id:
          type: string
        responded_at:
          format: date-time
          type:
            - string
            - 'null'
        role:
          $ref: '#/components/schemas/MemberRole'
        status:
          $ref: '#/components/schemas/InvitationStatus'
      required:
        - id
        - organization_id
        - email
        - role
        - status
        - created_at
        - expires_at
      type: object
    ErrorDetail:
      properties:
        code:
          type:
            - string
            - 'null'
        message:
          type: string
        param:
          type:
            - string
            - 'null'
        type:
          type: string
      required:
        - message
        - type
      type: object
    MemberRole:
      description: Member role enum for API
      enum:
        - owner
        - admin
        - member
      type: string
    InvitationStatus:
      description: Organization invitation status
      enum:
        - pending
        - accepted
        - declined
        - expired
      type: string
  securitySchemes:
    session:
      bearerFormat: Session token
      description: 'Session token from signing in, sent as `Authorization: Bearer <token>`.'
      scheme: bearer
      type: http

````

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