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

# List Connection Invite Tokens

> List all the created connection invite tokens for a given Organization.



## OpenAPI

````yaml get /provisioning/organizations/{organization_id}/connection-invite-tokens
openapi: 3.1.0
info:
  title: Leen Security API
  version: 0.0.1
servers:
  - description: Production API (US)
    url: https://api.leen.dev/v1
  - description: Production API (EU)
    url: https://api.eu-c1.leen.dev/v1
  - description: Production API (APAC)
    url: https://api.ap-se2.leen.dev/v1
security: []
paths:
  /provisioning/organizations/{organization_id}/connection-invite-tokens:
    get:
      tags:
        - provisioning
      summary: List Connection Invite Tokens
      description: List all the created connection invite tokens for a given Organization.
      operationId: list_connection_invite_tokens
      parameters:
        - in: path
          name: organization_id
          required: true
          schema:
            format: uuid
            title: Organization Id
            type: string
        - in: query
          name: limit
          required: false
          schema:
            default: 100
            minimum: 0
            title: Limit
            type: integer
        - in: query
          name: offset
          required: false
          schema:
            default: 0
            minimum: 0
            title: Offset
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/OffsetPaginatedResponse_ConnectionInviteTokenRespModel_
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - API-Key: []
components:
  schemas:
    OffsetPaginatedResponse_ConnectionInviteTokenRespModel_:
      properties:
        count:
          description: Number of items return in the response
          title: Count
          type: integer
        items:
          description: The records on this page.
          items:
            $ref: '#/components/schemas/ConnectionInviteTokenRespModel'
          title: Items
          type: array
        total:
          anyOf:
            - type: integer
            - type: 'null'
          description: Total number of items that can be returned
          title: Total
      required:
        - count
        - items
      title: OffsetPaginatedResponse[ConnectionInviteTokenRespModel]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ConnectionInviteTokenRespModel:
      properties:
        connection_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: >-
            The connection this token creates, once redeemed. Set in advance
            when the token was issued to re-authorise an existing connection
            rather than make a new one.
          title: Connection Id
        created_at:
          description: When the token was issued.
          format: date-time
          title: Created At
          type: string
        expires_at:
          description: >-
            When the token stops being accepted. Redeeming it after this fails,
            whether or not it was ever used.
          format: date-time
          title: Expires At
          type: string
        id:
          description: Leen's identifier for this invite token.
          format: uuid
          title: Id
          type: string
        source_connection_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: For a destination connection, the source whose data it will forward.
          title: Source Connection Id
        used_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When the token was redeemed. Null while it is still outstanding.
          title: Used At
        vendors:
          description: >-
            Vendors this token may be used to connect. A token created for one
            vendor lists only that vendor; one created without a vendor lists
            everything the environment is entitled to.
          items:
            $ref: '#/components/schemas/ConnectionVendorsEnum'
          title: Vendors
          type: array
      required:
        - id
        - vendors
        - created_at
        - expires_at
      title: ConnectionInviteToken
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    ConnectionVendorsEnum:
      enum:
        - AIKIDO
        - ARNICA
        - TENABLE
        - QUALYS
        - SNYK
        - CROWDSTRIKE
        - CROWDSTRIKE_SPOTLIGHT
        - MS_DEFENDER_CLOUD
        - MS_DEFENDER_ENDPOINT
        - MS_DEFENDER_VMS
        - MS_DEFENDER_VMS_GCC_HIGH
        - SENTINELONE
        - SENTINELONE_VMS
        - SEMGREP
        - INSIGHTVM
        - AWS_SECURITYHUB
        - LACEWORK_CSPM
        - MS_ENTRA
        - AWS_INSPECTOR2
        - AWS_ACCESS_ANALYSER
        - AWS_GUARDDUTY
        - OKTA_IDP
        - WIZ_VMS
        - WIZ_CODE
        - WIZ_CSPM
        - GITLAB
        - TANIUM_VMS
        - UPWIND
        - CHECKMARX
        - MEND
        - ORCA
        - GITHUB
        - HEELER
        - SERVICENOW
        - SERVICENOW_VR
        - BLACK_KITE
        - BIT_SIGHT
        - JIRA
        - SECURITY_SCORECARD
        - PROCESSUNITY
        - SERVICENOW_ITSM
        - SONARQUBE
        - BLACK_DUCK_COVERITY
        - BLACK_DUCK_SCA
        - SOCKET
        - MS_INTUNE
        - PROOFPOINT_TAP
      title: ConnectionVendorsEnum
      type: string
  securitySchemes:
    API-Key:
      in: header
      name: X-API-KEY
      type: apiKey

````

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