Connectors / E-commerce · HTTP Connector
Gumroad integration and API
Create a product and create an offer code in Gumroad, and start a workflow when Gumroad sends “Sale”.
What can you do with Gumroad on Tray.ai?
Gumroad is a platform for creators to sell digital products, memberships and courses directly to buyers, handling checkout, payouts and license keys. Tray.ai connects to Gumroad through the HTTP Connector, so your workflows can call the Gumroad API alongside the rest of your stack.
- When Gumroad sends “Sale”, record the order and revenue in your accounting system.
- When Gumroad sends “Dispute”, alert finance in your team chat with the sale details.
- When Gumroad sends “Subscription ended”, remove the member's access in your community platform.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0
- Base URL
- https://api.gumroad.com/v2
Set it up
Connect Gumroad to Tray.ai
Each step uses Gumroad's own API details, from its documentation.
Sign in to Gumroad with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Gumroad. Sign in once and every step reads the token from there.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.gumroad.com/v2 as the base URL. Or paste a cURL example from Gumroad's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List products”
It's one of 20 documented actions, under Products. The response comes back as data the next step can map into your other apps.
Start workflows from Gumroad events
Give Gumroad the URL of a Tray.ai webhook trigger. “Sale” can then start a workflow, and so can 7 other events.
Workflows to build with Gumroad
Connect Gumroad with HubSpot, Xero and Slack
Each one uses actions and events from Gumroad's own API documentation.
Add new Gumroad buyers to HubSpot
When
Sale
Then
- Get a sale for the buyer and product
- Create or update the contact in HubSpot
With HubSpot
Record Gumroad sales in Xero
When
Sale
Then
- Get a sale for the amount and fees
- Create a sales receipt in Xero
With Xero
Alert the team in Slack about a new dispute
When
Dispute
Then
- Get a sale for the order details
- Post the dispute to the finance channel in Slack
With Slack
Apps you can build on Gumroad data
Internal tools your team can build with an AI assistant, each one using Gumroad calls from its API documentation.
Refund request desk
Lets support find a sale by buyer and refund it, with the sale details shown first.
Sales and disputes dashboard
Shows sales, refunds and disputes by product so a creator business can track revenue and problems.
Gumroad MCP server for AI agents
Build an MCP server on Gumroad 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 products
- List sales
- List offer codes
- Verify a license
- List subscribers
- Subscribe to a resource
- Get a product
- Create a product
What the Gumroad API covers
6 resources and 20 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. New to APIs? Read what an API integration is.
Products
- List products
- Get a product
- Create a product
- Update a product
Sales
- List sales
- Get a sale
- Mark a sale as shipped
- Refund a sale
Offer codes
- List offer codes
- Create an offer code
- Update an offer code
Licenses
- Verify a license
- Enable a license
- Disable a license
- Rotate a license key
Subscribers
- List subscribers
- Get a subscriber
Resource subscriptions
- Subscribe to a resource
- List resource subscriptions
- Unsubscribe from a resource
Events Gumroad can send to a Tray.ai webhook trigger
- Sale
- Refund
- Dispute
- Dispute won
- Cancellation
- Subscription updated
- Subscription ended
- Subscription restarted
Checked against Gumroad's own documentation on 2026-10-22
How Tray.ai makes this work
Gumroad plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in Gumroad, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose Gumroad actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on Gumroad data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore E-commerce apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every e-commerce connector →
Frequently asked questions
What can a Tray.ai workflow do in Gumroad?
The Gumroad API documents 20 actions across 6 resources (Products, Sales, Offer codes, Licenses, Subscribers, Resource subscriptions). For example: List products; List sales; List offer codes. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Gumroad?
The Gumroad API uses OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Gumroad events can start a Tray.ai workflow?
Gumroad sends 8 events to a webhook URL, for example: Sale; Refund; Dispute; Dispute won; Cancellation; Subscription updated; Subscription ended; Subscription restarted. A Tray.ai webhook trigger receives them and starts a workflow.
See Gumroad working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.