# Kartra integrations: leads, tags and lists

> Create a lead and assign a tag in Kartra, and start a workflow when Kartra sends “Lead buys a product”.

**Canonical page:** https://tray.ai/connectors/kartra-integrations/
**Categories:** Marketing
**Connects through:** HTTP Connector

## Overview

Kartra is an online business platform that combines lead capture, email sequences, checkout, memberships and calendars for people selling courses and services. Tray.ai connects to Kartra through the HTTP Connector, so your workflows can call the Kartra API alongside the rest of your stack. API access comes through Kartra's partner program or API plan, so you need approved credentials first.

## Use cases

### Leads

Read, create, and update leads in Kartra from any Tray.ai workflow. The Kartra API covers calls such as create a lead and edit a lead.

- Create a lead
- Edit a lead
- Search for a lead

### Tags

Read and update tags in Kartra from any Tray.ai workflow. The Kartra API covers calls such as assign a tag and unassign a tag.

- Assign a tag
- Unassign a tag
- List all tags

### Lists

Read and update lists in Kartra from any Tray.ai workflow. The Kartra API covers calls such as subscribe a lead to a list and unsubscribe a lead from a list.

- Subscribe a lead to a list
- Unsubscribe a lead from a list
- List all lists

### Sequences

Read and update sequences in Kartra from any Tray.ai workflow. The Kartra API covers calls such as subscribe a lead to a sequence and unsubscribe a lead from a sequence.

- Subscribe a lead to a sequence
- Unsubscribe a lead from a sequence
- List all sequences

### Payments

Read, update, and delete payments in Kartra from any Tray.ai workflow. The Kartra API covers calls such as get transaction details and refund a transaction.

- Get transaction details
- Refund a transaction
- Cancel a subscription

### Kartra events

Start a Tray.ai workflow the moment something happens in Kartra. Kartra sends events such as lead buys a product and lead fills in a form to a Tray.ai webhook trigger.

- Lead buys a product
- Lead fills in a form
- Lead is assigned a tag

## Challenges Tray.ai solves

### Keeping Kartra credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store Kartra credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the Kartra API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the Kartra API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to Kartra?

Yes. Tray.ai connects to Kartra through the HTTP Connector, which calls the Kartra API directly. Any call the Kartra API documents can run as a step in a Tray.ai workflow. API access comes through Kartra's partner program or API plan, so you need approved credentials first.

### How does Tray.ai authenticate with Kartra?

The Kartra 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.

### Can I get a dedicated Kartra connector?

Kartra runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated Kartra connector from the Kartra API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
