Partners & embedding
Partners and brokers
Integrate your software platform or brokerage with Kinro over authenticated MCP to submit client requests, attach documents, and receive live updates.
Software platforms and commercial insurance brokers can integrate with Kinro programmatically through the hosted MCP endpoint at https://api.kinro.com/mcp using a partner bearer token.
Credentials and environments
Include your partner token in the Authorization: Bearer <token> header on every request to https://api.kinro.com/mcp.
- Separate test and live tokens. Kinro issues separate tokens for testing and production. Test tokens only access test requests; live tokens only access live requests.
- Keep partner tokens on your server. Never place a partner token in browser code or mobile apps. To launch an in-browser quote experience for a user, mint a short-lived customer token on your server and pass it to the embedded widget.
Opening or updating a client request
Call upsert_lead over POST /mcp to create a new insurance request or update an existing one with details you already have:
{
"external_id": "acct_12345",
"idempotency_key": "req_2026_11_25_001",
"mint_customer_token": true,
"data": {
"business": { "name": "Oak Hill Lawn Care LLC" },
"address": { "state": "TX", "zip": "78745" }
}
}external_idlinks updates from your system to the same client request.idempotency_keyidentifies one operation on a client request. A replay of a completed operation returns the same lead and session. Reusing a recorded key for the same client request with different business data, consent or file contents returns a tool error (isError: true).fileslets you attach existing declarations pages, loss runs or certificates (see Documents). Send one upload attempt at a time. After an upload has failed, retry with the sameexternal_id,idempotency_keyand files. A client-side timeout alone leaves the server outcome unknown.mint_customer_token: truereturns a short-livedcustomer_tokenyou can pass toembed.jsso the customer picks up where your app left off.
Use the returned session_id with ask_kinro to continue the conversation and with get_kinro_messages to read replies and quotes.
Receiving live updates
Authenticated integrations can subscribe to real-time updates on GET /mcp with Accept: text/event-stream and Authorization: Bearer <token>:
- Filter the stream to a single request with
?lead_id=<id>or?session_id=<id>, or omit both to receive updates across your environment. - When reconnecting, send your last received event ID in the
Last-Event-IDheader to catch up on recent events. Useget_kinro_messagesto read the current state if your cursor is no longer available or the stream signals that a resync is needed. - If a stream connection returns
429, honor theRetry-Afterheader or useget_kinro_messageswithwait: true. See Errors and limits.
Next steps
- Add quotes inside your web app: Embedding Kinro
- Understand conversations and quotes: Conversations and Quotes
- Review data handling and compliance: Trust and data