# Kartra

> Manage Kartra leads, tags, lists and sequences.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/kartra

## Actions

### Assign tag

Assign tag for a Kartra lead.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- Tag (`tag`, text, required): Tag.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "status": "example"
  }
}
```

### Create lead

Create a new lead by email address.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "lead_details": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    },
    "status": "example"
  }
}
```

### Get lead

Get a lead and its details by email address.

**Inputs**

- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "lead_details": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    },
    "status": "example"
  }
}
```

### List custom fields

List the custom fields configured in your Kartra account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "custom_fields": [
      {
        "field_id": "example",
        "field_identifier": "example",
        "field_type": "example"
      }
    ],
    "status": "example"
  }
}
```

### List lists

List the lists configured in your Kartra account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "account_lists": [
      "example"
    ],
    "status": "example"
  }
}
```

### List pages

List the pages configured in your Kartra account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "account_pages": [
      "example"
    ],
    "status": "example"
  }
}
```

### List sequences

List the sequences configured in your Kartra account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "account_sequences": [
      "example"
    ],
    "status": "example"
  }
}
```

### List tags

List the tags configured in your Kartra account.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "account_tags": [
      "example"
    ],
    "status": "example"
  }
}
```

### Remove tag

Remove tag for a Kartra lead.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- Tag (`tag`, text, required): Tag.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "status": "example"
  }
}
```

### Search lead

Find a lead by email address.

**Inputs**

- Email (`email`, text, required): Email address of the lead.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "lead_details": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    },
    "status": "example"
  }
}
```

### Subscribe to list

Subscribe to list for a Kartra lead.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- List (`list`, text, required): List.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "status": "example"
  }
}
```

### Unsubscribe from list

Unsubscribe from list for a Kartra lead.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- List (`list`, text, required): List.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "status": "example"
  }
}
```

### Update lead

Update a lead’s name or company.

**Inputs**

- Email (`email`, text, required): Email address of the lead.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Company (`company`, text): Company.

**Outputs**

- `data` (object): The response from Kartra.

**Example output**

```json
{
  "data": {
    "actions": [
      {}
    ],
    "lead_details": {
      "email": "example",
      "first_name": "example",
      "id": "example",
      "last_name": "example"
    },
    "status": "example"
  }
}
```
