Skip to content
TeamGram logo

Connectors / Sales · HTTP Connector

TeamGram integration and API

Create a contact, create a company and create or edit a lead in TeamGram, and start a workflow when TeamGram sends “Contact created”.

What can you do with TeamGram on Tray.ai?

TeamGram is a CRM for small and midsize businesses that tracks contacts, companies, leads, opportunities, quotes and orders, with product and inventory records. Tray.ai connects to TeamGram through the HTTP Connector, so your workflows can call the TeamGram API alongside the rest of your stack.

  • When TeamGram sends “Order created”, create the invoice in your accounting system.
  • Add the lead to a welcome sequence in your email marketing tool when TeamGram sends “Lead created”.
  • Bulk update prices when the product team changes the price list in your ERP.
  • Post the change to the sales channel in your team chat when TeamGram sends “Opportunity updated”.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.teamgram.com

Set it up

Connect TeamGram to Tray.ai

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

Save TeamGram's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key 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.teamgram.com as the base URL. Or paste a cURL example from TeamGram's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List contacts”

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

Start workflows from TeamGram events

Give TeamGram the URL of a Tray.ai webhook trigger. “Contact created” can then start a workflow, and so can 6 other events.

Workflows to build with TeamGram

Connect TeamGram with QuickBooks, Slack and HubSpot

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

Create QuickBooks invoices from TeamGram orders

When

Order created

Then

  1. List orders in TeamGram to get the order lines
  2. Create an invoice in QuickBooks

With QuickBooks

Notify sales in Slack when a TeamGram opportunity changes

When

Opportunity updated

Then

  1. List opportunities in TeamGram to get the new stage
  2. Post a message to the sales channel in Slack

With Slack

Sync new TeamGram contacts to HubSpot

When

Contact created

Then

  1. View a contact in TeamGram
  2. Create a contact in HubSpot

With HubSpot

Apps you can build on TeamGram data

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

Lead conversion queue

Lists leads and lets a rep update status or convert a qualified lead.

Order desk

Lists orders by company and lets sales staff edit an order.

Opportunity board

Lists open opportunities and lets reps update their status.

Give your AI agents TeamGram tools

Build an MCP server on TeamGram 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 contacts
  • List companies
  • List leads
  • List opportunities
  • List orders
  • List products
  • View a contact
  • Create a contact

What the TeamGram API covers

6 resources and 25 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

  • List contacts
  • View a contact
  • Create a contact
  • Edit a contact
  • Delete a contact

Companies

  • List companies
  • Create a company
  • Edit a company
  • Delete a company

Leads

  • List leads
  • Create or edit a lead
  • Convert a lead
  • Update lead status

Opportunities

  • List opportunities
  • Create an opportunity
  • Edit an opportunity
  • Update opportunity status

Orders

  • List orders
  • Create an order
  • Edit an order
  • Delete an order

Products

  • List products
  • Create a product
  • Edit a product
  • Bulk update prices

Events TeamGram can send to a Tray.ai webhook trigger

  • Contact created
  • Contact updated
  • Company created
  • Lead created
  • Opportunity updated
  • Order created
  • Product deleted

Checked against TeamGram's own documentation on 2026-11-03

apidocs.teamgram.com

Frequently asked questions

What can a Tray.ai workflow do in TeamGram?

The TeamGram API documents 25 actions across 6 resources (Contacts, Companies, Leads, Opportunities, Orders, Products). For example: List contacts; List companies; List leads. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with TeamGram?

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

Which TeamGram events can start a Tray.ai workflow?

TeamGram sends 7 events to a webhook URL, for example: Contact created; Contact updated; Company created; Lead created; Opportunity updated; Order created; Product deleted. A Tray.ai webhook trigger receives them and starts a workflow.

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