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

# List all organizations

> Retrieve a paginated list of all organizations associated with a store. The endpoint uses the `x-store-id` header for store verification. Supports pagination through `limit`, `page`, and `offset` query parameters.

- **Query Parameters:**
  - `limit` (integer, optional): Number of items per page.
  - `page` (integer, optional): Page number to retrieve.

- **Responses:**
  - `200`: Returns a list of organizations with pagination metadata.
  - `401`: Unauthorized if `x-store-id` is not provided.



## OpenAPI

````yaml /api-reference/blink-api.json get /organizations
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /organizations:
    get:
      tags:
        - Organizations
      summary: List all organizations
      description: >-
        Retrieve a paginated list of all organizations associated with a store.
        The endpoint uses the `x-store-id` header for store verification.
        Supports pagination through `limit`, `page`, and `offset` query
        parameters.


        - **Query Parameters:**
          - `limit` (integer, optional): Number of items per page.
          - `page` (integer, optional): Page number to retrieve.

        - **Responses:**
          - `200`: Returns a list of organizations with pagination metadata.
          - `401`: Unauthorized if `x-store-id` is not provided.
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
          description: Number of items per page.
        - name: page
          in: query
          schema:
            type: integer
          description: Page number to retrieve.
      responses:
        '200':
          description: Organizations retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationsList'
        '401':
          description: Unauthorized - Store ID header missing.
      security:
        - storeIdHeader: []
components:
  schemas:
    OrganizationsList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
            page:
              type: integer
            limit:
              type: integer
            has_more:
              type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/OrganizationDetails'
    OrganizationDetails:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
        organization_name:
          type: string
        billing_email:
          type: string
        created_at:
          type: string
          format: date-time
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````