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

# Offers

> Your RevShare offers, one per OnlyFans account.



## OpenAPI

````yaml GET /revshare/offers
openapi: 3.0.3
info:
  title: OnlyTraffic Studio API
  version: 1.1.0
  description: >-
    External API for OnlyTraffic Studio. Manage and retrieve data about your
    subscribers, CPL campaigns, CPC orders and CPC campaigns.
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).
  - name: Cross-promo
    description: Cross-promo pools, creatives and the publication log.
paths:
  /revshare/offers:
    get:
      tags:
        - RevShare
      summary: Offers
      description: Your RevShare offers, one per OnlyFans account.
      operationId: getRevshareOffers
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PageSize'
        - name: of_account_id
          in: query
          schema:
            type: integer
          description: Filter by OnlyFans account id (must be one of your accounts).
        - name: status
          in: query
          schema:
            type: string
            enum:
              - active
              - moderation
              - disabled
              - rejected
          description: Filter by offer status.
        - name: sort
          in: query
          schema:
            type: string
            enum:
              - updated_at_desc
              - created_at_desc
              - created_at_asc
              - share_desc
              - fans_desc
              - revenue_desc
            default: updated_at_desc
          description: Sort order.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RevshareOffer'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation error
          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:
    RevshareOffer:
      type: object
      properties:
        of_account_id:
          type: integer
          description: >-
            OnlyFans account the offer belongs to. Matches the `of_account_id`
            returned by `/accounts`.
          example: 123456
        username:
          type: string
          description: OnlyFans username of the account.
          example: jane_doe
        article:
          type: string
          nullable: true
          description: Your article for the account, as shown in Studio.
          example: AG283
        status:
          type: string
          enum:
            - active
            - moderation
            - disabled
            - rejected
            - unknown
          description: |-
            Offer status.
            - `active`: visible to partners.
            - `moderation`: waiting for review.
            - `disabled`: switched off (drafts too).
            - `rejected`: see `reject_reason`.
          example: active
        is_draft:
          type: boolean
          description: Created by the first deposit and never submitted.
          example: false
        reject_reason:
          type: string
          nullable: true
          description: Moderation reason, for rejected offers only.
          example: null
        share_percent:
          type: integer
          description: >-
            Partner share in percent, paid to partners in full (the platform fee
            is not included).
          example: 40
        free_trial_days:
          type: integer
          description: >-
            Longest free trial partners may run, in days; 0 = no free trial
            campaigns.
          example: 7
        prohibited_sources:
          type: array
          items:
            type: string
          description: Traffic sources you do not accept.
          example:
            - reddit
            - tiktok
        account_disabled:
          type: boolean
          description: >-
            The account is disabled on the platform; the offer cannot be
            changed.
          example: false
        campaigns:
          type: object
          description: RevShare campaigns on the account.
          properties:
            active:
              type: integer
              example: 3
            total:
              type: integer
              example: 12
        fans_total:
          type: integer
          description: Fans brought by RevShare campaigns.
          example: 1240
        revenue_cents:
          type: integer
          description: What those fans spent, net of the OnlyFans fee, in cents.
          example: 1040000
        arpu_cents:
          type: integer
          description: Fan spend per fan brought, in cents; null without fans.
          example: 839
          nullable: true
        deposit:
          type: object
          description: Guarantee deposit, in cents.
          properties:
            covered_cents:
              type: integer
              description: Held for this offer.
              example: 20000
            minimum_cents:
              type: integer
              description: What the offer needs; 0 = not required.
              example: 20000
            missing_cents:
              type: integer
              description: Still missing to reach the minimum.
              example: 0
        created_at:
          type: string
          format: date-time
          nullable: true
          example: '2026-07-13T10:20:00Z'
        created_at_ts:
          type: integer
          nullable: true
          example: 1783938000
        updated_at:
          type: string
          format: date-time
          nullable: true
          description: Last settings change in Studio; moderation decisions do not move it.
          example: '2026-09-25T09:00:00Z'
        updated_at_ts:
          type: integer
          nullable: true
          example: 1790326800
    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

````