1. Affiliate
UpPromote Public API
  • API Overview
  • API Changelog
  • Program
    • Get programs
      GET
    • Get a program by ID
      GET
    • Get excluded products/collections of a program
      GET
  • Affiliate
    • Get affiliates
      GET
    • Get affiliate by ID
      GET
    • Download affiliate W-9 form
      GET
    • Create an affiliate
      POST
    • Approve/Deny affiliate
      POST
    • Set upline for an affiliate
      POST
    • Move an affiliate to a program
      POST
    • Get connected customer list
      GET
    • Connect a customer to an affiliate
      POST
    • Delete a customer connection
      DELETE
  • Coupon
    • Get coupons
      GET
    • Assign a coupon to an affiliate
      POST
  • Payment
    • Get unpaid payments
      GET
    • Get paid payments (History)
      GET
    • Count total paid payments
      GET
    • Get a payment by ID
      GET
    • Mark as paid a manual payment
      POST
  • Referral
    • Get list referrals
      GET
    • Get a referral by ID
      GET
    • Approve/Deny referral
      POST
    • Create a referral
      POST
    • Add referral adjustment
      POST
  • Analytic
    • Get performance summary
    • Get commission breakdown
    • Get referrals by tracking type
    • Get top affiliates
  • Webhook
    • Get webhook subscriptions
    • Subscribe a webhook event
    • Update a webhook subscription
    • Delete a webhook subscription
  • Webhook Event Payload
    • Webhook overview
    • Referral new
    • Referral approved
    • Referral denied
    • Referral status changed
    • Affiliate new
    • Affiliate approved
    • Affiliate inactive
    • Affiliate status changed
    • Payment paid
  1. Affiliate

Download affiliate W-9 form

GET
/api/v2/affiliates/{id}/w9-form/download
Returns a 302 redirect to a temporary, signed download link for the W-9 form file of the affiliate. Follow the redirect to download the file; the file is served as an attachment (Content-Disposition: attachment).
The link in the Location header expires after a short time (4 hours by default). Call this endpoint again whenever you need a new link — do not store the link.
The w9_form field returned by Get affiliates and Get affiliate by ID points to this endpoint when the affiliate has submitted a W-9 form.
The Authorization header is only required on this endpoint. Do not forward it to the redirected URL: configure your HTTP client to drop it on redirect, or read the Location header and request it separately.

Request

Authorization
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Path Params

Header Params

Responses

🔵302Success
Redirect to the signed download link of the W-9 form file. The response has no body.
Headers

This response does not have a body.
🟠400Invalid affiliate
🟠404
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://aff-api.uppromote.com/api/v2/affiliates/2011818/w9-form/download' \
--header 'Accept: application/json' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json'
Response Response Example
400 - Invalid affiliate
{
    "status": 400,
    "message": "The affiliate id is invalid.",
    "data": []
}
Modified at 2026-10-30 07:58:57
Previous
Get affiliate by ID
Next
Create an affiliate
Built with