Kartra

The all-in-one online business platform that gives you every marketing & sales tool you need to grow your business profitably & more 📈

Go to site
Explore
/
Apps
/
Kartra

Kartra API Integrations

Build and run workflows using the Kartra API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    kartra: {
      type: "app",
      app: "kartra",
    }
  },
  async run({steps, $}) {
    const data = {
      "app_id": `${this.kartra.$auth.app_id}`,
      "api_key": `${this.kartra.$auth.api_key}`,
      "api_password": `${this.kartra.$auth.api_password}`,
      "lead": {
        "email": "enter_an_email_here"
      },
      "actions": [
        {
          "cmd": "search_lead"
        }
      ],
    }
    return await axios($, {
      method: "post",
      url: `https://app.kartra.com/api`,
      headers: {
        "Content-Type": `application/x-www-form-urlencoded`,
      },
      data,
    })
  },
})

Authentication

Kartra uses API keys for authentication. When you connect your Kartra account, Pipedream securely stores the keys so you can easily authenticate to Kartra APIs in both code and no-code steps.

To retrieve your App ID,

  • Navigate to your Kartra account and sign in
  • Go to “My Integrations” > “Developers” > “API”

To retrieve your API Keys,

  • Navigate to your Kartra account and sign in
  • Go to “My Integrations” > “API ” > “Your API key”