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

# Create Offer URL

Create a new offer URL. You must specify the associated offer, the destination URL, and the URL status. Optionally configure affiliate targeting to restrict which affiliates can use this URL.


## OpenAPI

````yaml openapi/offer-urls.yaml post /networks/offerurls
openapi: 3.0.3
info:
  title: Everflow Network API - Offer URLs
  description: >
    Endpoints for managing offer URLs in the Everflow network. Offer URLs let
    you add additional landing page destinations inside an offer — use them for
    A/B testing, seasonal pages, or directing traffic to specific product pages
    while maintaining tracking consistency. For details, see the [Offer URLs
    guide](https://helpdesk.everflow.io/customer/how-to-use-offer-urls).
  version: 1.0.0
servers:
  - url: https://api.eflow.team/v1
security: []
tags:
  - name: Offer URLs
paths:
  /networks/offerurls:
    post:
      tags:
        - Offer URLs
      summary: Create Offer URL
      requestBody:
        required: true
        content:
          application/json:
            example:
              network_offer_id: 6
              name: Offer URL Name
              destination_url: https://example.com/lp2?tid={transaction_id}
              preview_url: https://example.com/preview
              url_status: active
              is_apply_specific_affiliates: true
              network_affiliate_ids:
                - 7
                - 14
              is_hidden_affiliate: true
            schema:
              type: object
              required:
                - network_offer_id
                - name
                - destination_url
                - is_apply_specific_affiliates
                - is_hidden_affiliate
              properties:
                network_offer_id:
                  type: integer
                  description: The ID of the offer to which this offer URL is associated.
                name:
                  type: string
                  description: The name of the offer URL.
                destination_url:
                  type: string
                  description: The URL the offer URL will redirect to.
                preview_url:
                  type: string
                  description: A preview URL, if it exists.
                url_status:
                  type: string
                  enum:
                    - active
                    - paused
                    - deleted
                  description: Status of the offer URL setting.
                is_apply_specific_affiliates:
                  type: boolean
                  description: >
                    Determines whether this offer URL applies to all affiliates
                    or only to a select few. When true, the
                    network_affiliate_ids array must be filled.
                network_affiliate_ids:
                  type: array
                  nullable: true
                  items:
                    type: integer
                  description: >
                    The IDs of the affiliates that are to be affected by the
                    offer URL. Only relevant when is_apply_specific_affiliates
                    is true.
                is_hidden_affiliate:
                  type: boolean
                  description: >
                    Determines whether affiliates will see this offer URL or not
                    in the affiliate UI / API.
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OfferUrl'
      security:
        - API Key: []
components:
  schemas:
    OfferUrl:
      type: object
      properties:
        network_offer_url_id:
          type: integer
          description: Unique offer URL ID.
        network_id:
          type: integer
          description: Network ID.
        network_offer_id:
          type: integer
          description: The ID of the offer to which this offer URL is associated.
        name:
          type: string
          description: The name of the offer URL.
        destination_url:
          type: string
          description: The URL the offer URL will redirect to.
        preview_url:
          type: string
          description: A preview URL, if it exists.
        url_status:
          type: string
          enum:
            - active
            - paused
            - deleted
          description: Status of the offer URL setting.
        network_affiliate_ids:
          type: array
          nullable: true
          items:
            type: integer
          description: >
            The IDs of the affiliates that are to be affected by the offer URL.
            Only relevant when is_apply_specific_affiliates is true.
        is_apply_specific_affiliates:
          type: boolean
          description: >
            Determines whether this offer URL applies to all affiliates or only
            to a select few. When true, the network_affiliate_ids array must be
            filled.
        is_hidden_affiliate:
          type: boolean
          description: >
            Determines whether affiliates will see this offer URL or not in the
            affiliate UI / API.
        time_created:
          type: integer
          example: 1734455015
          description: Unix timestamp of creation.
        time_saved:
          type: integer
          example: 1734455015
          description: Unix timestamp of last update.
        remote_offer_resource:
          type: object
          description: Remote offer resource configuration.
          properties:
            network_offer_id:
              type: integer
            network_id:
              type: integer
            resource_type:
              type: string
            remote_resource_id:
              type: string
            resource_id:
              type: integer
            last_value_md5:
              type: string
            json_config:
              type: string
            json_data:
              type: string
            time_created:
              type: integer
              example: 1734455015
            time_saved:
              type: integer
              example: 1734455015
  securitySchemes:
    API Key:
      description: The Everflow API key generated from the Control Center > Security.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey

````