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

# Semuko Public API

The Semuko Public API reads and writes the records of Semuko CRM: leads, clients, events, and projects, with brands, statuses, types, and custom field definitions as metadata. It also lists and creates invoices and bookings, lists payments, creates contracts from templates, and assigns questionnaires to a CRM record. Action operations convert a lead to a client, apply a workflow template, and send an email, an invoice, or a contract for signature, and outbound webhook subscriptions report changes to your own endpoint.

## For AI agents

Find and update Semuko CRM leads, clients, events, and projects, create invoices, bookings, and contracts, convert leads to clients, and send emails, invoices, and contracts for signature.

## Scope

Does not process card payments, run marketing campaigns, or manage a sales deal pipeline. Use for managing Semuko CRM records, invoices, contracts, and bookings only.

## Capabilities

- Search leads, clients, events, and projects by keyword with paginated results
- Convert a lead into a client and apply a workflow template to a lead, client, event, or project
- Create an invoice and send it to the customer, then list the payments recorded against invoices
- Create a contract from a template and send it for signature
- Assign a questionnaire template to a CRM record
- Create and look up bookings
- Subscribe your own endpoint to outbound webhooks and remove subscriptions you no longer need

## Use cases

### AI studio assistant for client intake

A small creative or events business wants its agent to move an enquiry from lead to booked client. Through Jentic the agent searches for 'convert a lead to a client', loads the Semuko operation with its schema, and calls it with the sk_live_ key injected by your own Jentic One instance. It can then apply the onboarding workflow template and assign an intake questionnaire to the new client.

Example prompt: Find the lead with GET `/api/v1/leads` using search, convert it with POST `/api/v1/actions/convert-lead`, then call POST `/api/v1/questionnaires/assign` for the new client

### Invoice and payment follow-up

Freelancers need invoices out the door and a view of which have been paid. Semuko creates invoices, sends them to the customer through its send-invoice action, and lists payments recorded against invoices. Sending requires a key holding both the comms.send and invoices.write scopes.

Example prompt: Create an invoice with POST `/api/v1/invoices`, send it with POST `/api/v1/actions/send-invoice`, and later check GET `/api/v1/payments` for that invoice

### Contract from template

Each new booking needs a signed agreement without retyping terms. Semuko creates a contract from a saved template and sends it for signature, and contract reads show its current state. The operations require the contracts.write and comms.send scopes on the key.

Example prompt: Call POST `/api/v1/contracts/from-template` for a client, then POST `/api/v1/actions/send-contract` and confirm with GET `/api/v1/contracts/{id}`

### CRM change notifications

Teams syncing Semuko to another tool want to hear about changes instead of polling. Semuko registers outbound webhook subscriptions to your endpoint, lists active subscriptions, and deletes ones you no longer need.

Example prompt: Create a webhook subscription with POST `/api/v1/webhooks` pointing at your endpoint, then list subscriptions with GET `/api/v1/webhooks`

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/api/v1/leads` | List and search leads |
| POST | `/api/v1/actions/convert-lead` | Convert a lead to a client |
| POST | `/api/v1/invoices` | Create an invoice |
| POST | `/api/v1/actions/send-invoice` | Send an invoice to the customer |
| POST | `/api/v1/contracts/from-template` | Create a contract from a template |
| POST | `/api/v1/bookings` | Create a booking |
| POST | `/api/v1/actions/send-email` | Send an email |
| POST | `/api/v1/webhooks` | Create a webhook subscription |

## Key resources

- **Leads, clients, events, and projects** — Searchable, paginated CRM records with create, get, and partial update
- **Invoices and payments** — Create, list, and get invoices, send them to customers, and list payments
- **Contracts, questionnaires, and bookings** — Contracts from templates sent for signature, questionnaire assignment, and bookings
- **Actions** — Convert a lead, apply a workflow template, and send email, invoices, and contracts
- **Metadata and webhooks** — Brands, statuses, types, custom field definitions, and outbound webhook subscriptions

## 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:** 65 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 74 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 53 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 59 / 100
- **View full report:** https://jentic.com/apis/semuko.com/semuko/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 Semuko by hand means creating an sk_live_ key, sending it as a bearer token, and matching each operation to the key scopes it demands, such as comms.send for the send actions. Through Jentic you install once, import Semuko from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Semuko puts record ids in the URL path (`/api/v1/leads/{id}`, `/api/v1/clients/{id}`), so a rule can pin your agent to specific records and the operations you pick. You choose the operations it may call, so ones like POST `/api/v1/actions/send-email` or DELETE `/api/v1/webhooks/{id}` are not included unless you add them.
- **Credential handling:** Your Semuko 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 'convert a lead to a client' or 'send an invoice', and Jentic returns the matching Semuko operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Pipedrive** — Sales CRM built around deals, pipelines, and activities
- **PandaDoc** — Document generation, proposals, and e-signature
- **Calendly** — Meeting scheduling with booking links

## FAQ

### What authentication does the Semuko Public API use?

The Semuko Public API authenticates with a bearer API key per its OpenAPI spec, sent as `Authorization: Bearer` with an sk_live_ or sk_test_ key created in Settings, Preferences, Developer. Each operation also lists the key scopes it needs, such as crm.read for lead lookups or comms.send for sending email, and returns 403 when a scope is missing. Through Jentic the key is stored by your own instance and injected at call time.

### Can I send an invoice to a client with the Semuko API?

Yes. Create the invoice with POST `/api/v1/invoices`, then send it with POST `/api/v1/actions/send-invoice.` The send action needs a key with both the comms.send and invoices.write scopes. Payments recorded against invoices can be read with GET `/api/v1/payments.`

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

The OpenAPI spec does not state numeric rate limits, but every operation declares a 429 Rate limited response, so a client should back off and retry when it sees one. Check https://semuko.com for current limits.

### Is there a Semuko MCP server?

Yes - the Semuko spec notes that the same operations are offered over MCP at its own endpoint. You can also connect Semuko directly through Jentic: your agent gets the full 40-endpoint surface without loading another server's tool definitions into its context, your key is injected at call time by your self-hosted instance instead of living in an MCP config, and your rules decide which operations the agent may call.

### How do I convert a Semuko lead to a client through Jentic?

Search Jentic for 'convert a lead to a client', load POST `/api/v1/actions/convert-lead`, and execute it for the lead you found with GET `/api/v1/leads.` The key needs the workflows.write and crm.write scopes. 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 Semuko API?

Yes. For an intake assistant, write a rule that allows GET and PATCH on `/api/v1/leads/{id}` for the leads it handles plus GET `/api/v1/leads` for search, so it can find and update leads but cannot send email, invoices, or contracts. Every call it makes is logged, and Semuko's own key scopes add a second check.
