Skip to content
UpViral logo

Connectors / Marketing · HTTP Connector

UpViral integration and API

Add a contact in UpViral. Connect UpViral to the rest of your marketing stack with Tray.ai.

What can you do with UpViral on Tray.ai?

UpViral is a referral marketing tool for running viral giveaways and referral campaigns that reward contacts for sharing with friends. Tray.ai connects to UpViral through the HTTP Connector, so your workflows can call the UpViral API alongside the rest of your stack.

  • Add a contact to a referral campaign when a customer signs up in your app.
  • Add points to a contact when their referral converts to a paid customer in your billing system.
  • Find a contact by email to show their referral count in your CRM.
Connects through
HTTP Connector
Authentication
An API key in the request body
Base URL
https://app.upviral.com/api/v1

Set it up

Connect UpViral to Tray.ai

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

Save UpViral's API key

Save the key as a Tray.ai authentication and add it to the request body from $.auth, so it never sits in the workflow itself.

Point the HTTP Client at the API

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

Start with “Get contact details”

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

Hand it to an AI agent

Wrap “Add a contact” and “Find a contact by email” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.

Workflows to build with UpViral

Connect UpViral with HubSpot and Shopify

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

Add HubSpot form leads to an UpViral campaign

When

A form is submitted in HubSpot

Then

  1. Find a contact by email to avoid duplicates
  2. Add a contact to the referral campaign

With HubSpot

Give UpViral points for Shopify purchases

When

An order is paid in Shopify

Then

  1. Find a contact by email for the buyer
  2. Add points to a contact for the purchase

With Shopify

Apps you can build on UpViral data

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

Referral leaderboard

Lists contacts in a campaign with their referral points so marketing can see top sharers.

Contest points adjuster

Finds a contact by email and lets a marketer add bonus points to them.

Give your AI agents UpViral tools

Build an MCP server on UpViral 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

  • Add a contact
  • List campaigns
  • Get contact details
  • Find a contact by email
  • List contacts
  • Add points to a contact
  • List campaign custom fields

What the UpViral API covers

2 resources and 7 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.

Contacts

  • Add a contact
  • Get contact details
  • Find a contact by email
  • List contacts
  • Add points to a contact

Campaigns

  • List campaigns
  • List campaign custom fields

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

www.upviral.com/api

Frequently asked questions

What can a Tray.ai workflow do in UpViral?

The UpViral API documents 7 actions across 2 resources (Contacts, Campaigns). For example: Add a contact; List campaigns. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with UpViral?

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

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