UpPromote Marketplace API
    UpPromote Marketplace API
    • Get offers
      GET
    • Get affiliate links
      GET
    • Get referral orders
      GET
    • Get payments
      GET

      Get affiliate links

      GET
      /api/v1/affiliate-link/data
      Retrieve the list of affiliate links for the offers you've joined on the UpPromote Marketplace. Each offer will have one corresponding affiliate link. This endpoint supports pagination and returns only links for offers which are currently active on the Marketplace.
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/api/v1/affiliate-link/data?page=1'
      Response Response Example
      200 - Example 1
      {
          "status": 200,
          "data": [
              {
                  "current_page": 1,
                  "first_page_url": "/?page=1",
                  "per_page": 10,
                  "from": 1,
                  "to": 10,
                  "data": [
                      {
                          "id": 12345,
                          "offer_name": "Test store",
                          "affiliate_link": "https://yourshopdomain.com?sca_ref=upprote"
                      }
                  ]
              }
          ]
      }

      Request

      Authorization
      Provide your bearer token in the
      Authorization
      header when making requests to protected resources.
      Example:
      Authorization: Bearer ********************
      Query Params
      page
      integer <int64>
      optional
      Return the specified page of results. Default is page 1.
      Default:
      1
      Example:
      1

      Responses

      🟢200OK
      application/json
      Successful operation
      Body
      status
      integer 
      optional
      Example:
      200
      data
      array [object {6}] 
      optional
      current_page
      integer 
      optional
      The current page number being returned in the response.
      Default:
      1
      Example:
      1
      first_page_url
      string 
      optional
      Example:
      /?page=1
      per_page
      integer 
      optional
      The number of the affiliate links returned per page.
      Default:
      10
      Example:
      10
      from
      integer 
      optional
      The index of the first link shown on this page.
      Example:
      1
      to
      integer 
      optional
      The index of the last link shown on this page.
      Example:
      10
      data
      array [object {3}] 
      optional
      🟠401Unauthorized
      🟠422Parameter Error
      🔴500Server Error
      Modified at 2025-07-03 03:49:04
      Previous
      Get offers
      Next
      Get referral orders
      Built with