canonical: https://jentic.com/apis/selda.ai/selda

# Selda API

The Selda API prepares outbound sales campaigns: it imports leads one at a time or in batches, enriches them, resolves a company to the right people to reach, and drafts a personalised message per lead. It also covers campaign setup and message structure, draft attachments, reply classification and reply drafting, LinkedIn conversations and network reads, workspace knowledge, signals, connectors, and webhooks for events like reply.received. By design it has no operation that sends: a script can prepare a campaign completely and approve drafts, and a person presses send in the Selda app.

## For AI agents

Import and enrich sales leads, draft personalised outreach messages, organise campaigns, classify inbound replies, and read LinkedIn conversations in Selda, stopping at approved drafts because the API never sends.

## Scope

Does not send emails or LinkedIn messages, create workspaces, or host a CRM pipeline. Use for preparing outbound sales campaigns up to approved drafts only.

## Capabilities

- Add leads one at a time with research in the analysis field, or in bulk with leads.addBatch
- Resolve a company by name or domain and return the right people to reach for a given role
- Draft a personalised outreach message for a lead with a chosen channel and outreachAngle
- Start a campaign from leads already imported under a source label and stop at the drafts
- Classify inbound replies for a workspace and draft responses to them
- Read campaign counters for sent, delivered, opened, clicked, replied, and bounced
- Register webhooks for events such as reply.received

## Use cases

### AI research agent that hands off to Selda

An agent that researches target accounts can pass its findings to Selda instead of writing outreach itself. Through Jentic the agent searches for 'add a sales lead', loads the Selda lead operation with its schema, and posts each lead with an analysis field holding its research, so the message is written from that research rather than a fresh crawl. Your bearer key is injected by your own Jentic One instance, and the run stops at drafts for a person to send.

Example prompt: Call POST `/v1/leads/add-batch` with projectId and leads carrying company, jobTitle, and analysis, then call POST `/v1/runs/start-from-leads` with the same source label

### Account-based contact discovery

A seller targeting a named account needs the right people at that company, not a generic contact list. Selda's company lookup takes a company plus optional role, domain, city, and limit, and returns the people to reach without starting a campaign. Because it resolves real people's contact details, the spec notes a free sandbox key is refused and a live key is required.

Example prompt: Call POST `/v1/company/lookup` with company set to Acme, domain set to acme.com, role set to Head of Operations, and limit set to 5

### Reply triage and drafting

Inbound replies to outreach need sorting so interested prospects get answered first. Selda classifies a workspace's inbound replies and drafts a response, and the replies preview operation shows a draft before it is saved. A webhook on reply.received lets an agent react as replies arrive instead of polling.

Example prompt: Call POST `/v1/replies/classify` with projectId, then call POST `/v1/replies/draft` for each reply classified as interested

### Campaign performance reporting

Sales leads want a quick read on how each campaign is landing. Selda's campaign stats operation returns sent, delivered, opened, clicked, replied, and bounced counters for a campaignId, and the campaign list returns every campaign in a workspace. Credit balance and plan usage come from the credits info operation.

Example prompt: Call GET `/v1/campaigns` with projectId, then GET `/v1/campaigns/{campaignId}/stats` for each campaign, and report reply rate per campaign

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/v1/leads/add-batch` | Add many leads in one call |
| POST | `/v1/company/lookup` | Resolve a company and its people to reach |
| POST | `/v1/messages/generate` | Draft a message for a lead |
| POST | `/v1/runs/start-from-leads` | Start a campaign from imported leads |
| GET | `/v1/campaigns/{campaignId}/stats` | Read campaign counters |
| POST | `/v1/replies/classify` | Classify inbound replies |
| POST | `/v1/messages/{messageId}/approve` | Approve a drafted message |
| POST | `/v1/webhooks` | Register a webhook endpoint |

## Key resources

- **Leads** — Add, batch-import, enrich, tag, merge, skip, and delete leads in a workspace
- **Campaigns and runs** — Create campaigns, add leads, set and lock message structure, read stats, and start runs from imported leads
- **Messages, drafts, and replies** — Generate and approve drafted messages, attach material to drafts, classify inbound replies, and draft responses
- **LinkedIn** — Read connection status, profiles, network, conversations, threads, and suggested next actions
- **Workspace context** — Projects, knowledge, brain entries, material imports, connectors, signals, credits, and webhooks

## 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:** 64 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 99 / 100
  - Developer Experience & Jentic Compatibility: 69 / 100
  - AI-Readiness & Agent Experience: 43 / 100
  - Agent Usability: 89 / 100
  - Security: 60 / 100
  - AI Discoverability: 67 / 100
- **View full report:** https://jentic.com/apis/selda.ai/selda/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 Selda by hand means minting a bearer key, telling sk_test_ keys from sk_live_ ones, and learning which operations refuse a sandbox key. Through Jentic you install once, import Selda from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Selda puts the campaign id in the URL path for campaign operations (`/v1/campaigns/{campaignId}/...`), so a rule can pin your agent to one campaign plus the drafting operations you pick. You choose the operations it may call, so destructive ones like POST `/v1/leads/delete-batch` or DELETE `/v1/webhooks/{webhookId}` are not included unless you add them.
- **Credential handling:** Your Selda 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 'add a sales lead' or 'classify inbound replies', and Jentic returns the matching Selda operation with its input schema so the agent sends the right fields without browsing the reference docs.

## Related APIs

- **lemlist** — Cold email and multichannel outreach platform with campaigns and sequences
- **Instantly** — Cold email sending and campaign management at volume
- **Apollo** — B2B contact and company database for building prospect lists

## FAQ

### What authentication does the Selda API use?

The Selda API authenticates with a bearer API key per its OpenAPI spec, sent as `Authorization: Bearer` with an `sk_live_` or `sk_test_` key. Your organisation is resolved from the key, so you never send an organisation id. A test key reaches reads and writes that cost nothing, while operations such as company lookup and lead enrichment refuse it. Through Jentic the key is stored by your own instance and injected at call time.

### Can the Selda API send outreach messages?

No. The spec states there is no operation that sends. An integration can import leads, confirm companies, generate drafts, and approve a message with POST `/v1/messages/{messageId}/approve`, but approval does not send it. A person presses send in the Selda app.

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

The OpenAPI spec does not specify rate limits. Usage is metered in credits, which you can read with GET `/v1/credits/info`, and current limits are documented at https://docs.selda.ai.

### Is there a Selda MCP server?

You don't need an MCP server to give your agent Selda. Jentic connects it directly from the API Directory: import it, store your API key once, and your agent discovers the lead, campaign, and draft operations it needs on demand, so their definitions do not sit in its context.

### How do I draft a message for a lead in Selda through Jentic?

Search Jentic for 'draft an outreach message for a lead', load the POST `/v1/messages/generate` operation, and execute it with the required leadId plus an optional campaignId, channel, and outreachAngle. The draft is saved for review and approval. To run it on your own infrastructure, install Jentic One from its GitHub repo.

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

Yes. Write a rule that allows POST `/v1/campaigns/{campaignId}/add-leads` and GET `/v1/campaigns/{campaignId}/stats` for one campaign id, plus POST `/v1/messages/generate`, and the agent can fill that campaign, draft messages, and read its counters while lead deletion and webhook changes stay out of reach. Every call it makes is logged.
