> ## 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

> List CPL offers you have published.



## OpenAPI

````yaml GET /cpl/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:
  /cpl/my-offers:
    get:
      tags:
        - CPL
      summary: Your published CPL offers.
      description: List CPL offers you have published.
      operationId: listCplMyOffers
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PageSize'
        - name: id
          in: query
          schema:
            type: integer
        - name: of_account_id
          in: query
          schema:
            type: integer
        - name: status
          in: query
          schema:
            type: string
            enum:
              - moderation
              - rejected
              - active
              - paused
              - closed
        - name: search
          in: query
          schema:
            type: string
            maxLength: 255
        - name: sort
          in: query
          schema:
            type: string
            enum:
              - created_at_desc
              - created_at_asc
              - updated_at_desc
              - updated_at_asc
            default: created_at_desc
      responses:
        '200':
          description: Paged list.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CplClientOffer'
                  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:
    CplClientOffer:
      type: object
      description: >-
        A CPL offer you have published for marketers to fulfil (the inverse of
        `/cpl/offers`). Carries pricing, channel set, budget, trial config, and
        lifecycle status.
      properties:
        id:
          type: integer
        status:
          type: string
          enum:
            - moderation
            - rejected
            - active
            - paused
            - closed
        moderation_note:
          type: string
          nullable: true
          description: Admin reviewer note on rejection / changes.
        model:
          type: object
          nullable: true
          properties:
            of_account_id:
              type: integer
            username:
              type: string
              nullable: true
            subscribe_price:
              type: number
              format: float
            session_status:
              type: string
              nullable: true
        prices:
          type: object
          description: >-
            What you pay marketers per delivered conversion. At least one is
            set; `null` means that conversion type is not paid out.
          properties:
            per_subscription:
              type: number
              format: float
              nullable: true
              description: USD per subscriber. Range 0.3..5.
            per_messages:
              type: number
              format: float
              nullable: true
              description: USD per fan with ≥3 messages. Range 1..15.
            per_first_purchase:
              type: number
              format: float
              nullable: true
              description: USD per fan's first paid purchase. Range 5..60.
            per_paid_subscription:
              type: number
              format: float
              nullable: true
              description: USD per paid subscription. Paid-model only. Range 3..99.
        budget:
          type: object
          properties:
            total:
              type: number
              format: float
              description: Lifetime cap. Min 1000.
            spent:
              type: number
              format: float
              description: Already paid out.
            max_per_day:
              type: integer
              minimum: 1
              description: Daily cap on conversions.
        trial:
          type: object
          properties:
            free_trial_enabled:
              type: boolean
              description: Free trial. Paid-model only.
            free_trial_days:
              type: integer
              nullable: true
              description: Required when `free_trial_enabled=true`.
            trial_order_enabled:
              type: boolean
              description: Whether to allow small-batch "trial" first orders.
            trial_fan_count:
              type: integer
              nullable: true
              description: Required when `trial_order_enabled=true`.
        content_channels:
          type: array
          items:
            type: string
            enum:
              - lifestyle
              - tiktok
              - lingerie
              - light_nudes
              - nudes
        blocked_sources:
          type: array
          items:
            type: string
            enum:
              - instagram
              - tiktok
              - twitter
              - reddit
              - google
              - telegram
              - tinder
              - facebook
              - youtube
              - onlyfans
        description:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
          nullable: true
        created_at_ts:
          type: integer
          nullable: true
        updated_at:
          type: string
          format: date-time
          nullable: true
        updated_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.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your API key from the Studio Dashboard

````