# Rewardful integrations: affiliates and campaigns

> Create an affiliate, create a campaign and create an affiliate link in Rewardful, and start a workflow when Rewardful sends “Affiliate created”.

**Canonical page:** https://tray.ai/connectors/rewardful-integrations/
**Categories:** Marketing
**Connects through:** HTTP Connector

## Overview

Rewardful runs affiliate and referral programs for SaaS companies on Stripe or Paddle, tracking referrals, commissions, and affiliate payouts. Tray.ai connects to Rewardful through the HTTP Connector, so your workflows can call the Rewardful API alongside the rest of your stack.

## Use cases

### Affiliates

Read, create, and update affiliates in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list affiliates and create an affiliate.

- List affiliates
- Create an affiliate
- Get an affiliate

### Campaigns

Read, create, and update campaigns in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list campaigns and create a campaign.

- List campaigns
- Create a campaign
- Get a campaign

### Affiliate links

Read, create, and update affiliate links in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list affiliate links and create an affiliate link.

- List affiliate links
- Create an affiliate link
- Update an affiliate link

### Commissions

Read, update, and delete commissions in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list commissions and get a commission.

- List commissions
- Get a commission
- Update a commission

### Payouts

Read and update payouts in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list payouts and get a payout.

- List payouts
- Get a payout
- Mark a payout as paid

### Affiliate coupons

Read and create affiliate coupons in Rewardful from any Tray.ai workflow. The Rewardful API covers calls such as list affiliate coupons and create an affiliate coupon.

- List affiliate coupons
- Create an affiliate coupon
- Get an affiliate coupon

## Challenges Tray.ai solves

### Keeping Rewardful credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Rewardful credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Rewardful API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Rewardful API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Rewardful?

Yes. Tray.ai connects to Rewardful through the HTTP Connector, which calls the Rewardful API directly. Any call the Rewardful API documents can run as a step in a Tray.ai workflow.

### How does Tray.ai authenticate with Rewardful?

The Rewardful API uses basic authentication. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

### Can I get a dedicated Rewardful connector?

Rewardful runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Rewardful connector from the Rewardful API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
