https://builder.flowyte.com/api/v1.
Authenticate with
Authorization: Bearer flowyte_sk_…. Destination numbers are saved in E.164 (e.g. +14155550100); a 10-digit US number is
normalized on save.- Handoff config on the agent — a default destination plus a “transfer by context” table that routes described situations to specific numbers.
- A transfer skill — a tool the agent calls mid-conversation to move the caller to a fixed number, which you can gate with a spoken confirmation.
What you’ll use
| Action | Endpoint | Scope |
|---|---|---|
| Set default + by-context handoff | PATCH /agents/{id} | agents:write |
| Add a transfer skill | POST /agents/{id}/skills | skills:write |
| List an agent’s skills | GET /agents/{id}/skills | skills:read |
| Publish the change | POST /agents/{id}/publish | agents:write |
Set the handoff config
The agent’s The default
handoffConfig holds a default transferDestination and a transferRules
table. Each rule has a plain-language when the agent matches against, plus a destination.
Set warm: true so the agent summarizes the caller and the reason before connecting, rather
than a silent hand-off.transferDestination is used whenever a transfer is needed and no rule matches.Add a transfer skill for explicit handoffs
A
transfer skill is a tool the agent can call on demand. Its description is what the
agent reads to decide when to use it — write it as the condition. Set requiresConfirmation
so the agent confirms before transferring, and stakes to tune that gate.Choosing when a transfer fires
- By context — the
whentext on each rule and thedescriptionon a transfer skill are how the agent decides; keep them specific. - On silence — set
callControl.onNoResponseActiontotransferso an unresponsive caller is routed to a person instead of being ended. - After hours — by default the agent does not transfer to a live person when closed. Set
afterHours.allowHumanTransferand anumberto allow it. See After hours.