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

# Export all commissions

> Export all commissions 
 <Tip>**HTTP Request** <br/>` GET  https://api.firstpromoter.com/api/v2/affiliate/commissions/export`</Tip>



## OpenAPI

````yaml openapi-v2-affiliate-commissions get /commissions/export
openapi: 3.0.1
info:
  title: FirstPromoter API
  version: '1.0'
  description: API for managing affiliate commissions
servers:
  - url: https://api.firstpromoter.com/api/v2/affiliate
security:
  - BearerAuth: []
paths:
  /commissions/export:
    get:
      tags:
        - Commissions
      summary: Export all commissions
      description: |-
        Export all commissions 
         <Tip>**HTTP Request** <br/>` GET  https://api.firstpromoter.com/api/v2/affiliate/commissions/export`</Tip>
      parameters:
        - $ref: '#/components/parameters/AccountId'
        - $ref: '#/components/parameters/CommissionFilters'
      responses:
        '200':
          description: Successful response
          content:
            text/csv:
              schema:
                type: string
        '202':
          description: Processing request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      We are processing your request. You will receive an email
                      shortly.
        '401':
          description: >-
            Unauthorized — the Bearer access token is missing, invalid, expired,
            or revoked. No JSON response body is returned.
          content:
            application/json:
              schema:
                type: object
              example: {}
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    AccountId:
      name: Account-ID
      in: header
      required: true
      description: Account identifier that specifies which account is making the request
      schema:
        type: string
        example: acc_123456
    CommissionFilters:
      name: filters
      in: query
      description: Filter parameters
      required: false
      schema:
        type: object
        properties:
          status:
            type: string
            enum:
              - pending
              - approved
              - denied
          paid:
            type: string
            enum:
              - 'yes'
              - 'no'
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Access token passed as a Bearer token in the Authorization header

````