# Sendlane

Sendlane is a cloud-based marketing automation platform that helps eCommerce businesses engage customers through personalized email and SMS campaigns.

- **Category:** marketing automation
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 6
- **Triggers:** 0
- **Slug:** `SENDLANE`
- **Version:** 20260227_00

## Tools

### Get Campaigns

**Slug:** `SENDLANE_GET_CAMPAIGNS`

Tool to retrieve a list of email campaigns. Use when you need to fetch all campaigns with optional pagination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for paginated results (default is 1) |
| `per_page` | integer | No | Number of campaigns per page (default is 100) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Custom Fields

**Slug:** `SENDLANE_GET_CUSTOM_FIELDS`

Retrieve a list of all custom fields in your Sendlane account. Custom fields allow you to store additional contact information beyond the standard fields. Use this tool to discover available custom fields, their IDs, names, tags, and types before creating or updating contacts with custom field data. Supports optional pagination via page and per_page parameters.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. If not specified, defaults to page 1 |
| `per_page` | integer | No | Number of results per page. If not specified, the API uses its default limit |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Lists

**Slug:** `SENDLANE_GET_LISTS`

Tool to retrieve all mailing lists. Use when you need to fetch or display all available contact lists with optional pagination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No | Page number for paginated results (default is 1) |
| `per_page` | integer | No | Number of lists per page (default is 1000) |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete List

**Slug:** `SENDLANE_LIST_DELETE`

Tool to delete a mailing list. Use when you need to remove an unwanted list after confirming its list_id.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `list_id` | integer | Yes | ID of the mailing list to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create List

**Slug:** `SENDLANE_POST_LIST`

Tool to create a new list. Use when you need to add a brand-new mailing list before sending campaigns.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | The name of the list. This should be a descriptive, unique identifier for the mailing list (e.g., 'VIP Customers', 'Weekly Newsletter', 'Product Launch 2026'). |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Create Tag

**Slug:** `SENDLANE_TAG_CREATE`

Tool to create a new tag. Use when you need to segment subscribers using labels.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name for the new tag. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
