Skip to content
Baremetrics logo

Connectors / Finance · HTTP Connector

Baremetrics integration and API

Create a customer, create a subscription and create a plan in Baremetrics. Connect Baremetrics to the rest of your finance stack with Tray.ai.

What can you do with Baremetrics on Tray.ai?

Baremetrics is a subscription analytics tool that tracks MRR, churn, lifetime value and other revenue metrics from billing data, with dunning and cancellation insights. Tray.ai connects to Baremetrics through the HTTP Connector, so your workflows can call the Baremetrics API alongside the rest of your stack.

  • Show a metrics summary every Monday and post MRR and churn to the leadership channel in your team chat.
  • Create a customer in Baremetrics when an account signs a contract in your CRM, so revenue tracking starts on day one.
  • List events each day and send cancellations to your customer success team for follow-up.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.baremetrics.com

Set it up

Connect Baremetrics to Tray.ai

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

Save Baremetrics's API token

Save the token Baremetrics 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.baremetrics.com as the base URL. Or paste a cURL example from Baremetrics's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List customers”

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

Hand it to an AI agent

Wrap “Create a customer” and “Update a customer” 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 Baremetrics

Connect Baremetrics with Slack and HubSpot

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

Post Baremetrics MRR and churn to Slack each week

When

On a schedule

Then

  1. Show a metrics summary
  2. Post MRR, churn and new revenue to the leadership channel in Slack

With Slack

Add closed HubSpot deals to Baremetrics

When

A deal is won in HubSpot

Then

  1. Create a customer
  2. Create a subscription on the matching plan

With HubSpot

Apps you can build on Baremetrics data

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

Revenue metrics dashboard

Shows MRR, churn, and other summary metrics next to revenue goals and annotations.

Churned customer review

Lists recent subscription events such as cancellations with the customer and plan so success teams can follow up.

Subscription lookup

Finds a customer's subscriptions and lets finance cancel one.

Baremetrics MCP server for AI agents

Build an MCP server on Baremetrics 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 customers
  • List subscriptions
  • List plans
  • List charges
  • Show a metrics summary
  • List annotations
  • Create a customer
  • Update a customer

What the Baremetrics API covers

6 resources and 15 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.

Customers

  • List customers
  • Create a customer
  • Update a customer
  • Delete a customer

Subscriptions

  • List subscriptions
  • Create a subscription
  • Cancel a subscription

Plans

  • List plans
  • Create a plan

Charges

  • List charges
  • Create a charge

Metrics

  • Show a metrics summary
  • List events

Annotations and goals

  • List annotations
  • List goals

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

developers.baremetrics.com/reference

Frequently asked questions

What can a Tray.ai workflow do in Baremetrics?

The Baremetrics API documents 15 actions across 6 resources (Customers, Subscriptions, Plans, Charges, Metrics, Annotations and goals). For example: List customers; List subscriptions; List plans. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Baremetrics?

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

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