Skip to content

Connectors / Marketing · HTTP Connector

Automate TUNE with Tray.ai

Create an offer, create an affiliate and create an advertiser in TUNE. Connect TUNE to the rest of your marketing stack with Tray.ai.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with TUNE on Tray.ai?

TUNE, formerly HasOffers, is a partner marketing platform that networks use to run affiliate offers, track conversions, manage partners, and pay commissions. Tray.ai connects to TUNE through the HTTP Connector, so your workflows can call the TUNE API alongside the rest of your stack. API access comes through TUNE's partner program or API plan, so you need approved credentials first.

  • Create a conversion when your ecommerce platform records a sale from an affiliate link.
  • Get affiliate commissions monthly and send the totals to finance for payout.
  • Update a conversion status to rejected when your billing system records a refund.
  • Create an affiliate when a partner application is approved in your CRM.
Connects through
HTTP Connector
Authentication
An API key in the query string
Base URL
https://{network_id}.api.hasoffers.com/Apiv3/json

What the TUNE API covers

5 resources and 18 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. TUNE gives API access on request, so approved credentials come first.

Offers

  • List offers
  • Get an offer
  • Create an offer
  • Update an offer
  • Set affiliate approval

Affiliates

  • List affiliates
  • Get an affiliate
  • Create an affiliate
  • Block an affiliate

Advertisers

  • List advertisers
  • Get an advertiser
  • Create an advertiser

Conversions

  • List conversions
  • Create a conversion
  • Update a conversion status

Reports

  • Get stats
  • Get conversion reports
  • Get affiliate commissions

Checked against TUNE's own documentation on 2026-10-22

developers.tune.com/network

Frequently asked questions

What can a Tray.ai workflow do in TUNE?

+

The TUNE API documents 18 actions across 5 resources (Offers, Affiliates, Advertisers, Conversions, Reports). For example: List offers; List affiliates; List advertisers. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with TUNE?

+

The TUNE API uses an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Do I need special access to the TUNE API?

+

Yes. TUNE gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.

See TUNE working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.