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

# My Offers



## OpenAPI

````yaml GET /swaps/my-offers
openapi: 3.0.3
info:
  title: OnlyTraffic Studio API
  version: 1.0.0
  description: >-
    External API for OnlyTraffic Studio. Manage and retrieve data about your
    subscribers, CPL orders, and CPC orders.
servers:
  - url: https://studio-api.onlytraffic.com/api/external/v1
security:
  - ApiKeyAuth: []
tags:
  - name: Account
    description: API key holder's wallet, profile, and aggregate state.
  - name: Accounts
    description: OnlyFans accounts attached to the API key holder.
  - name: Agencies
    description: Agency CRUD and image management. All edits stage in moderation.
  - name: CPL
    description: >-
      Cost-per-lead orders: place, list, cancel, manage settings, browse partner
      offers.
  - name: CPC
    description: Cost-per-click orders and creative management.
  - name: RevShare
    description: Revenue-share campaigns and invoices.
  - name: Swaps
    description: Two-sided traffic swap orders and offers.
  - name: Subscribers
    description: Per-fan delivery feed (cursor-paginated).
  - name: Transactions
    description: Per-transaction OF revenue feed (cursor-paginated).
paths:
  /swaps/my-offers:
    get:
      tags:
        - Swaps
      summary: Your swap offers.
      operationId: listSwapMyOffers
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PageSize'
        - name: status
          in: query
          schema:
            type: string
            enum:
              - active
              - disabled
        - name: sort
          in: query
          schema:
            type: string
            enum:
              - created_at_desc
              - created_at_asc
            default: created_at_desc
      responses:
        '200':
          description: Paged list of your swap offers.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/SwapMyOffer'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            Server error. Body always reads `{success:false,
            error:"server_error", message:"Server error"}` (no internal details
            leak).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    Page:
      name: page
      in: query
      schema:
        type: integer
        minimum: 1
        default: 1
      description: Page number, 1-indexed.
      example: 1
    PageSize:
      name: page_size
      in: query
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
      description: Items per page. Default 50, max 100.
      example: 50
  schemas:
    SwapMyOffer:
      type: object
      description: >-
        Swap offer owned by you. Same shape as `SwapOffer`, plus `status` and
        `session_status` on the linked model.
      properties:
        offer_id:
          type: integer
        model:
          $ref: '#/components/schemas/SwapMyOfferModel'
        description:
          type: string
        tags:
          type: array
          items:
            type: string
        campaign_type:
          type: string
          enum:
            - free
            - paid
        content_type:
          type: string
          enum:
            - nude
            - light
          description: >-
            Response always returns `nude` or `light`. The `no_nude` value,
            accepted in create/update request bodies, is normalised to `light`
            server-side.
        is_trial:
          type: boolean
        is_free:
          type: boolean
        min_quantity:
          type: integer
        max_quantity:
          type: integer
        max_days:
          type: integer
        trial_days:
          type: integer
          nullable: true
        price:
          type: number
          format: float
        performer_top_required:
          type: integer
          nullable: true
        stats_public_arpu:
          type: boolean
        orders:
          type: object
          properties:
            total:
              type: integer
            current:
              type: integer
            rejected:
              type: integer
            completed:
              type: integer
        campaigns_count:
          type: integer
        campaigns_current:
          type: integer
        is_available:
          type: boolean
        status:
          type: string
          enum:
            - active
            - disabled
        created_at:
          type: string
          format: date-time
          nullable: true
        created_at_ts:
          type: integer
          nullable: true
    Pagination:
      type: object
      description: >-
        Page-based pagination, returned by every list endpoint that isn't a
        cursor feed.
      properties:
        page:
          type: integer
          description: Current page number (1-indexed).
          example: 1
        page_size:
          type: integer
          description: Number of items per page. Default 50, max 100.
          example: 50
        total:
          type: integer
          description: Total number of records matching the filters.
          example: 150
        total_pages:
          type: integer
          description: Total pages available.
          example: 3
        has_next:
          type: boolean
          description: >-
            `true` when `page < total_pages` (i.e. there is at least one more
            page to fetch).
          example: true
    ErrorResponse:
      type: object
      description: Standard error envelope for all 4xx/5xx responses.
      required:
        - success
        - error
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
          description: Always false on error responses.
        error:
          type: string
          description: Stable snake_case machine-readable error code. Branch on this.
          example: validation_failed
        message:
          type: string
          description: >-
            Human-friendly text. For 5xx this is always the literal `Server
            error`. For 4xx an actionable validation/auth message is returned.
        details:
          type: object
          nullable: true
          description: >-
            Optional per-field diagnostic information. On 422 carries `{<field>:
            ["error_code", ...]}`. On 402 (`insufficient_balance`) carries
            `{required, current}`. On 426 (`unpaid_invoices`) carries `{count,
            total, oldest_date_ts}`. Absent on most other errors.
          additionalProperties: true
        retry_after:
          type: integer
          nullable: true
          description: >-
            Seconds until the next request will succeed. Present only on 429
            responses (rate limit). Mirrors the `Retry-After` HTTP header.
    SwapMyOfferModel:
      type: object
      description: OnlyFans account snapshot for one of your own swap offers.
      properties:
        of_account_id:
          type: integer
        username:
          type: string
          nullable: true
        performer_top:
          type: integer
          nullable: true
        subscribe_price:
          type: number
          format: float
        subscribers_count:
          type: integer
        subscribes_count:
          type: integer
        favorited_count:
          type: integer
        posts_count:
          type: integer
        session_status:
          type: string
          nullable: true
          description: >-
            OF session state. `active` means the offer can run; anything else
            hides the offer from the public listing.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your API key from the Studio Dashboard

````