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

# Stannp Direct Mail API

API for sending direct mail (postcards, letters), managing recipients, groups, and campaigns through the Stannp platform. The API exposes 29 endpoints secured with apiKey, basic authentication.

## For AI agents

Programmatically get user account information, list recipients. Covers 29 operations with apiKey, basic authentication.

## Scope

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

## Capabilities

- Get user account information
- List recipients
- Create a new recipient
- Delete a recipient
- Import recipients from a data file

## Use cases

### Marketing Operations

Use the Stannp Direct Mail API to perform marketing operations programmatically. The API provides 29 endpoints covering core functionality including get user account information, list recipients, get a single recipient.

Example prompt: Call GET `/user/info` to get user account information

### Automated Campaigns Management

Automate campaigns operations by combining multiple Stannp Direct Mail API endpoints. Agents can list recipients and then get a single recipient in a single workflow.

Example prompt: Call GET `/recipients/list` to list recipients, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Stannp Direct Mail 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 user account information', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/user/info` | Get user account information |
| GET | `/recipients/list` | List recipients |
| GET | `/recipients/get/{id}` | Get a single recipient |
| POST | `/recipients/new` | Create a new recipient |
| POST | `/recipients/delete` | Delete a recipient |
| POST | `/recipients/import` | Import recipients from a data file |
| GET | `/groups/list` | List all groups |
| POST | `/groups/new` | Create a new group |

## Key resources

- **Campaigns** — Operations related to Campaigns
- **Groups** — Operations related to Groups
- **Letters** — Operations related to Letters
- **Postcards** — Operations related to Postcards
- **Recipients** — Operations related to Recipients

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 44 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 93 / 100
  - Developer Experience & Jentic Compatibility: 57 / 100
  - AI-Readiness & Agent Experience: 47 / 100
  - Agent Usability: 94 / 100
  - Security: 13 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/stannp.com/stannp/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Stannp Direct Mail API by hand means picking between its query API key and basic auth, targeting the EU host, and mapping the recipient, group and import calls yourself. Through Jentic you install once, import the Stannp Direct Mail API from the API Directory, store the credential once, and your agent calls it.
- **Permission scoping:** You limit the agent to the operations it needs, such as listing recipients or getting a recipient by id, so it never runs imports or deletions unless you include them. Because the delete operation takes its target in the request body, scope the agent by operation rather than by a single recipient.
- **Credential handling:** Your Stannp API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get account information' or 'add a mailing recipient', and Jentic returns the matching Stannp Direct Mail 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 Stannp Direct Mail API use?

The Stannp Direct Mail 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 user account information with the Stannp Direct Mail API?

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

### What are the rate limits for the Stannp Direct Mail 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 user 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 user account information'. Jentic returns the matching Stannp Direct Mail API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Stannp Direct Mail API have?

The Stannp Direct Mail API exposes 29 endpoints covering campaigns, groups, letters operations.

### Can I limit what my agent is allowed to do with the Stannp Direct Mail API?

Yes. Because Jentic One is self-hosted, your own rules decide which Stannp operations and credentials the agent may use, so you can allow read calls like GET `/recipients/list` and GET `/recipients/get/{id}` while withholding POST `/recipients/import` and POST `/recipients/delete.` Since the delete operation takes its target in the request body, you scope the agent by operation rather than by a single recipient. This means an agent can look up recipients without ever running imports or deletions unless you explicitly grant those operations.
