Skip to content
GrowSurf logo

Connectors / Marketing · HTTP Connector

GrowSurf integration and API

Create a campaign, add a participant and approve a reward in GrowSurf, and start a workflow when GrowSurf sends “Participant reached a goal”.

What can you do with GrowSurf on Tray.ai?

GrowSurf runs customer referral and affiliate programs for software and online businesses, tracking participants, referrals, rewards, and commissions. Tray.ai connects to GrowSurf through the HTTP Connector, so your workflows can call the GrowSurf API alongside the rest of your stack.

  • When GrowSurf sends “New payout issued”, record the payout in your accounting system.
  • When GrowSurf sends “Participant reached a goal”, let customer success know in your team chat.
  • Add a participant to your referral program when a customer signs up in your billing system.
  • Trigger a referral in GrowSurf when a referred lead becomes a paying customer in your CRM.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.growsurf.com/v2

Set it up

Connect GrowSurf to Tray.ai

Each step uses GrowSurf's own API details, from its documentation.

Save GrowSurf's API token

Save the token GrowSurf issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.growsurf.com/v2 as the base URL. Or paste a cURL example from GrowSurf's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List campaigns”

It's one of 21 documented actions, under Campaigns. The response comes back as data the next step can map into your other apps.

Start workflows from GrowSurf events

Give GrowSurf the URL of a Tray.ai webhook trigger. “Participant reached a goal” can then start a workflow, and so can 3 other events.

Workflows to build with GrowSurf

Connect GrowSurf with Stripe, QuickBooks and Slack

Each one uses actions and events from GrowSurf's own API documentation.

Add new Stripe customers as GrowSurf participants

When

A payment succeeds in Stripe

Then

  1. Add a participant with the customer email
  2. Trigger a referral to credit the referrer

With Stripe

Log new affiliate commissions in QuickBooks

When

New commission added

Then

  1. List commissions for the affiliate
  2. Create a bill for the affiliate in QuickBooks

With QuickBooks

Tell the team in Slack when a referrer hits a goal

When

Participant reached a goal

Then

  1. List participant rewards for the participant
  2. Post the participant and reward to the growth channel in Slack

With Slack

Apps you can build on GrowSurf data

Internal tools your team can build with an AI assistant, each one using GrowSurf calls from its API documentation.

Reward approval board

Lists pending participant rewards so a marketer can approve each one and mark it as sent.

Affiliate commission review

Lists affiliate commissions so finance can approve valid ones and delete invalid ones before payout.

Referral program leaderboard

Shows top participants and their referrals for each campaign so the team can see what is working.

GrowSurf MCP server for AI agents

Build an MCP server on GrowSurf in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List campaigns
  • List participants
  • List participant rewards
  • List referrals and invites
  • List commissions
  • List webhooks
  • Create a campaign
  • Update a campaign

What the GrowSurf API covers

6 resources and 21 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Campaigns

  • List campaigns
  • Create a campaign
  • Update a campaign
  • Clone a campaign

Participants

  • List participants
  • Add a participant
  • Update a participant
  • Delete a participant
  • Trigger a referral

Participant rewards

  • List participant rewards
  • Approve a reward
  • Mark a reward as sent
  • Delete a reward

Referrals

  • List referrals and invites
  • Send participant invites

Affiliate commissions

  • List commissions
  • Approve a commission
  • Delete a commission

Webhooks

  • List webhooks
  • Create a webhook
  • Delete a webhook

Events GrowSurf can send to a Tray.ai webhook trigger

  • Participant reached a goal
  • New commission added
  • Commission adjusted
  • New payout issued

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

docs.growsurf.com/developer-tools/rest-api/api-reference

Frequently asked questions

What can a Tray.ai workflow do in GrowSurf?

The GrowSurf API documents 21 actions across 6 resources (Campaigns, Participants, Participant rewards, Referrals, Affiliate commissions, Webhooks). For example: List campaigns; List participants; List participant rewards. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with GrowSurf?

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

Which GrowSurf events can start a Tray.ai workflow?

GrowSurf sends 4 events to a webhook URL, for example: Participant reached a goal; New commission added; Commission adjusted; New payout issued. A Tray.ai webhook trigger receives them and starts a workflow.

See GrowSurf 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.