canonical: https://jentic.com/apis/sarbacane.com/sarbacane

# Sarbacane API

Sarbacane is a solution for managing, creating and sending email and SMS campaigns, as well as setting up intelligent, automated marketing workflows. The API exposes 103 endpoints secured with apiKey, basic authentication.

## For AI agents

Programmatically get account information, create a webhook subscription. Covers 103 operations with apiKey, basic authentication.

## Scope

Does not handle payments, communications, or crm - use for marketing only.

## Capabilities

- Get account information
- Create a webhook subscription
- Retrieve all webhook subscriptions
- List all contact lists
- Edit a contact list

## Use cases

### Marketing Operations

Use the Sarbacane API to perform marketing operations programmatically. The API provides 103 endpoints covering core functionality including get account information, create a webhook subscription, retrieve all webhook subscriptions.

Example prompt: Call GET /info to get account information

### Automated Authentication Management

Automate authentication operations by combining multiple Sarbacane API endpoints. Agents can create a webhook subscription and then retrieve all webhook subscriptions in a single workflow.

Example prompt: Call POST /webhooks to create a webhook subscription, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Sarbacane API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey, basic tokens manually.

Example prompt: Search Jentic for 'get account information', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/info` | Get account information |
| POST | `/webhooks` | Create a webhook subscription |
| GET | `/webhooks` | Retrieve all webhook subscriptions |
| GET | `/webhooks/{webhookId}` | Retrieve a specific webhook |
| POST | `/lists` | Create a new contact list |
| GET | `/lists` | List all contact lists |
| PUT | `/lists/{listId}` | Edit a contact list |
| DELETE | `/lists/{listId}` | Delete a contact list |

## Key resources

- **Authentication** — Account info and authentication
- **Contacts** — Manage contacts and contact lists
- **Custom Fields** — Manage custom fields for contact lists
- **Blacklists** — Manage blacklists, bounces, unsubscribers, and complaints
- **Webhooks** — Manage webhook subscriptions

## Why Jentic

- **Setup:** Wiring the Sarbacane API by hand means choosing between its basic auth and its accountId plus apiKey header scheme, then managing lists, webhooks, and their ids across calls yourself. Through Jentic you install once, import the Sarbacane API from the API Directory, store the credentials once, and your agent calls it.
- **Permission scoping:** Sarbacane puts the list id in the URL path (`/lists/{listId}`), so a rule can pin your agent to one list. You choose the operations it may call, so a destructive one like deleting a list is not included unless you add it.
- **Credential handling:** Your Sarbacane credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get account information' or 'create a contact list', and Jentic returns the matching Sarbacane API operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Mailchimp** — Alternative marketing API
- **Hubspot** — Alternative marketing API

## FAQ

### What authentication does the Sarbacane API use?

The Sarbacane API uses apiKey, basic authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I get account information with the Sarbacane API?

Yes. Use the GET /info endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Sarbacane API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I get account information through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get account information'. Jentic returns the matching Sarbacane API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Sarbacane API have?

The Sarbacane API exposes 103 endpoints covering authentication, contacts, custom fields operations.

### Can I limit what my agent is allowed to do with the Sarbacane API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Sarbacane operations and credentials the agent may use. Because Sarbacane puts the list id in the URL path, such as `/lists/{listId}`, a rule can pin your agent to a single contact list. You also choose which operations are exposed, so a destructive call like DELETE `/lists/{listId}` stays out of reach unless you explicitly add it.
