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

# List partner organizations

> Returns organizations owned by the authenticated partner. Optionally filter by the partner-side `externalId`.

> [!NOTE]
>
> Click the base URL in the API playground and select the **Sandbox** host for test data or the **Production** host for live data. Use credentials from the same environment.


## OpenAPI

````yaml /api-reference/openapi.json get /partner/organizations/
openapi: 3.0.0
info:
  title: kelviq API
  version: 1.0.0
  description: >-
    API for interacting with kelviq services, derived from Python SDK
    documentation.
servers:
  - url: https://sandboxapi.kelviq.com/api/v1
    description: Sandbox — Test payments
  - url: https://api.kelviq.com/api/v1
    description: Production — Live payments
security:
  - bearerAuth: []
tags:
  - name: Products
    description: Catalog products.
  - name: Product Settings
    description: Per-product settings (currency, VPN/Tor/proxy, product URL).
  - name: Product Files
    description: Product images and downloadable assets.
  - name: Features
    description: Catalog features that can be granted as plan entitlements.
  - name: Plans
    description: Catalog plans (CRUD, publish, versions, prices).
  - name: Plan Entitlements
    description: Feature entitlements attached to a plan.
  - name: Plan Files
    description: Files attached to plans, and signed download links.
  - name: Media
    description: Generate presigned S3 upload URLs for product/plan images and files.
  - name: Partner
    description: Partner integration APIs (organization provisioning, lookup).
  - name: Charges
    description: >-
      One-time payments charged immediately against a customer's default payment
      method.
  - name: Refunds
    description: Full and partial refunds for paid orders.
  - name: Transactions
    description: >-
      Charges, refunds, disputes, and other financial movements for the
      authenticated organization.
  - name: Payment Methods
    description: Saved customer payment methods (cards, etc.).
  - name: Orders
    description: Completed and resolved orders for the authenticated organization.
  - name: Order Events
    description: Timeline events for a specific order.
  - name: Invoices
    description: Invoices generated for orders and subscription billing cycles.
  - name: Discounts
    description: >-
      Discount codes (coupons) that can be applied to products and plans at
      checkout.
  - name: Webhook Endpoints
    description: >-
      Configure the destination URLs and event subscriptions that receive
      webhook deliveries.
  - name: Webhooks
    description: Delivery logs for webhook events sent to your configured endpoints.
  - name: Checkout Sessions
    description: Merchant-side view of checkout sessions created by customers.
  - name: Checkout Session Events
    description: Timeline events for a specific checkout session.
paths:
  /partner/organizations/:
    get:
      tags:
        - Partner
      summary: List partner organizations
      description: >-
        Returns organizations owned by the authenticated partner. Optionally
        filter by the partner-side `externalId`.
      operationId: listPartnerOrganizations
      parameters:
        - name: external_id
          in: query
          required: false
          description: >-
            If supplied, return only the organization with this partner-side
            identifier.
          example: acme-corp
          schema:
            type: string
      responses:
        '200':
          description: List of organizations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerOrganizationList'
              example:
                results:
                  - userId: 4271
                    organizationIdentifier: 8e1d7b1a-6c4d-4e3a-9b2d-3f6e4c2b1ad0
                    organizationSlug: acme-corp
                    clientKey: ck_live_a1b2c3d4e5f6
                    serverKey: sk_live_9z8y7x6w5v4u
                    partnerExternalId: acme-corp
                count: 1
        '401':
          description: Unauthorized — missing or invalid `X-Kelviq-Partner-Key` header.
      security:
        - partnerKeyAuth: []
components:
  schemas:
    PartnerOrganizationList:
      type: object
      description: List response for partner organizations.
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/PartnerOrganization'
        count:
          type: integer
          description: Total number of organizations matching the query.
          example: 1
    PartnerOrganization:
      type: object
      description: >-
        Organization owned by a partner. Returned by all partner organization
        endpoints.
      properties:
        userId:
          type: integer
          nullable: true
          description: Internal kelviq user ID of the organization owner.
          example: 4271
        organizationIdentifier:
          type: string
          format: uuid
          description: Stable UUID identifier for the organization.
          example: 8e1d7b1a-6c4d-4e3a-9b2d-3f6e4c2b1ad0
        organizationSlug:
          type: string
          nullable: true
          description: URL-safe slug for the organization.
          example: acme-corp
        clientKey:
          type: string
          nullable: true
          description: Public client key for the organization's API integration.
          example: ck_live_a1b2c3d4e5f6
        serverKey:
          type: string
          nullable: true
          description: Private server key for the organization. Treat as a secret.
          example: sk_live_9z8y7x6w5v4u
        partnerExternalId:
          type: string
          nullable: true
          description: Partner-side identifier supplied at provisioning time.
          example: acme-corp
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        The Server API Key obtained from the kelviq application. Pass as a
        Bearer token in the Authorization header. Example: 'Authorization:
        Bearer __YOUR_API_KEY__'
    partnerKeyAuth:
      type: apiKey
      in: header
      name: X-Kelviq-Partner-Key
      description: >-
        Partner integration secret issued by kelviq. Send the raw secret
        (prefixed `kvqp_`) in the `X-Kelviq-Partner-Key` header on every partner
        API request.

````

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