Sergio by Serviche
com.serviche/sergio
Serveur MCP OK 183 outils
Make sure nothing falls through the cracks in your cleaning business, even when you're not watching.
Fiche technique
- Auteur
- serviche.com (espace de noms du registre)
- Dépôt
- —
- Site
- sergio.serviche.com/mcp
- Version
- 1.0.2
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://sergio.serviche.com/api/agent/mcp Streamable HTTP
- Outils
- 183
- Catégories
- —
- Dernière mise à jour
- 8 nov. 2026
- Publication
- 8 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.serviche/sergio)<a href="https://latlas.dev/mcp/com.serviche/sergio"><img src="https://latlas.dev/badge/fiche/com.serviche/sergio.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://sergio.serviche.com/api/agent/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:36
- Temps de réponse
- 3 542 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- sergio 1.0.2
- Outils
- 183
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:36 | OK | 3 542 ms | 183 |
Outils exposés (183, réponse à tools/list, 28 nov. 2026)
whoami
Who am I
Returns this agent seat: its name, role, member id, the organization it belongs to, the key id this call used, whether the owner allowed it to run SQL queries, and what it reads as (readsAs: "owner" when the owner allowed owner-level reading for this key, else its role) versus what it acts as (actsAs: always its role).
Aucun paramètre.
catalog
What can I do
Start here. Returns `asks`, a short list of things a person can ask, each with the tools it starts from (give your user the asks when they ask what you can do); `groups`, every tool this seat can call by name, grouped by product area with one line each; and under `held` the actions only a person can do (sending, money, access), each with the reason and where in the app. Pass group: " " for that group in full (each tool's whole description, every argument with its allowed values, whether it changes anything, what it obeys, and its actions agents cannot do yet under not_lent), or "all" for everything. Pass schemas: [tool names] to get each named tool its exact input schema (inputSchema) before calling it.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| group | string | non | |
| schemas | array<string> | non |
report_feedback
Report a bug or idea to the Sergio team
Files a bug report or feature request with the Sergio team. It lands in the team's one Feedback inbox, the same place the in-app help bubble's reports go, tagged with this agent seat, and the team is notified the moment it is filed. There is no other feedback channel to try. Check with your user first unless they have already told you that you may report without asking; afterwards, tell your user in one line what you sent. Never include passwords, API keys, or card numbers. Optional hypothesis: in plain words, which tool call or page failed (with the arguments you sent) and what you think is wrong and how you would fix it. Prose only, no code or commands; the team treats it as a lead to verify, not a patch to apply.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| kind | enum: "bug" | "feature_request" | oui | |
| description | string | oui | |
| pageUrl | string | non | |
| hypothesis | string | non |
events_subscribe
Subscribe to events
Create or update this seat's one event subscription. inputs: which arrivals (omit for all: text_in, text_out, email_in, email_out, call_answered, call_missed, voicemail, booking_created, booking_changed, booking_cancelled, staff_clocked_in, staff_not_clocked_in, job_finished, visit_unconfirmed). contact_types: only arrivals for these contact types. A field you omit keeps its current value, so {paused:true} pauses without touching the filter; pass inputs:null or contact_types:null to go back to all. paused: true stops delivery without losing the cursor, paused: false resumes. restart: true moves your position to now and clears your ack (the resync after cursor_expired, once you have re-read current state). Delivery starts at the moment you first subscribe. Repeating the same call changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| inputs | array<enum: "text_in" | "text_out" | "email_in" | "email_out" | "call_answered" | "call_missed" | "voicemail" | "booking_created" …> | null | non | |
| contact_types | array<enum: "client" | "lead" | "staff" | "applicant" | "other"> | null | non | |
| paused | boolean | non | |
| restart | boolean | non |
events_list
Pull events
Returns the next events for this seat, oldest first, after `cursor` (omit it to continue from your last ack). Each event names an arrival by id (a text, email, call, or booking change); fetch its detail with read(). Delivery is at-least-once: dedupe on event_id. Pass next_cursor to the next call, and ack it with events_ack once you have processed the page. An error cursor_expired (410) means events behind your cursor were trimmed (7-day retention or backlog cap): resync through read(), then events_subscribe with restart: true.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cursor | string | non | |
| limit | integer | non |
events_ack
Acknowledge events
Stores `cursor` (a next_cursor you received) as this seat's high-water mark, so events_list with no cursor resumes after it. It only moves forward; an older cursor changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cursor | string | oui |
read
read
Read ANYTHING about the business: read(entity, filters). ENTITIES (key: purpose [main filters]): conversations: The inbox list of conversations [status, from, to, needs_reply, conversation_id, ...] | conversation_transcript: A client's whole history in one timeline [conversation_id, client_ref, from, to, search] | communications: Every text, email and call across the business in ONE read [from, to, direction, channel, contact_type, ...] | calls: Call log [conversation_id, client_ref, from, to, direction, ...] | bookings: Bookings by status/date/client/cleaner [status, frequency, from, to, date_axis, ...] | booking_notes: Tiered booking notes + the flat booking note [booking_id] | clients: Look up contacts by id [id, name, name_words, phone, email, ...] | contact_groups: The business's live Contacts tags and lists, as the Contacts page's side nav shows them [kind] | client_standing: Visit count + last visit per client, with the client name [client_ref, client_ids] | client_case_file: Full context for a client's thread [conversation_id, client_ref, question, as_of] | owner_directives: Standing asks the owner gave the team in the team channel [status, from, to] | tasks: Tasks [status, task_id, client_ref, conversation_id, flow, ...] | cockpit_queue: The Sergio cockpit / Needs-Attention queue | activity_log: Audit trail of changes [days, from, to, search, actor, ...] | chat_turns: Each Sergio chat turn's AI cost and time, newest first, read from the AI usage log [turn_id, days]…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| entity | enum: "catalog" | "conversations" | "conversation_transcript" | "communications" | "calls" | "bookings" | "booking_notes" | "clients" … | oui | The entity to read, or 'catalog' to list what you can read. |
| filters | object | non | Entity-specific filters (see read('catalog')). An organization id is never a filter. |
| options | object | non | Paging + projection. |
query
query
Run a read-only SQL SELECT over the business database and get rows back. It is the FALLBACK, not the first move: when a read(entity) answers the question (leads, clients, conversations, bookings and the rest of read's catalog), use read, which carries the business's own definitions (e.g. open leads = read lead_pursuits active:true) that raw tables do not. Use query only when read cannot express the question (a count, a GROUP BY, a JOIN across tables, filtering on a column read() does not expose, a discount a customer used, an arbitrary aggregate). SCHEMA: query the org-scoped view schema `soul_read` (NOT public). Every table you can read is a view there, already filtered to THIS business. You never write a WHERE organization_id clause and never pass an org id. START with `client_timeline` for any question about one person or booking: every SMS, call (with AI summary), email, booking and human action in one feed (columns: channel, direction, actor, at, text, ai_summary, sentiment, category, client_id, conversation_id, booking_id). Filter client_id, ORDER BY at DESC, LIMIT. Read `SELECT * FROM schema_notes` once for column semantics (event-time columns, value meanings, columns that lie: e.g. use sent_at not created_at; contact_type = client means a real client). Never guess a column name: before you name a column of any other table you have not listed in this conversation, list THAT table's columns first (one table, never the whole schema): `SELECT column_name FROM information…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sql | string | oui | A single read-only SQL SELECT over the soul_read schema, e.g. "SELECT status, count(*) FROM bookings WHERE scheduled_date BETWEEN '2026-07-01' AND '2026-07-31' GROUP BY status". |
findClientByIdentifier
findClientByIdentifier
Look up a client ID by a single identifier (phone or email). Returns the client ID or null. Simpler than resolveClient. No creation, no merge. Use for a quick check: "is this phone number already a client?".
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| type | enum: "phone" | "email" | oui | Identifier type: "phone" or "email". |
| value | string | oui | The identifier value (phone number or email address). |
send_text
Send a text (after your person confirms)
Texts a client or teammate on your person's order, from the business number, as a Manual send under the business's Sending setting. Use it whenever your person asks you to text someone now, with their words or words you wrote for them ("text today's cleaners about the weather"); create_draft leaves it for someone else to send later. First call without confirm_token: nothing is sent; you get a preview (who it goes to and the exact text) and a confirm_token. Show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. Several people: one preview each, shown together, one yes covers the ones they approve. Never send something nobody asked for, or while nobody is watching; that is a draft (create_draft). Give conversationId (one-to-one: to defaults to the conversation's number); for a cleaner or contact without one, read clients (contact_type 'staff' for cleaners) for the phone, then open_conversation_by_phone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversationId | string | oui | |
| to | string | non | |
| body | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
retry_text
Retry a text that failed to send (after your person confirms)
Retries one of our texts that failed to send (delivery_status 'failed'), as the same message, on your person's order. A text marked 'undelivered' was refused for good and cannot be retried: send a new text instead. Read the message first and pass its exact to (phone_to) and body. First call without confirm_token: nothing is sent; you get a preview and a confirm_token. Show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| message_id | string | oui | |
| to | string | oui | |
| body | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
start_group_text
Open a group text thread
Opens the one group text thread for 2 to 9 contacts who each have a phone, as the inbox's New conversation with several people checked does (an existing group for the same people is reused). Nothing is sent; texting it is send_conversational_message, which shows your person the words first. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| clientIds | array<string> | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
open_conversation_by_phone
Open a conversation for a phone number
Opens (or finds) the one conversation for a phone number nobody is saved under, as the inbox search's Text does. Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| phone | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
assign_conversation
Assign a conversation
Assigns a conversation to a teammate, as the thread header's Assign menu does: assigned_member_id is the teammate's id (read entity org_members), or null to unassign; assigned_to (the teammate's exact name) is accepted instead. A name that is not exactly one current teammate is refused. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| assigned_member_id | string | null | non | |
| assigned_to | string | null | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_conversation_status
Mark a conversation done, or reopen it
Marks a thread done (status resolved) or reopens it (status new), as the inbox's Done and Reopen do; the Quo inbox follows when the business's write setting allows. A thread that still owes the customer a reply is refused unless replyOwedOverride is true (say why to your person first). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| status | enum: "resolved" | "new" | oui | |
| replyOwedOverride | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
bulk_clear_conversations
Clear old conversations in bulk
Clears every thread older than a cutoff at once, as the inbox's bulk Clear does (owner or admin seats only): mode date clears threads quiet for olderThanDays (default 14) or since cutoff (ISO date); mode leads clears threads a lead follow-up owns. includeTasks also closes their open tasks; includeReplyOwed also clears threads the customer wrote last in (date mode). The Quo inbox follows when the business's write setting allows. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| mode | enum: "date" | "leads" | non | |
| olderThanDays | integer | non | |
| cutoff | string | non | |
| includeTasks | boolean | non | |
| includeReplyOwed | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
snooze_conversation
Mute a conversation for a few minutes
Mutes a conversation until snoozed_until (ISO 8601, in the future), at most 10 minutes from now (a later time is cut to 10 minutes), as the inbox's Mute does while someone is on a call. note is optional. For a later follow-up, use set_conversation_reminder. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| snoozed_until | string | oui | |
| note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
unsnooze_conversation
Unmute a conversation
Ends a conversation's mute now, as the inbox's Unmute does. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_conversation_reminder
Set a reminder on a conversation
Adds a reminder on a conversation, as the thread's bell does: remind_at (ISO 8601) and an optional note become a task due then. hide_until_due: true also tucks the thread away until the reminder is due (a reply from the person brings it back). Pass the same idempotency_key when retrying; a repeat returns the first reminder.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| remind_at | string | oui | |
| note | string | non | |
| hide_until_due | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
dismiss_conversation_reminders
Dismiss a conversation's reminders
Dismisses every open reminder on a conversation, as the bell's Dismiss does. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
link_conversation_to_client
Link a conversation to a contact
Links a conversation to a contact, as the inbox's Link to a contact does: if the contact already has a one-to-one thread, it is folded into this one, and an email thread's address is saved to the contact. Sergio learns the correction for later emails. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| client_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
move_address_to_contact
Move an email address or number to the right contact
Says who an email address or phone number on a contact really is, as a contact card row's This is someone else does: pass exactly one of to_client_id, new_contact_name, or none=true. Its emails, texts and calls on that contact move with it and its next message lands on the new owner. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| kind | enum: "email" | "phone" | oui | |
| value | string | oui | |
| to | object | object | object | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
merge_conversations
Merge two conversations
Moves everything in conversation_id (messages, calls, emails, tasks) into target_conversation_id and removes the empty one, as the thread menu's Merge does. It cannot be split back. Pass the same idempotency_key when retrying; the same pair merges once.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| target_conversation_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
track_conversation_as_lead
Track a conversation as a new lead
Opens a lead for this thread's contact, as the thread header's Track this as a new lead does, for a customer asking about new work. request is what they asked for, in a line. Refused when lead follow-up is off, the thread has no contact, or the contact is staff, an applicant or spam. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| request | string | non | |
| channel | enum: "sms" | "call" | "email" | "web_chat" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
disposition_conversation
Record a quiet thread's disposition
Records why a quiet thread needs no reply, as the clear gate's picker does: spam (the contact becomes spam; its lead work stops and its Quo card is tagged when the business's write setting allows), lead (the contact becomes a lead), reengage (tags the contact for a later marketing touch) or no_action. It does not clear the thread. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| disposition | enum: "spam" | "lead" | "reengage" | "no_action" | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
start_conversation_flow
Start a flow on a conversation
Starts a flow on a conversation, as the thread's flow picker does: flowId names an active flow (read entity flows); its steps become tasks with deadlines. label is optional. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| flowId | string | oui | |
| label | string | null | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
assign_flow
Start a flow on a client's conversation
Starts a flow on a client's conversation, as the Inbox's Start a flow (or Assign & clear on the conversation list) does. flowId names an active flow (read('flows')); give conversationId, or a clientId and Sergio finds or opens that client's thread. clear true takes the thread out of Needs Attention in the same move (it is refused with the reason while the client is owed a reply). deadline_overrides moves named steps' deadlines by index. The run starts only after its steps are in place; it sends nothing on its own. start_conversation_flow is the thread's own flow picker; this one also reaches a client with no open thread. Pass the same idempotency_key when retrying; a repeat returns the same run.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flowId | string | oui | |
| conversationId | string | non | The thread to start the flow on. Give this, or clientId. |
| clientId | string | non | Start on this client's thread (found, or opened if none). Give this, or conversationId. |
| clear | boolean | non | Also clear the thread out of Needs Attention, as Assign & clear does. |
| deadline_overrides | object | non | Move named steps' deadlines, keyed by step index. |
| variant_key | string | null | non | A variant to start, when the flow defines variants. |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
close_conversation_flow
Mark a conversation's flow done
Marks a conversation's flow done, as the flow chip's Mark done does. conversationFlowId names the flow when the thread has more than one. outcome (for example declined) closes it early without marking its steps done; close_note is optional. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| conversationFlowId | string | non | |
| outcome | string | non | |
| close_note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_conversation_flow_steps
Tick, skip, add or reschedule a step on a running flow
Changes a running flow's steps on a conversation, as the steps on its flow chip do. Each is SET to a state, never toggled, so a replayed call cannot undo itself: setStepDone ticks a step (done true) or unticks it (done false); setStepSkipped marks a step not needed (skipped true) or restores it (false); updateStepDeadline sets a step's deadline_minutes, or clears it with null; addStep appends a step, its title read like the one-line add box ("call back wednesday around 2" carries its own deadline). Change one step state per call (one of setStepDone, setStepSkipped). Ticking the last step closes the flow, as it does for a person. conversation_id is the thread; conversationFlowId names the run when the thread carries more than one active flow (its id comes back from start_conversation_flow or assign_flow). Pass the same idempotency_key when retrying; a repeat changes nothing more.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| conversationFlowId | string | non | The run to change, when the thread has more than one active flow. |
| setStepDone | object | non | Tick one step done (true) or undo it (false). Step indices are zero-based, in the order the flow shows them. |
| setStepSkipped | object | non | Mark one step not needed (true) or restore it (false). Never counted as done. |
| updateStepDeadline | object | non | Move one step's deadline to deadline_minutes from the flow's anchor, or clear it with null. |
| addStep | object | non | Append a step to this run, its title parsed for a deadline like the add box. |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
remove_conversation_flow
Remove a flow from a conversation
Takes one flow off a conversation, as the flow chip's Remove does; its open step tasks are removed. conversationFlowId names the flow. reason is optional. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| conversationFlowId | string | oui | |
| reason | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_draft
Edit or discard a draft
Edits a draft in a conversation's draft box, as a person typing in it does: body, subject (email), whyNote, isReady, or status 'discarded' to throw it away. Nothing is sent; a person still presses Send. draft_id comes from create_draft or read. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| draft_id | string | oui | |
| body | string | non | |
| subject | string | null | non | |
| whyNote | string | null | non | |
| isReady | boolean | non | |
| status | enum: "active" | "discarded" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
translate_message
Translate a received message
Translates one received text, website chat or email into the business language, as tapping Translate under it does, and saves the translation on the message (a repeat returns the saved translation with no new AI call). kind 'email' for an email, a text or chat otherwise. Nothing is sent and the original is never changed. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| message_id | string | oui | |
| kind | enum: "message" | "email" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
send_email
Send an email (after your person confirms)
Emails a client from the business mailbox on your person's order, as a Manual send under the business's Sending setting. First call without confirm_token: nothing is sent; you get a preview (to, subject and the exact text) and a confirm_token. Show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. replyToEmailId threads it as a reply to that inbound email.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| to | string | oui | |
| subject | string | oui | |
| body | string | oui | |
| replyToEmailId | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
create_draft
Draft a message
Writes a message into a client conversation's draft box. It never sends: a person on the team reviews the exact text and presses Send in Sergio, where the organization's sending policy applies. Give conversationId, or clientId to use that client's conversation. Pass the same idempotency_key when retrying; a repeat returns the original draft.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversationId | string | non | |
| clientId | string | non | |
| body | string | oui | |
| channel | enum: "sms" | "email" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_allowed_sender
Trust a sender for email sync
Adds an email address or a whole domain to the trusted senders the business accepts email from, as Settings > Connections does: email_pattern is an address ([email protected]) or a wildcard (*@domain.com), notes is optional. This filters inbound email; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the same entry.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| email_pattern | string | oui | |
| notes | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_allowed_sender
Stop trusting a sender for email sync
Removes one entry from the trusted senders the business accepts email from, as the allow list's Remove does (an admin control). sender_id comes from the list you read. This filters inbound email; nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sender_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_blocked_sender
Unblock a sender
Removes one entry from the blocked senders whose email the business ignores, so it is accepted again, as the blocked list's Unblock does (an admin control). sender_id comes from the list you read. This filters inbound email; nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sender_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
open_client_conversation
Open a contact's conversation
Finds the one conversation for a contact, opening an empty one when they have never texted or emailed, so you can draft or text into it. client_id from read clients. Nothing is sent; a mint is recorded on the activity log. Pass the same idempotency_key when retrying; a repeat returns the same conversation.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
attach_relay_contact
Attach a relay contact's emails to a client
Says who a marketplace relay address really is: attaches every email the relay contact brought to the real client's conversation and moves the relay address onto that client, as the relay thread's Link to a contact does. relayClientId is the relay contact, clientId the real client (read clients). Writes a routing correction to the activity log. Pass the same idempotency_key when retrying; a repeat returns the first result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| relayClientId | string | oui | |
| clientId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
compose_draft
Save a draft in a conversation's draft box
Saves a message as a draft in a conversation's draft box, as the draft box and /drafts New draft do: give conversationId, or clientId to use that contact's one conversation. channel 'email' with a subject, a picked recipient or replyToEmailId makes an email reply; otherwise it is a text. whyNote is the line shown above the draft. Nothing is sent; a person reviews the exact text and presses Send. For a plain text draft the Sergio card's own create_draft does the same. Pass the same idempotency_key when retrying; a repeat returns the original draft.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversationId | string | non | |
| clientId | string | non | |
| body | string | oui | |
| channel | enum: "sms" | "email" | non | |
| subject | string | non | |
| recipient | string | non | |
| replyToEmailId | string | non | |
| whyNote | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
correct_email_facts
Correct a field Sergio read off an email
Corrects one field Sergio read off a platform email, as crossing it out or retyping it in the parsed-email overlay does: field_key is the field (read the email's parsed fields first), and pass exactly one of corrected_value (the right value) or verdict 'not_in_source' (the email never said it). teach false means just this email, never the parsing rule. channel 'sms' for a platform's texted notice. This fixes the email, its booking and the linked contact. Pass the same idempotency_key when retrying; a repeat returns the first correction.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| email_id | string | oui | |
| field_key | string | oui | |
| corrected_value | string | non | |
| verdict | enum: "not_in_source" | "wrong_mapping" | non | |
| teach | boolean | non | |
| channel | enum: "email" | "sms" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
undo_email_fact_correction
Undo a 'not in the email' verdict
Removes one 'not in the email' verdict from a parsed email, as the facts-review panel's Undo does. email_id is the email the verdict was made on and correction_id comes from the correction you read. It only removes a verdict this way; a corrected value is changed by correcting the field again. Only 'not in the email' verdicts can be undone. Pass the same idempotency_key when retrying; a repeat after it is gone answers success.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| email_id | string | oui | |
| correction_id | string | oui | |
| channel | enum: "email" | "sms" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
link_email_to_conversation
Put an email on the right conversation
Links an unlinked email to a conversation, as the inbox's Link does: email_id is the unlinked email, conversation_id the thread it belongs to (read conversations). The email's contact follows the thread's own contact. An email already on another thread is refused here; who its sender really is moves with move_address_to_contact. Pass the same idempotency_key when retrying; a repeat answers that it is already linked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| email_id | string | oui | |
| conversation_id | string | oui | |
| client_id | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
link_relay_message
Link, move or unlink a relayed platform notice
Says where a relayed platform notice belongs, as the relay thread's Link, Move and Unlink do: action 'link' or 'move' with clientId puts it on that client's conversation (and teaches the address); action 'unlink' with rule { id, name } takes it off the relay rule that brought it. Nothing is sent. Pass the same idempotency_key when retrying; a repeat on an unchanged message writes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| email_id | string | oui | |
| action | enum: "link" | "move" | "unlink" | oui | |
| clientId | string | non | |
| rule | object | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
update_platform_email_rule
Change a platform email rule
Changes one rule that decides how a booking platform's or form relay's notices are recognised and routed, as the rule editor's Save does: rule_id, then any of name, sender_pattern (*@domain), subject_pattern, source_label, priority, is_active, routing_mode, routing_behavior, use_block_format, event_kind ('client_message' makes it a relay source, 'other' does not). A duplicate sender+subject is refused with the rule that owns it. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rule_id | string | oui | |
| name | string | non | |
| sender_pattern | string | non | |
| subject_pattern | string | null | non | |
| source_label | string | non | |
| priority | integer | non | |
| is_active | boolean | non | |
| routing_mode | enum: "auto" | "ai" | non | |
| routing_behavior | string | null | non | |
| use_block_format | boolean | non | |
| event_kind | enum: "client_message" | "other" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_platform_email_rule
Delete a platform email rule
Deletes one rule that decides how a platform's notices are read and routed, as the rule editor's Delete does. The rule is not minted back by the registry reconcile (the delete leaves a tombstone). It cannot be undone; add a rule again to replace it. Pass the same idempotency_key when retrying; a repeat after it is gone answers success.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rule_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_platform_email_preset
Add a platform's email rules
Adds the preset rules that let Sergio read a booking platform's or form relay's notices, as the rule editor's Add rules for a platform does: platform is one the picker lists. Only the rules this business does not already have are inserted, so a repeat adds nothing. Pass the same idempotency_key when retrying; a repeat returns the first result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| platform | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_platform_sender
Add a data source, or stop reading one
Marks a sender's domain as a data source whose email Sergio reads and files, as Data Sources does: domain is the sender's domain, or one full email address to read only that mailbox (a personal Gmail forwarding lead alerts) while every other sender at its domain stays ordinary mail; action 'preview' returns the leads its recent mail would produce and writes nothing; action 'tick' (the default) adds it; action 'untick' stops reading it. purpose says what it sends: 'booking_updates' (the default) or 'leads'. This is inbound only; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the first result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | |
| action | enum: "tick" | "untick" | "preview" | non | |
| purpose | enum: "booking_updates" | "leads" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_conversation
Delete an empty or duplicate conversation
Deletes a conversation, as the thread menu's Delete does (an admin or owner seat; a member seat is refused): its emails, texts and calls move to each contact's own thread first, so nothing is lost, and only the empty shell goes. Refused when a record on it has no contact to move to. It cannot be undone; merge_conversations keeps the content in one thread instead. Pass the same idempotency_key when retrying; a repeat returns the first result.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conversation_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
redraft_lead_step
Redraft a lead's upcoming text step
Rewrites the text of a lead's upcoming step that a person sends, from the conversation so far, as the journey's Update draft does (one AI draft, billed like the composer's Draft). Refused for a call step, a step Sergio sends on its own, or a step already past. Nothing is sent. task_id is the lead (read entity tasks); step_id is the step's id from the lead's journey. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| step_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_lead_outcome
Record a lead's outcome
Records what happened with a lead, as the lead card's Close menu and taps do. tap: quoted (they have a price); booked (closes it won, on the booking when one for them exists, else on your word); confirmed_booked (the same as booked); call_back_on (date YYYY-MM-DD, or at as an ISO time: pauses the lead until then; the pause ends by itself on that date, when a message goes either way, or when a step's date is changed); not_interested (lost; lostReason is one of "Timing / availability", "Price", "Went elsewhere / not needed", "Out of scope / area", or their own words for Other; a lead that just went quiet is not lost, it goes cold on its own); keep_pursuing; acknowledge_reply (their last message needs no answer: follow-ups resume); tracked_by_mistake; dismiss_plan; replied_on_site (stepKey: the Reply step answered on a lead site); undo_close (reopens a lead Sergio closed on its own, so the same evidence never closes it again; a contact made not-a-lead becomes a lead again, and Quo follows when the business's write setting allows). Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| tap | enum: "quoted" | "booked" | "confirmed_booked" | "call_back_on" | "not_interested" | "keep_pursuing" | "acknowledge_reply" | "tracked_by_mistake" … | oui | |
| date | string | non | |
| at | string | non | |
| lostReason | string | non | |
| stepKey | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
move_lead_journey
Move a lead to another journey
Moves a lead to another follow-up journey (segmentId, as Settings > Lead follow-ups names them: read the lead program), at the same place in the sequence, as the lead's journey tag does. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| segmentId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
hold_follow_ups
Hold automatic follow-ups
Puts a lap's automatic follow-ups on hold, as its Hold follow-ups switch does: lead follow-ups, a feedback check-in and a review request all obey the one hold. No step goes out on its own; each is drafted for a person. Turning them back on is your person's, in the app. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
hold_lead_follow_ups
Hold automatic follow-ups
Puts a lap's automatic follow-ups on hold, as its Hold follow-ups switch does: lead follow-ups, a feedback check-in and a review request all obey the one hold. No step goes out on its own; each is drafted for a person. Turning them back on is your person's, in the app. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_lead_step
Change a step in a lead's follow-ups
Changes one step of one lead's follow-ups, as the journey list does. Send one or more of: dueAt (ISO time, or null for the plan's timing; must stay after the step before it), channel ('message', 'email', 'call', 'reply', or null for the plan), removed (true takes it out, false puts it back), keep: true (its custom text is still right after the latest conversation). Or addAfter ('message', 'email', 'call' or 'reply') alone to add a step after it (the new step's id comes back). The step's words are your person's to change in the app. step_id comes from the lead's journey. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| step_id | string | oui | |
| dueAt | string | null | non | |
| channel | enum: "message" | "email" | "call" | "reply" | null | non | |
| removed | boolean | non | |
| keep | boolean | non | |
| addAfter | enum: "message" | "email" | "call" | "reply" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
practice_lead
Move a practice lead through time
Moves a practice lead through its follow-ups, as the Practice mode controls do, so you can see what Sergio would do at the next moment. action is one of: next (jump to the lead's next scheduled moment: a queued send, a step coming due, going cold), wait (days of silence pass first, 1 to 60), run (run whatever is already due now), start_over (a fresh practice lead arrives with this lead's first message). Only a practice lead is accepted; nothing is sent to a real person. task_id is the lead (read entity tasks). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| action | enum: "next" | "wait" | "run" | "start_over" | oui | |
| days | integer | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
cancel_queued_lead_send
Cancel a queued lead follow-up
Cancels a lead's follow-up text that is queued but not yet sent, as Cancel on the queued-send tile does. The step is cancelled for good; a later step still runs normally on its own time. Nothing is sent. task_id is the lead (read entity tasks). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
answer_google_review_match
Link or unlink a Google review and a client
Says which client wrote a Google review, as Contacts > Needs review does: client_id links it (also moving a review linked to the wrong client), client_id null says no client wrote it (unlinking a linked review). A link closes that client's review requests. Find reviews and their ids with read google_reviews. Nothing is sent or posted to Google. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| review_id | string | oui | |
| client_id | string | null | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
plan_google_post
Plan a Google post or photo
Plans one Google profile post or photo from a real Showcase photo of the business, as Photos > Google posts does: kind media (a photo) or local_post (a written update), photo_id (from read showcase photos), and optionally photo_variant before or after, a location_id, and the person's own summary. Without a summary Sergio drafts one in the company's voice. Queuing is the approval: a caption that passes the guard is queued to publish on the business's own schedule, and the business's Google posts setting decides whether it goes out. A caption the guard refuses waits as a draft. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| kind | enum: "media" | "local_post" | oui | |
| photo_id | string | oui | |
| photo_variant | enum: "before" | "after" | non | |
| location_id | string | non | |
| summary | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
change_google_post
Edit, reorder, cancel or move a planned Google post
Changes one planned Google profile post (post_id, from read the Google post queue), as Photos > Google posts does. op edit with summary (a caption the guard refuses changes nothing), op reorder with ids (the location's whole open queue in the new order, this post included), op cancel, or op reschedule with scheduled_at (ISO 8601, inside the per-day and spacing limits). Editing or moving keeps the post queued for the business's own schedule; nothing is published by this call. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| post_id | string | oui | |
| op | enum: "edit" | "reorder" | "cancel" | "reschedule" | oui | |
| summary | string | non | |
| ids | array<string> | non | |
| scheduled_at | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
reread_lead_source_backlog
Re-read a lead source's past emails
Re-reads a lead-source sender's past emails so each becomes a lead, as saving a sender as New leads does. One bounded pass per call: pass next_before from the response back as before until it comes back null. Changes nothing that was already read (the run's state is the database). domain is the sender's own email domain or number; before is the cursor from the previous pass. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| domain | string | oui | |
| before | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
upload_contact_list
Upload a contact list
Uploads a contact list (a spreadsheet or CSV) the way the Contacts page's Upload contact list does: names contacts Sergio already has by number only and adds the new ones. Send the file as content_text (a CSV/text file) or content_base64 (an .xlsx or any binary file) plus file_name. step preview writes nothing and returns the plan; step apply writes it (pass mapping as {field: columnIndex} when you have it, and only name or create to run one half). Every file is kept for the business. Naming the contacts' Quo cards and asking Sergio's team to organize the file stay a person's in the app. Nothing is sent to a client. An owner-level change: Sergio tells the owner after it is made. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_name | string | oui | |
| content_text | string | non | The file text, for a CSV or plain-text contact list. |
| content_base64 | string | non | The file bytes, base64-encoded, for an .xlsx or other binary contact list. |
| step | enum: "preview" | "apply" | non | |
| mapping | object | non | |
| defaults | object | non | |
| only | enum: "name" | "create" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
record_feedback_outcome
Record a check-in or review outcome
Records a person's decision on one Growth task (task_id, from read the work list), as the task's Outcome control does: on a check-in lap okay, negative (a concern, the legacy spelling also works), no_answer or checkin_stopped; on a review-chase task review_posted (the client posted a review; the same transition mark_review_posted makes) or declined (set do-not-ask); review_skipped ends this ask only, so a later good visit can still ask. It closes the task and its check-in through the SAME writers a classified reply uses, and records who decided. The `positive` outcome is not available to agents: it opens the review ask, which is a send a person decides in the app. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| outcome | enum: "okay" | "negative" | "concern" | "no_answer" | "checkin_stopped" | "review_posted" | "declined" | "review_skipped" | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
import_time_logs
Import a time-logs CSV
Imports a BookingKoala time-logs export into the business's actual visit records, as the Data import page's Time Logs Import does: pass the whole file's text as csvData. Rows match existing bookings by booking id and are idempotent on booking plus service date, so re-importing the same file writes nothing new. It records what happened (clock in/out, dwell, lunch, travel); it sends nothing. Answers the import report (rows written, skipped, errors). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| csvData | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
query_contacts
Read the contacts table
Reads one page of the Contacts table and its exact count, as the Contacts page does, using the same filter tree: optional scope, search, match, filters, sort, offset, limit, and keyset paging (after / before / fromEnd). idsOnly: true answers every matching id (up to the select-all cap) instead of rows. Writes nothing. This is read-only, so idempotency_key only marks the retry.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scope | enum: "active" | "archived" | "all" | "clients" | "leads" | "noname" | non | Which contacts: active (default, every live contact), archived (archived and spam), or one of the page's built-in views (clients, leads, noname), which add that view's own conditions. |
| match | enum: "all" | "any" | non | all joins the filters with and (default), any with or. |
| filters | array<object> | non | The Contacts page's Filter rows. Each filter is { field, op, ...payload }. Fields and their ops: type: is_any_of|is_none_of (values client|lead|staff|applicant|other|spam|system); phone: contains|not_contains|is_empty|is_not_empty; email: contains|not_contains|is_empty|is_not_empty; company: contai… |
| sort | array<object> | non | |
| search | string | non | |
| offset | integer | non | |
| limit | integer | non | |
| after | string | non | |
| before | string | non | |
| fromEnd | boolean | non | |
| idsOnly | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_contacts
Edit contacts in bulk
Applies one edit to up to 5000 contacts, as the Contacts page's selection bar does: op add_to_list / remove_from_list (listId), add_tags / remove_tags (tagIds), set_service_category (value residential, commercial, both or null), set_lead_source (value thumbtack, google_lsa, yelp, bark, website_form, google_business_profile, referral, booking_software, direct, web_chat, facebook, instagram, other or null), set_type (type client, lead, applicant, other), archive, mark_spam (at most 500 for the last three; a type change or spam tags or untags the Quo card when the business's write setting allows). Each contact answers succeeded, skipped (already so) or failed. Pass the same idempotency_key when retrying; every op is safe to repeat.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| ids | array<string> | oui | |
| op | enum: "add_to_list" | "remove_from_list" | "add_tags" | "remove_tags" | "set_service_category" | "set_lead_source" | "set_type" | "archive" … | oui | |
| listId | string | non | |
| tagIds | array<string> | non | |
| value | string | null | non | |
| type | enum: "client" | "lead" | "applicant" | "other" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
confirm_quo_credits_added
Mark Quo credits added
Says you added credits at Quo, as the 'I added credits' control on Settings > Data Sources does, clearing the 'Quo is refusing to send texts' alert. Quo has no balance check, so this settles the refusal until Sergio's next text; a later refused text raises the alert again. Nothing is sent. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
accept_smaller_sync
Accept a smaller sync
Applies a booking sync Sergio held back for returning far fewer bookings than it holds, once, and makes that size the new normal, as Accept this smaller sync on Data sources does. job_id is the held sync's import job. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| jobId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
connect_google_business
Connect a Google Business Profile location
Connects one Google Business Profile location so Sergio reads its reviews, as the Google Business Profile card does after the owner signs in with Google: pick the location Sergio should read by its Google resource name (locationName, like locations/123, from the card's location list). Sets that account's review notifications at Sergio; nothing on the profile changes. The owner must already have signed in with Google on that card. Pass the same idempotency_key when retrying; the same location is one connection. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| locationName | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
disconnect_google_business
Disconnect Google Business Profile
Disconnects Google Business Profile as the card's Disconnect does: detaches every location (their reviews stay in Sergio), deletes Sergio's Google grant, and stops the reviews sync. Reconnect any time on the same card. Nothing is sent to clients. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
disconnect_slack
Disconnect Slack
Deletes the saved Slack connection as the Slack card's Disconnect does: Sergio stops posting team alerts there. Reconnect any time on the same card. Nothing is sent to clients. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
disconnect_discord
Disconnect Discord
Marks the saved Discord bot connection inactive as the Discord card's Disconnect does: Sergio stops reading and posting there. Reconnect any time on the same card by pasting the bot token again. Nothing is sent to clients. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
disconnect_gmail
Disconnect Gmail
Disconnects the Gmail mailbox as the Gmail card's Disconnect does: stops the push watch, revokes Sergio's Google grant, deletes the stored token, and turns off a Gmail send config (any other email provider is untouched). Reconnect any time by signing in with Google again. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
rearm_gmail_watch
Re-arm Gmail real-time notifications
Re-registers the Gmail push watch as the Gmail card's Re-arm does, so new email reaches Sergio in real time again, and stores the new expiry and history baseline. Safe to call repeatedly; nothing is sent to clients. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
disconnect_openphone
Disconnect Quo (phone)
Disconnects the phone system (Quo) as the Phone card's Disconnect does: deregisters Quo's webhook and turns off its saved credentials and phone numbers (kept for the audit trail). Texts stop flowing through Sergio until it is reconnected on the same card. Nothing is sent to clients. Pass the same idempotency_key when retrying; a repeat is the same disconnect. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
set_lead_value
Set the lead-value assumption
Sets how many lifetime visits Sergio assumes an average customer stays for (assumed_lead_visits, 1 to 200), as the Lead value setting does, turning a lead's per-visit comparable price into an estimated lifetime value. A later change can put it back. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| assumed_lead_visits | integer | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
rename_organization
Rename the business
Changes the business name shown to customers, as the Settings business-name field does; it flows into every quote, email, SMS and the payment descriptor. A name can be changed back. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
claim_showcase_company
Claim or release a Showcase company
Claims (claimed true) or releases (claimed false) one Showcase company for this business, as the Showcase link card does, so the Photos page shows the right company's photos. companyId is the Showcase company's id. Reversible. Pass the same idempotency_key when retrying; the same claim is one change. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| companyId | string | oui | |
| claimed | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
set_auto_assignment
Set conversation auto-assignment
Changes how new conversations are auto-assigned to the team, as the auto-assignment setting does: send any of enabled (on or off), pool (the org_members ids to hand new conversations to in turn; at least one person is required when enabled), and auto_classify_flows (whether incoming flows are classified automatically). Reversible. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| enabled | boolean | non | |
| pool | array<string> | non | |
| auto_classify_flows | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
upload_spreadsheet
Upload a spreadsheet to import
Uploads a bookings or clients spreadsheet (CSV text) and queues its import, as Upload on the Imports page does; nothing is written to customers until its columns are checked. source is the import source spelling, not a free label: a booking platform's key for its bookings export (for example bookingkoala), that key plus -clients for its clients export (for example bookingkoala-clients), or spreadsheet / spreadsheet-clients for a generic spreadsheet export. read('data_sources') names this business's platform. Returns jobId. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | |
| csv | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
start_spreadsheet_import
Start an uploaded spreadsheet's import
Starts the import of a spreadsheet uploaded with upload_spreadsheet, as Start in the import drawer does: Sergio checks its columns; a confident mapping imports, an uncertain one answers status needs_review and waits for review_import_mapping. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| jobId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
review_import_mapping
Approve or discard a spreadsheet's columns
Settles an import waiting at the column review, as its review card does: decision approve (the import runs with the confident columns plus keepFields; keepValues and assignValues teach status words) or discard (nothing is written). confirmFieldClashes keeps a confirmed column the platform reads as another field (a 409 header_field_clash names it first). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| jobId | string | oui | |
| decision | enum: "approve" | "discard" | oui | |
| keepFields | array<string> | non | |
| keepValues | array<string> | non | |
| assignValues | array<object> | non | |
| confirmFieldClashes | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
set_scanner_on
Turn a Scanner on or off
Turns one of the business's Scanners on or off, as the On switch in Automations > Scanners does. A Scanner is only ever on or off (never a trial mode). scanner_id comes from read('scanners'). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scanner_id | string | oui | |
| enabled | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
create_scanner
Create a Scanner
Saves a new Scanner, as Save on New Scanner does: question (required), and optionally name, inputs, look-again timing, who gets the task, due rule, destination, contact types, and enabled (on or off; there is no trial mode). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | |
| question | string | oui | |
| inputs | array<string> | non | |
| refinements | array<any> | non | |
| look_again_kind | enum: "minutes" | "next_morning" | non | |
| look_again_minutes | integer | null | non | |
| assignee_kind | enum: "team" | "member" | "sender" | non | |
| assignee_member_id | string | null | non | |
| due_rule | enum: "same_day" | "next_business_day" | "within_hours" | "none" | non | |
| due_hours | integer | null | non | |
| destination | string | non | |
| contact_types | array<string> | null | non | |
| rollup | boolean | non | |
| enabled | boolean | non | |
| draft | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
edit_scanner
Edit a Scanner
Changes a Scanner, as its editor on the Scanners page does: any of name, question, inputs, look-again timing, who gets the task, due rule, destination, contact types, enabled. scanner_id comes from read('scanners'). Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scanner_id | string | oui | |
| name | string | non | |
| question | string | non | |
| inputs | array<string> | non | |
| refinements | array<any> | non | |
| look_again_kind | enum: "minutes" | "next_morning" | non | |
| look_again_minutes | integer | null | non | |
| assignee_kind | enum: "team" | "member" | "sender" | non | |
| assignee_member_id | string | null | non | |
| due_rule | enum: "same_day" | "next_business_day" | "within_hours" | "none" | non | |
| due_hours | integer | null | non | |
| destination | string | non | |
| contact_types | array<string> | null | non | |
| rollup | boolean | non | |
| enabled | boolean | non | |
| draft | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
delete_scanner
Delete a Scanner
Deletes a Scanner, as Delete in its editor does; the tasks it already made stay. To pause it instead, use set_scanner_on with enabled false. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scanner_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
create_contact_list
Make a contact list
Makes a contact list on the Contacts page, or answers the live one with that name. Add people to it with edit_contacts (op add_to_list). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_contact_list
Rename or archive a contact list
Renames a contact list or archives it (archived: true; its people keep their other lists), as the Contacts page's list menu does. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| list_id | string | oui | |
| name | string | non | |
| archived | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
rename_contact_column
Rename a Contacts column
Renames a Contacts column for the whole business, as the pencil at the top of the column does: column is an own field's key, or a built-in column, and title is the new wording (blank restores the built-in name). The values, filters and saved views under it stay as they are. Pass the same idempotency_key when retrying; saving the same title twice changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| column | string | oui | |
| title | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
create_contact_tag
Make a contact tag
Makes a tag on the Contacts page, or answers the live one with that name. Tag people with edit_contacts (op add_tags). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_contact_tag
Rename or archive a contact tag
Renames a Contacts tag or archives it (archived: true), as the Contacts page's tag menu does. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| tag_id | string | oui | |
| name | string | non | |
| archived | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
save_contact_view
Save a Contacts view
Saves a Contacts view, as Save view on the Contacts page does: name, visibility (me for only you, team for everyone, people for named teammates), people (team member ids, needed for people), and the table's query and presentation. The view is a saved filter anyone you shared it with can open. Pass the same idempotency_key when retrying; a replay returns the first view.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| visibility | enum: "me" | "team" | "people" | non | |
| people | array<string> | non | |
| query | object | oui | |
| presentation | object | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_contact_view
Save changes to a Contacts view
Saves changes to a saved Contacts view, as the view's Save changes does: version (from the view you read) is required and refuses the save if someone changed it since (stale_view, never merged); send only the fields to change (name, query, presentation, visibility, people). Changing who a team view is shared with can be refused with campaigns_follow_view when campaigns follow the view, then again with confirmFollowers: true. Deleting a view stays a person's control in the app. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| view_id | string | oui | |
| version | integer | oui | |
| name | string | non | |
| query | object | non | |
| presentation | object | non | |
| visibility | enum: "me" | "team" | "people" | non | |
| people | array<string> | non | |
| confirmFollowers | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_contacts_to_campaign
Add chosen contacts to a campaign
Adds the people you picked to a campaign, as Add to campaign on the Contacts page does, a draft included: each is checked against the campaign's safety rules and the answer names who was added, who was skipped and why. People added to a draft are counted in start_campaign's preview and get their first message when it starts; nothing is sent by adding (on a started campaign a step due today is drafted, never sent). confirmOverCap: true only when your person accepts going over today's cap (the answer says over_daily_cap with the numbers otherwise). Pass the same idempotency_key when retrying; a repeat adds nobody twice.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientIds | array<string> | oui | |
| confirmOverCap | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
create_campaign
Build a campaign (saved as a draft)
Builds a campaign as the Campaigns page's New campaign does, always saved as a draft: name, the messages (steps: the opener first, each { template, delayDays?, channel? text | email | call, abTest? = an A/B copy test of version B in this same campaign }), offer, audience (audience_filter, or audience_source { kind: list | view | people | filter }), caps and send window. Templates use Sergio's merge tags ({{Client First Name}}, {{User Company}}, {{Offer}}, {{Offer Expiry Date}} and the rest listed on steps.template), never a hard-coded business or client name. audience_filter takes the builder's own keys (visits, days since last booking, last booking total, days since last contact, frequency, services); audience_mode rolling (default) keeps adding people as they qualify (evergreen), fixed freezes the audience at start. read campaigns returns this vocabulary and existing campaigns to copy from. Sergio's audience rules apply unless your person asks otherwise, so leave those fields out: it leaves out anyone with an upcoming booking (audience_filter.noUpcomingBooking) and anyone another campaign reached lately (contact_floor_days, the business's window, 30 days unless changed), and new matches join on their own (audience_mode rolling). The people a rule leaves out show in the campaign as Excluded by Sergio, where a person can include one anyway, so another campaign running over the same people is not something to warn about. The answer's audience_rules says all this in one senten…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| offer_text | string | null | non | offer_text is the offer, written the way the builder writes it ("$25 off your next booking", "10% off your next booking", "a free fridge clean"); {{Offer}} sends those exact words to every recipient. A percent offer is NOT priced per person: "10% off your next booking" goes out as written, and ther… |
| offer_expiry_days | integer | null | non | Days the offer stays good after each person's first message; {{Offer Expiry Date}} quotes the date. |
| queue_expiry_days | integer | non | |
| daily_cap | integer | non | |
| min_days_since_visit | integer | non | |
| cooldown_days | integer | non | |
| contact_floor_days | integer | null | non | |
| hold_negative_feedback | boolean | non | |
| text_by_email_subject | string | null | non | The one email subject every text step takes when it goes by email to someone Sergio may not text. An email step keeps its own. |
| sms_opt_out_line | enum: "prefer_not" | "stop_these" | "not_interested" | "reply_stop" | non | Which opt-out line ends the first text: prefer_not = "If you'd prefer not to hear about promos like this, just reply stop."; stop_these = "To stop receiving promos from us, just reply stop."; not_interested = "Not interested? Just reply stop."; reply_stop = "Reply STOP to opt out.". Absent on creat… |
| steps | array<object> | non | |
| short_code | string | null | non | |
| color | string | null | non | |
| send_time_local | string | null | non | |
| send_window_hours | integer | null | non | |
| enrollment_source | enum: "audience_filter" | "manual" | "trigger" | non | |
| audience_mode | enum: "rolling" | "fixed" | non | |
| audience_filter | object | non | Who the campaign is for, as the builder's Audience section sets it. Use these keys only; every key given must hold. |
| audience_source | object | null | non | Instead of audience_filter, follow Contacts: { kind: "list", listId } | { kind: "view", viewId } | { kind: "people", clientIds: [...] } | { kind: "filter", query: { scope?, match?, filters: [...] } } (a Contacts filter). Each filter is { field, op, ...payload }. Fields and their ops: type: is_any_o… |
| auto_send | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_campaign
Edit, pause or archive a campaign
Edits a campaign as its builder does (the fields you pass change; the rest stay), or pauses (status paused, pulls back its queued sends) or archives it. A draft, or a campaign whose messages wait for a person's Send, saves in one call. A change that goes out with nobody pressing Send returns a preview of every message as changed and a confirm_token instead: show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. Turning automatic sending off (auto_send false) is open; turning it on stays the owner's. Templates, offer and audience_filter follow the same rules as create_campaign (listed on each field). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| name | string | non | |
| status | enum: "paused" | "archived" | "active" | non | |
| dismissed_tips | array<string> | non | |
| offer_text | string | null | non | offer_text is the offer, written the way the builder writes it ("$25 off your next booking", "10% off your next booking", "a free fridge clean"); {{Offer}} sends those exact words to every recipient. A percent offer is NOT priced per person: "10% off your next booking" goes out as written, and ther… |
| offer_expiry_days | integer | null | non | Days the offer stays good after each person's first message; {{Offer Expiry Date}} quotes the date. |
| queue_expiry_days | integer | non | |
| daily_cap | integer | non | |
| min_days_since_visit | integer | non | |
| cooldown_days | integer | non | |
| contact_floor_days | integer | null | non | |
| hold_negative_feedback | boolean | non | |
| text_by_email_subject | string | null | non | The one email subject every text step takes when it goes by email to someone Sergio may not text. An email step keeps its own. |
| sms_opt_out_line | enum: "prefer_not" | "stop_these" | "not_interested" | "reply_stop" | non | Which opt-out line ends the first text: prefer_not = "If you'd prefer not to hear about promos like this, just reply stop."; stop_these = "To stop receiving promos from us, just reply stop."; not_interested = "Not interested? Just reply stop."; reply_stop = "Reply STOP to opt out.". Absent on creat… |
| steps | array<object> | non | |
| short_code | string | null | non | |
| color | string | null | non | |
| send_time_local | string | null | non | |
| send_window_hours | integer | null | non | |
| enrollment_source | enum: "audience_filter" | "manual" | "trigger" | non | |
| audience_mode | enum: "rolling" | "fixed" | non | |
| audience_filter | object | non | Who the campaign is for, as the builder's Audience section sets it. Use these keys only; every key given must hold. |
| audience_source | object | null | non | Instead of audience_filter, follow Contacts: { kind: "list", listId } | { kind: "view", viewId } | { kind: "people", clientIds: [...] } | { kind: "filter", query: { scope?, match?, filters: [...] } } (a Contacts filter). Each filter is { field, op, ...payload }. Fields and their ops: type: is_any_o… |
| auto_send | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
delete_campaign
Delete a campaign
Deletes a campaign as Delete on its card does: its queued messages are pulled back first; messages already sent stay in their threads. It cannot be undone; to stop it for now, edit_campaign with status paused. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
request_campaign_review
Ask a manager to review a draft campaign
Asks a manager to look over a draft campaign before it starts, as Send to manager for review does: they get a Review campaign task and an alert. Nothing reaches a customer. Leave reviewer_member_id out to use the business's default reviewer; a person cannot ask themselves, and an empty answer means the business has no other reviewer to ask. Pass the same idempotency_key when retrying; one open request on a campaign answers every repeat.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| reviewer_member_id | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
start_campaign
Start a campaign (after your person confirms)
Starts a draft or paused campaign on your person's order, as Start campaign does: it enrolls the people waiting; messages marked Sergio sends then go out on their own in the send window under the business's Sending setting, and the rest are drafted for a person to send. First call without confirm_token: nothing changes; you get a preview (every message's exact words, how many people it reaches now, the audience rules, and whether the business's Sending lets a person's messages go out) and a confirm_token. Show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. If the preview says Sending is switched off, tell your person that plainly with the link; only the owner turns it on, in Sergio, and you never change it. Messages marked Sergio sends need no send call. To send the drafted (person-sent) messages, use send_campaign_messages later, in a separate turn once they are in Ready to send: never in the same set of changes as this start, because its first drafts are written after the start answers. Before the campaign exists, pass create (create_campaign's arguments) instead of campaign_id: nothing runs, and you get the same preview with a confirm_token; after create_campaign with exactly those arguments, call with its campaign_id, the same create and that confirm_token, and it starts only if its preview is still word for word what was shown.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | non | |
| create | object | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
send_campaign_messages
Send a campaign's ready messages (after your person confirms)
Sends a started campaign's drafted messages that are ready, on your person's order, as Send in its Ready to send does, as Manual sends under the business's Sending setting, spread over the campaign's send window. First call without confirm_token: nothing is sent; you get a preview (each person and the exact finished text they get, up to 50 at a time) and a confirm_token. Show your person the preview word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token: exactly the messages shown are sent. If Sending is switched off the answer says so with the link; only the owner turns it on, in Sergio. Never send something nobody asked for. Never propose it together with start_campaign: a campaign starting in the same set has no drafted messages yet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
confirm_campaign_text_consent
Confirm the company may text its clients (after your person confirms)
When a campaign would email people because Sergio has no permission to text them, your person can confirm once, for the whole company, that it has permission to text its clients. First call without confirm_token: nothing changes; you get the exact line and how many people it adds, and a confirm_token. Show your person the line word for word, and only after they say yes, call again with the same arguments and the SAME idempotency_key, plus confirm_token. Anyone who replied STOP is never texted. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
exclude_campaign_recipients
Exclude a person from a campaign
Takes one person out of a campaign's audience, as Exclude on its roster does: the removal is recorded with the reason so the campaign never drafts them again, and their queued draft is pulled back. Nothing is sent. Undo it with include_campaign_recipients. Pass the same idempotency_key when retrying; a repeat changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientId | string | oui | |
| reason | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
include_campaign_recipients
Include a person in a campaign again
Puts one excluded person back into a campaign's audience, as Include anyway on its roster does: the exclusion is retracted and a running campaign drafts their next message again. Nothing is sent. Pass the same idempotency_key when retrying; a repeat changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
skip_campaign_recipient
Skip a person's campaign messages
Skips a person's campaign messages, as Skip on the roster does: scope 'all' (default) ends their remaining messages, 'step' skips one waiting step (step is its 0-based index; leave it out for the next waiting one). Nothing is sent; the person is skipped, not removed from the audience. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientId | string | oui | |
| scope | enum: "all" | "step" | non | |
| step | integer | non | |
| reason | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
open_campaign_conversation
Open a campaign person's conversation
Resolves (opening it if needed) the client conversation behind a campaign roster row and answers its conversationId, as opening the row's thread does, so you can read or reply in it with the inbox tools. Writes no message. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
record_campaign_call_outcome
Record a campaign call outcome
Records the outcome of a campaign call step (answered or no_answer), as the Growth queue's call buttons do, so the sequence can move on. It records the outcome only: it places no call and sends nothing. taskId is the call step's task, from the send queue. Pass the same idempotency_key when retrying; a replay reports the state already on record.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| taskId | string | oui | |
| outcome | enum: "answered" | "no_answer" | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
opt_out_campaign_recipients
Opt campaign recipients out
Records that the chosen campaign recipients asked to stop, as Opt out on the send queue does: scope 'all' stops every message, 'marketing' stops campaigns only; a short reason is required. It is a one-way stop and sends nothing. taskIds are the selected campaign step tasks from the send queue. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| taskIds | array<string> | oui | |
| scope | enum: "all" | "marketing" | oui | |
| reason | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
bring_campaign_step_forward
Send a waiting campaign step now
Makes a campaign step that is not due yet ready now, as Send now on a waiting step does: the campaign writes the message the same way it would on its scheduled day, and it waits in Ready to send. NOTHING sends here; use send_campaign_messages after your person confirms. clientId is the contact (from read campaigns' roster); step is its 0-based step index, and until (YYYY-MM-DD, within 60 days) reschedules it to that day instead. The campaign must be started. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| clientId | string | oui | |
| step | integer | non | |
| until | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
start_history_import
Import message history from a connected inbox
Starts importing the past messages of a connected inbox into Sergio, as Import history on Data sources does: source openphone (Quo) or gmail, or transcripts; days back (default 90). The account must already be connected (connecting is the owner's, in Settings). A second start while one is running returns that job; it carries on in the background. Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | oui | |
| days | integer | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
cancel_import
Cancel a running import
Cancels a running import (message history or a spreadsheet), as Cancel in the import drawer does; what it already brought in stays. job_id comes from start_history_import or the import list. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| job_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
include_held_campaign_recipient
Keep or release one person a campaign rule holds back
Include anyway on a campaign's Excluded group: action include keeps clientId in the campaign over the rule that holds them (an upcoming booking, another campaign lately, recorded negative feedback); undo_include releases them again. Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| campaign_id | string | oui | |
| action | enum: "include" | "undo_include" | oui | |
| clientId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
save_campaign_email
Save a designed campaign email
Saves a designed campaign email under a name, as the email builder's Save email does, so any Email step can start from it; sending nothing. The saved email's id IS your idempotency_key: pass a new UUID (hyphens are fine) as idempotency_key, and reuse it when retrying so a repeat updates the same email instead of making a second. blocks is the email's content blocks (the same shape the builder saves); read campaigns' saved_emails to copy an existing one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| subject | string | non | |
| blocks | array<object> | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_saved_campaign_email
Remove a saved campaign email
Removes one saved campaign email from the builder's list, as Remove does; campaigns that already used it keep their own copy. saved_email_id comes from read campaigns' saved_emails. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| saved_email_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
record_tools_access
Record the business's other tools
Records the tools the business uses today and whether Serviche was given access to each, as Get started's Your tools step does: action pick (tools: [{ id } or { name }]), none, mark (tool, provided, note) or unmark (tool). Nothing leaves Sergio. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "pick" | "none" | "mark" | "unmark" | oui | |
| tools | array<object> | non | |
| tool | string | non | |
| provided | boolean | non | |
| note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
declare_lead_sources
Say where leads come from
Records where the business gets its leads (keys from the setup guide list, for example thumbtack, google_lsa, yelp, website, other; other needs its words), as Get started's lead sources step does. An answer only: it opens and sends nothing. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| keys | array<string> | oui | |
| other | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
approve_follow_up_style
Approve the lead journeys drafted from follow-up answers
Records the owner's approval of the lead journeys drafted from how the business follows up today, as Get started's follow-up step does. The journeys must already be saved as the answers draw them (answers: firstChannel, speed, followUpChannel, tries, overDays, giveUpDays; sources: the journeys approved, as lead sources such as site_thumbtack or web_form; Get started's lead sources map to them). Save the journeys first through the lead follow-up journeys setting (settings.lead_pursuit_program), drawn from these answers; otherwise the route answers journeys_not_saved. Writes no journey and sends nothing. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| answers | object | oui | |
| sources | array<enum: "missed_call" | "voicemail" | "answered_call" | "text" | "web_form" | "email" | "outbound_call" | "outbound_email" …> | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
create_flow
Create a flow (saved as a draft)
Creates a flow (an automation) as the Automations page's New flow does: a name, an optional description, how it classifies an incoming message (trigger_rules: categories, keywords or senders; trigger_direction inbound unless it starts on an outgoing message), and its steps in order, at least one. It is born a DRAFT: it runs nothing until a person turns it on (set_flow_on), and nothing is sent. Each step takes a title and instructions; a step that reaches the client names its channel (sms or email) and message_template, written with Sergio's merge tags, never a hard-coded business or client name; timing is the owner's words in when_phrase. read('flows') returns the company's existing templates to copy from. Pass the same idempotency_key when retrying; a repeat returns the same flow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| description | string | non | |
| summary | string | non | One line on what the flow is for, shown beside its name. |
| steps | array<object> | oui | |
| trigger_rules | object | non | |
| trigger_direction | enum: "inbound" | "outbound" | non | inbound (default) starts it on a message the client sends; outbound on one we send. |
| color | string | non | |
| icon | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
try_flow_trigger
Test a Trigger on the last 7 days
Answers who a Trigger would have started for over the last 7 days, and who it would have skipped and why, as the Automations editor's "Try it on the last 7 days" does. READ ONLY: nothing is sent, created or started. It runs the flow's saved Starts when and Only if rules, so it works on a draft too; flow_id comes from read('flows'). It answers only for a Trigger flow (one whose starts_when is a job event, e.g. New job booked); a flow that starts some other way is refused with the reason. Call it before turning a flow on (set_flow_on), and quote the started and skipped rows to your person so they decide. Pass the same idempotency_key when retrying; a repeat returns the same answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_flow
Delete a flow
Deletes a flow as Delete on the Automations page does. A flow that has never run on a conversation is removed for good. A flow that has already run on conversations is instead switched off and kept (its runs in progress end), because its history points at it; Archive (set_flow_archived) hides a flow without deleting it. A system flow cannot be deleted. flow_id comes from read('flows'); check the flow's steps before deleting, so a flow with something the company still needs is archived instead. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_flow_archived
Archive or un-archive a flow
Archives a flow as its Archive on the Automations page does (archived true): it leaves the flow pickers and the router but is kept, and runs in progress are unaffected. archived false un-archives it. flow_id comes from read('flows'); archive several by calling once per flow. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| archived | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_flow_on
Turn a flow on or off
Turns a flow on or off, as its On switch on the Automations page does. Turning it on runs the same publish check (a refusal says what is missing); turning it off ends its runs in progress. flow_id comes from read('flows'). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| is_active | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_flow
Rename a flow or change its description
Changes a flow's name or description, as its editor on the Automations page does. Send only what changes. Its steps and how it starts are set in the editor (how it starts: set_flow_start). flow_id comes from read('flows'). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| name | string | non | |
| description | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
revert_flow_revision
Undo a flow change
Undoes a flow change the way the Automations editor's Recent changes does, writing the flow's prior snapshot back. Pass revisionId to undo one flow's change, or batchId to undo one apply that touched several flows at once (the 5-second Undo toast). read('flow_revisions', { flow }) lists a flow's changes, newest first, each with its id, summary, created_at and whether it was already reverted_at; a change already undone is refused rather than applied twice. Nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the same answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| revisionId | string | non | Undo one flow's change: the revision id from read('flow_revisions'). |
| batchId | string | non | Undo one apply that touched several flows: the revision's batch_id from read('flow_revisions'). |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
run_flow_now
Run a Trigger on upcoming bookings now
Runs a live Trigger on your company's upcoming bookings now, as Run now on the Automations page does: it applies this flow's saved Starts when and Only if rule to visits that have not started yet, so bookings made before the flow existed get their steps too. Each booking gets ONE run ever: a booking that already has a run (a message that went out, or a run in progress) gets nothing, so running again is safe and picks up anything left. Steps handled by your team become tasks; a step Sergio handles messages that client on its own, exactly as the page's Run now does, under the business's Sending setting (Sergio never turns Sending on for you, and this never bypasses it). Start with dryRun true to answer how many bookings would start and whether Sergio may message them, and change nothing; preview and run are two different calls, so give each its own idempotency_key. Only a published Trigger that starts on New job booked offers Run now: a draft must be published first (set_flow_on), and a Trigger on another event or on Every upcoming job is refused with the reason. flow_id comes from read('flows'). Tell your person the count and, when Sergio would message clients, that they will be messaged, before the real run.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| dryRun | boolean | non | true answers how many upcoming bookings would start and whether Sergio would message them, and changes nothing. |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_flow_steps
Edit a flow's steps
Saves a flow's steps as the Automations editor's save does: send the COMPLETE new step list in order. Add a step by including it, remove one by leaving it out, reorder by changing the order, and edit one by changing its fields. Every step you keep must be sent in full (start from read('flows'), which returns each step's id, timing, channel, message, who it is for and conditions), because the save replaces the whole list; a step you leave out is removed, and at least one step must remain. Copy each step's id so a reorder keeps that step's own autonomy and copy. A step that reaches the client names channel (sms, email or call) and message_template written with Sergio's merge tags, never a hard-coded business or client name. A step's send mode (draft vs automatic) is not set here; its switch stays the owner's. flow_id and the steps come from read('flows'). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | |
| steps | array<object> | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
create_task
Create a task
Adds a task to the team's work queue, optionally tied to a client or conversation and due at a time (ISO 8601). Pass the same idempotency_key when retrying; a repeat returns the original task.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| title | string | oui | |
| description | string | non | |
| due_date | string | non | |
| priority | enum: "low" | "medium" | "high" | "urgent" | non | |
| client_id | string | non | |
| conversation_id | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
complete_task
Complete a task
Marks a task done, recorded as completed by this seat. A flow-step task also completes its step, as the check box does. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
skip_task
Dismiss a task as not needed
Dismisses a task as not needed (terminal, distinct from done). A client check-in needs a skip_reason. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| skip_reason | string | oui | |
| note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
reopen_task
Reopen a task
Reopens a done or dismissed task, clearing its completion. reopen_reason says briefly why (required, it rides the audit row). A lead follow-up (pursuit) task is refused: reopening it can queue a message, so a person does it. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| reopen_reason | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
snooze_task
Move a task's due time
Moves a task's due time (ISO 8601 with offset). A flow-step task shifts its later steps by the same gap, as in the app. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| due_date | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
assign_task
Assign a task
Assigns a task to a team member (their member id from read('team_members') or whoami), or unassigns it with null. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| assigned_to | string | null | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
update_task
Edit a task
Edits a task as a person can on its row: title, description (details), due_date (ISO 8601 with offset, or null to clear), priority, client_id or conversation_id (null unlinks). Send only the fields to change. A flow-step task shifts its later steps when its due time moves, as in the app. Pass the same idempotency_key when retrying; a repeat returns the task, reports what the original call applied, and changes nothing if the task changed since.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| title | string | non | |
| description | string | null | non | |
| due_date | string | null | non | |
| priority | enum: "low" | "medium" | "high" | "urgent" | non | |
| client_id | string | null | non | |
| conversation_id | string | null | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_task
Delete a task
Deletes a task outright, as the task menu's Delete does. It cannot be undone; to say a task is not needed, use skip_task instead. Deleting a Scanner's task tells that Scanner it was wrong. Pass the same idempotency_key when retrying; a repeat returns the first delete's answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
complete_tasks_bulk
Mark several tasks done
Marks up to 200 tasks done at once, as the Tasks page's selection bar does; each closes exactly as its own check box would. Kinds that close only from their own screen (lead follow-ups, flow steps, questions, staff check-ins, rules) are refused per task and reported in results. action "reopen" is the Undo. Pass the same idempotency_key when retrying; a repeat returns the first answer and moves nothing again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| ids | array<string> | oui | |
| action | enum: "done" | "reopen" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
accept_suggestion
Accept a Sergio suggestion
Accepts a Sergio suggestion card, as the card's accept does. action "accept" commits it as a task (optionally with your edited title, details or due, ISO 8601 or null); "accept_no_task" resolves it without a task when the work already happened. A card whose move would send a message, move money, open to the public or grant access is refused with where the owner does it; draft instead (create_draft, or run_suggestion_now on a draft card). Pass the same idempotency_key when retrying; a repeat returns the first answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| suggestion_id | string | oui | |
| action | enum: "accept" | "accept_no_task" | non | |
| taskTitle | string | non | |
| taskDescription | string | non | |
| due | string | null | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
dismiss_suggestion
Dismiss a Sergio suggestion
Dismisses a Sergio suggestion card, as the card's dismiss does. reason is optional ("Not needed" tells the Scanner that raised it that it was wrong). Pass the same idempotency_key when retrying; a repeat returns the first answer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| suggestion_id | string | oui | |
| reason | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
run_suggestion_now
Run a Sergio card now
Runs a Sergio card's move now, as the card's "Run this now" does. action_type is the card's action type (for example create_draft). A move that sends, moves money, opens to the public or grants access is refused with where the owner does it; a move that writes to an outside system (booking changes) is not lent to agents yet. Pass the same idempotency_key when retrying; the move keys on the card, so it never runs twice.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| suggestion_id | string | oui | |
| action_type | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
dismiss_notification
Dismiss a notification
Dismisses a notification card (action "dismiss"), snoozes it for its own snooze time ("snooze"), or marks it read ("read"), as the card's controls do. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| notification_id | string | oui | |
| action | enum: "dismiss" | "snooze" | "read" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
undo_contact_change
Undo a logged contact change
Undoes one logged contact change from its Activity Log row, as the row's Undo does: restores the old values of an edited contact, puts a Quo card back to how it was, or splits a merged contact back out. activity_id comes from read (entity activity log). force undoes anyway when a later change conflicts (the row answers conflict without it). Pass the same idempotency_key when retrying; a repeat answers already_undone with the first undo.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| activity_id | string | oui | |
| force | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_showcase_photos
Edit Showcase photos
Changes the business's Showcase photos as the Photos page does: op pair or merge (photo_ids [before, after]), unpair or swap_sides (photo_ids [one]), favorite (photo_ids and value true/false), unpublish or delete (photo_ids 1-500). photo_ids and company_id come from read entity showcase_photos (company_id is the Showcase company the org is linked to). Visual pair alignment (dragging images) stays on the Photos page. The change returns through Showcase's feed. Pass the same idempotency_key when retrying; a repeat returns the first result. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| op | enum: "pair" | "unpair" | "merge" | "swap_sides" | "favorite" | "unpublish" | "delete" | oui | |
| company_id | string | oui | |
| photo_ids | array<string> | non | |
| value | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
create_client
Add a contact
Adds a contact as the Add contact form does: a name, a phone (with area code) or an email is enough. contact_type picks client (default), lead, applicant, staff or other. A phone or email that already belongs to a contact, or else the exact name of one, is answered with that contact (duplicate_contact, matchedOn, its id in the message); use it, or pass createAnyway: true for a different person who shares it (two people can share a name; a shared phone stays with its owner). Look a person up first with findClientByIdentifier or read. Pass the same idempotency_key when retrying; a repeat returns the contact the first call made. platform_customer links the contact to its booking platform customer id (platform defaults to the company's one booking platform); an id another contact holds is refused with that contact. address {line, apt, zip} saves the client's service address with the contact (its default), through the same address book as add_client_address; a line without a 5-digit ZIP refuses the whole call (zip_required) and creates nothing. A booking for this client then books at that address.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | non | |
| phone | string | non | |
| string | non | ||
| contact_type | enum: "client" | "lead" | "applicant" | "staff" | "other" | non | |
| createAnyway | boolean | non | |
| address | object | non | |
| platform_customer | object | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_client
Edit a contact
Edits a contact as the contact card's pencil does: name, phone (with area code), email, company_name, address (keep its zip if it had one), access_method (how the crew usually gets in, e.g. someone is home, key is hidden, lockbox; for one visit or this and later visits of a plan use add_booking_note kind access_method instead), access_notes, special_instructions, has_pets, pet_details, preferred_cleaner, preferences, availability_notes, contact_type. Send only the fields to change; a contact always keeps a name, phone or email. expected (field -> the value you read) refuses the save if someone changed it since (stale_write). A rename reaches the Quo card when the business's write setting allows. Renaming a staff contact to a name another staff member holds answers name_conflict with that person: ask your user, then send the name again with same_person_as (that staff id: this contact is them) or separate_person: true (a different person; the name stays on this contact only). platform_customer links the contact to its booking platform customer id; an id another contact holds is refused with that contact. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| name | string | null | non | |
| phone | string | null | non | |
| string | null | non | ||
| company_name | string | null | non | |
| address | string | null | non | |
| access_method | string | null | non | |
| access_notes | string | null | non | |
| special_instructions | string | null | non | |
| has_pets | boolean | null | non | |
| pet_details | string | null | non | |
| preferred_cleaner | string | null | non | |
| preferences | string | null | non | |
| availability_notes | string | null | non | |
| contact_type | enum: "client" | "lead" | "applicant" | "staff" | "other" | "spam" | non | |
| same_person_as | string | non | |
| separate_person | boolean | non | |
| expected | object | non | |
| platform_customer | object | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_client_note
Add a note to a client
Adds an office note to a client's record (category general, access, preference, alert or scheduling; pinned keeps it surfaced). Only the team sees it; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the original note.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| content | string | oui | |
| category | enum: "general" | "access" | "preference" | "alert" | "scheduling" | non | |
| pinned | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
log_call
Log a call to a contact
Logs a phone call the team made outside the phone system (a cell phone, a desk phone) on a contact, as the contact pane's Log a call does. outcome: answered (someone picked up), no_answer, or voicemail (you left one). Optional note (what was said) and at (ISO time the call happened; now when left out, never in the future). The call joins the contact's history and moves their Lead status: an answered call reads In discussion; no answer or a voicemail, with nothing back from them, reads Contacted (a quote, a booking or a status a person set still wins). The answer carries leadStatus, where they stand now. Calls made through the connected phone system are recorded already; do not log those. Nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the original call.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| outcome | enum: "answered" | "no_answer" | "voicemail" | oui | |
| note | string | non | |
| at | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
correct_call_outcome
Correct a call's outcome
Says whether a call your team placed reached the person (picked up or not), as the lead card's call row does, and re-decides the lead's status from it. reached: true a person picked up, false nobody did (a greeting, a menu, no answer). Only a call your team placed (outbound) can be corrected, and true needs a call the phone system says connected. call_id from read calls. Nothing is sent. Pass the same idempotency_key when retrying; a repeat changes nothing more.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| call_id | string | oui | |
| reached | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
pin_client_note
Pin or unpin a client note
Pins a note to the top of a contact's card (pinned: true) or unpins it (false), as the note's pin on the contact card does. noteId comes from read (entity client notes). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| noteId | string | oui | |
| pinned | boolean | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_client_identifier
Add a phone number to a contact
Adds another phone number to a contact, as the contact card's Add phone does. It joins the contact's identity so an inbound text or call from it lands here and search finds the contact by it. A number another contact holds, or one of the business's own lines, is refused with who holds it. makeTextNumber makes it the number Sergio texts; the contact's first number does that by default. Pass the same idempotency_key when retrying; a repeat changes only its label.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| value | string | oui | |
| label | string | non | |
| makeTextNumber | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_client_identifier
Relabel or renumber a contact's phone
Edits one phone number on a contact, as the contact card's Edit phone does: label changes the words beside it, value changes the digits (refused for the contact's preferred number, which changes through edit_client, and for a number the booking software writes back). textThisNumber (true) makes this phone the one Sergio texts. identifierId comes from read (entity client identifiers). Pass the same idempotency_key when retrying; a repeat changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| identifierId | string | oui | |
| label | string | non | |
| value | string | non | |
| textThisNumber | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
record_client_relationship
Say two contacts are related, or different people
Answers 'same person?' for two contacts, as the contact pane's shared-line chip and the card's Related people do: action related (different people who legitimately share a line: spouses, family, a household, an assistant, coworkers) with relation, or action not_duplicate (two different people who happen to share a line; duplicate suggestions for the pair stop everywhere). otherClientId is the other contact (read entity clients). Nothing is sent. Pass the same idempotency_key when retrying; the verdict is an upsert, so a repeat changes nothing.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| action | enum: "related" | "not_duplicate" | oui | |
| otherClientId | string | oui | |
| relation | enum: "spouse" | "household" | "family" | "assistant" | "colleague" | non | |
| dismissedReason | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
dismiss_client_relationship
Keep two contacts separate, or remove a Related link
Dismisses the shared-line review hint between two contacts (they share a phone or email but are different people), or removes a Related people link from the card, as Keep separate and Remove link do. relationshipId comes from read (the relationship is returned by the card's relationships read). The pair is recorded as different people first, so Sergio never combines them on its own; both stay separate contacts. Nothing is sent. Pass the same idempotency_key when retrying; a repeat after the edge is gone answers not found.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| relationshipId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
save_client_staff_relationship
Mark a cleaner preferred, blocked or backup for a client
Marks one cleaner as preferred, blocked or backup for a client, as the contact card's relationship chips do. Give staff_id (read entity staff_profiles) or a staff_name; a name that matches exactly one person is keyed by that person's id, so a rename replaces the same row. strength 1-10 (default 7 for preferred, 5 otherwise) and reason are optional. Nothing is sent. Pass the same idempotency_key when retrying; it is one row per person, so a repeat updates the same row.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| staff_id | string | non | |
| staff_name | string | non | |
| relationship_type | enum: "preferred" | "blocked" | "backup" | oui | |
| reason | string | non | |
| strength | integer | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
remove_client_staff_relationship
Remove a cleaner's relationship from a client
Removes a preferred, blocked or backup staff relationship from a client, as the chip's Remove does. relationship_id comes from the staff relationships read (read the client's relationships). Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| relationship_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_client_status
Change a client's status
Sets or clears one status on a client, as the card's Manage menu does: deactivate (hides them from the clients list by default) or unsubscribe (do-not-contact; on:true needs a short reason and stops every campaign and lead follow-up on that channel). on:false clears it (or re-subscribes). scope all or marketing and channel sms or email narrow an unsubscribe. These are the client's own statuses, not anyone's access to Sergio. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| action | enum: "deactivate" | "unsubscribe" | oui | |
| on | boolean | oui | |
| reason | string | non | |
| scope | enum: "all" | "marketing" | non | |
| channel | enum: "sms" | "email" | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
log_client_checkin
Log a client check-in
Logs a check-in attempt on a contact, as the contact card's Log a check-in does: outcome reached (with sentiment positive, negative or neutral), no_answer, voicemail, callback_due or skipped; optional channel (call, sms, email, in_person, other) and note. Pass bookingId (read a booking) to attribute the check-in to a visit's assigned staff; staffOverrideIds names people explicitly. Nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the same check-in.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| clientId | string | oui | |
| outcome | enum: "reached" | "no_answer" | "voicemail" | "callback_due" | "skipped" | oui | |
| sentiment | enum: "positive" | "negative" | "neutral" | non | |
| channel | enum: "call" | "sms" | "email" | "in_person" | "other" | non | |
| bookingId | string | non | |
| staffOverrideIds | array<string> | non | |
| conversationId | string | non | |
| callId | string | non | |
| note | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
record_checkin_outcome
Record a post-service check-in outcome
Records how a post-service check-in went, as the check-in task card's outcome buttons do: reached_happy or reached_concern (a note is required for reached_concern and callback_due), no_answer, voicemail or callback_due; sentiment overrides the default on a reached outcome. task_id is the check-in task (read tasks). This files the client's words against the visit's assigned cleaners (a concern can start the Complaint flow), and the answer's warnings say what could not happen. Nothing is sent. Pass the same idempotency_key when retrying; a same task+outcome+day writes once.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| task_id | string | oui | |
| outcome | enum: "reached_happy" | "reached_concern" | "no_answer" | "voicemail" | "callback_due" | oui | |
| note | string | non | |
| sentiment | enum: "positive" | "negative" | "neutral" | non | |
| confirmCheckinId | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
import_client_quo_history
Import a client's older Quo history
Pulls one client's complete Quo (OpenPhone) text and call history into Sergio through the shared ingest, for a person whose last text predates the connected backfill, as Import older Quo history does. Read-only against Quo; nothing is sent or changed at Quo, and ingest dedups by the Quo id so a repeat brings nothing new. Quo must be connected. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
export_client_to_quo
Push one client to Quo
Makes Quo match one client now, as Export to Quo on the contact card does: creates their Quo contact or updates an already-linked one through the business's write setting (a blocked setting answers outbound_stage_blocked and writes nothing). Nothing is charged and no message is sent. Quo must be connected. An owner-level change: Sergio tells the owner after it is made. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| clientId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
post_team_note
Post a team note
Posts a team note about nobody in particular (a heads-up for the office, e.g. the van is in the shop) to the day's Ops Summary activity, as the note box does. A note ABOUT a contact belongs on that contact's record instead (add_client_note). Nothing is sent to a client. Pass the same idempotency_key when retrying a repeat.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| content | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
add_team_reference_note
Add a Team reference note
Pins a new note (a call script, a rule of thumb) to the Ops Summary's Team reference card, as Add note does: title and content_md (Markdown; the words an office person should follow). A repeat of the same Save returns the note it made. Pass the same idempotency_key when retrying. Edit it with edit_team_reference_note, remove it with remove_team_reference_note.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| title | string | oui | |
| content_md | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
edit_team_reference_note
Edit a Team reference note
Saves edits to a note pinned to the Ops Summary's Team reference card, as Edit on a note does: note_id, the note's full new title and content_md (Markdown). Only a note on the card is reachable. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| note_id | string | oui | |
| title | string | oui | |
| content_md | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
upload_team_reference_image
Upload a picture for a Team reference note
Stores a picture for a Team reference note on the Ops Summary, as the note editor's picture button does, and returns its url and path. Put the url in the note's content_md as  through add_team_reference_note or edit_team_reference_note. Send the picture bytes as content_base64 with its file_name; a JPEG, PNG, GIF or WebP, 5 MB at most. Pass the same idempotency_key when retrying; a repeat returns the image the first call stored.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| file_name | string | oui | |
| content_base64 | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
remove_team_reference_note
Remove a Team reference note
Takes a note off the Ops Summary's Team reference card, as Remove does: note_id. A business with the SOP library keeps the article there; one without it has the note archived, never left active where no one can see it. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| note_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
delete_client_note
Delete a client note
Deletes a note from a contact's card outright, as the note's Delete does. It cannot be undone (the activity log keeps what it said). Pass the same idempotency_key when retrying; a repeat after the note is gone answers success.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| noteId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
remove_client_identifier
Remove a phone or email from a contact
Removes one phone number or email from a contact, as the contact card's Remove does; its texts, calls and emails leave the contact for the value's own thread and the contact's own phone/email moves to what remains. Refused for a value the booking platform writes back on its next sync (use the card's This is someone else for those). identifierId comes from read (entity client identifiers). An owner-level change: Sergio tells the owner after it is made. Pass the same idempotency_key when retrying; a repeat removes nothing more. An owner-level change: Sergio tells the owner after it is made.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| identifierId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| reason | string | non | Why you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change. |
mark_review_posted
Mark a client's Google review as posted
Marks whether a client's Google review is in, as the client card's Mark posted / Undo posted does: posted true stops every review ask and resolves the open review-chase steps; posted false takes the mark back. do_not_ask also stops the asks without a review (the same effect as the outcome route's declined), and markAskedNow stamps today as the first ask. The change is attributed to the person and idempotent: a re-save with no change writes nothing. Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| posted | boolean | oui | |
| do_not_ask | boolean | non | |
| markAskedNow | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
fix_missing_zip
Fix a client's missing ZIP
Writes a 5-digit ZIP onto a client's service address after the missing-zip plan's gates pass, as the cockpit's zip control does. The fix lands on the customer's BookingKoala profile through the business's write policy; a blocked policy answers outbound_stage_blocked and writes nothing. dryRun returns the plan without writing. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| client_id | string | oui | |
| zip | string | oui | |
| dryRun | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
install_toolshed_item
Add a Toolshed item
Adds one Toolshed item to this business as its own copy, as Add in Automations > Toolshed does. A shared flow or a Sergio starter lands as a draft (off), with Sergio's autonomy dropped so a person sets who sends; a Scanner is adopted on, watching for you; a handbook job is written into this business's handbook. versionId is the item's id from the Toolshed listing (GET /api/marketplace/browse): a shared version's uuid, or a Sergio item's sergio: . update: true moves an already-added Scanner to the item's current version. Adding an item already added returns the existing copy (alreadyInstalled). Nothing is sent. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| versionId | string | oui | |
| update | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
mark_my_feedback_done
Mark your own feedback item done
Closes, or reopens with undo true, one of YOUR OWN open feedback items from What's New 'Being worked on' (feedback_id, from read the open feedback items), as Done on your own item does. A repeat of the same idempotency_key returns the first result; marking an item already Done is refused. Another person's item is refused. Nothing is sent.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| feedback_id | string | oui | |
| undo | boolean | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_create
Add a webhook (send Sergio events to Make, Zapier or any URL)
Adds an outgoing webhook, as Add webhook in Settings > Connections > Webhooks does: Sergio posts each chosen event, signed (Sergio-Signature: t=,v1=), to url (https). events: public event names from read webhook_events (e.g. booking.created), or ["*"] for every event including ones added later. Shows the exact url and events for your person's yes first (confirm step). Answers the endpoint and its signing secret ONCE (later reads show only its last 4). Then call webhook_test. What the receiving app does with the data, including any texts or emails it sends, is the company's own automation outside Sergio. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | |
| events | array<string> | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
webhook_update
Change a webhook's address or events
Changes one webhook (webhook_id from read webhooks): its url and/or events. events: public event names from read webhook_events (e.g. booking.created), or ["*"] for every event including ones added later. Shows the exact new url and events for your person's yes first (confirm step). Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| url | string | non | |
| events | array<string> | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
| confirm_token | string | non | From the preview, after your person said yes. Leave it out to get the preview. |
webhook_pause
Pause a webhook
Pauses one webhook (webhook_id from read webhooks), as Pause on its row does: nothing is posted until webhook_resume; events wait up to 7 days. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_resume
Resume a webhook
Resumes one paused or failing webhook (webhook_id from read webhooks), as Resume on its row does; events that waited are posted. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_rotate_secret
Rotate a webhook's signing secret
Replaces one webhook's signing secret (webhook_id from read webhooks), as Rotate on its row does, and answers the new secret ONCE. A receiver that checks signatures needs the new one. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_delete
Delete a webhook
Removes one webhook (webhook_id from read webhooks) and its delivery log, as Delete on its row does; nothing more is posted to that address. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_test
Send a test event to a webhook
Posts a signed sample of one event (event, default the webhook's first; livemode: false) to one webhook (webhook_id from read webhooks), as Send test event does, and answers the receiver's status code and reply excerpt. The attempt shows in read webhook_deliveries. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| event | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
webhook_resend
Resend an event to a webhook
Posts one past event (event_id from read webhook_deliveries) to one webhook (webhook_id) again now, as Resend in its delivery log does; events are kept 7 days. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| webhook_id | string | oui | |
| event_id | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
lead_intake_address
Get the lead intake URL
Answers the URL a form or automation tool POSTs each new lead to as JSON (a Make "HTTP: Make a request" step after Facebook Lead Ads "Watch new leads", a Zapier webhook step, a website form). Each lead lands on the Leads page within seconds and starts the lead follow-ups. The first call creates it. source (optional): where the leads come from, e.g. angi; it is added to the URL so each lead shows as from that source. Without it, a Facebook Lead Ads lead shows as Facebook on its own and any other as a lead form. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
lead_intake_rotate
Replace the lead intake URL
Replaces the lead intake URL (use when it leaked) and answers the new one; the old URL stops working at once, so update every tool that posts to it. source (optional): where the leads come from, e.g. angi; it is added to the URL so each lead shows as from that source. Without it, a Facebook Lead Ads lead shows as Facebook on its own and any other as a lead form. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| source | string | non | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
meta_leads_status
Meta Lead Ads connection
Answers whether Meta Lead Ads is connected natively, and once signed in, grant (the Facebook permissions granted, declined and missing, and the Page ids the person picked; no token): the connected Pages (needsReconnect true means Facebook refused that Page and its leads wait until it is connected again), connectUrl (the Connections page where your user presses Connect Meta and signs in with Facebook in their own browser; an agent cannot do that step), and, once signed in, connectablePages to pass to connect_facebook_page. Changes nothing. Pass an idempotency_key.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
connect_facebook_page
Connect a Facebook Page for Meta Lead Ads
Connects one Facebook Page (pageId from meta_leads_status connectablePages) so each Lead Ads lead lands on the Leads page within seconds as a Facebook or Instagram lead with its form answers, and starts the lead follow-ups. Your user must have signed in with Facebook on Connections first. Connecting a Page that needs reconnecting fixes it and runs the leads that waited. Nothing is sent to anyone. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pageId | string | oui | |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
disconnect_facebook_leads
Disconnect Meta Lead Ads
Disconnects Meta Lead Ads as the Connections row's Disconnect does: every Page stops sending leads to Sergio and Sergio's Facebook access is deleted. Leads already in Sergio stay. Reconnect any time from Connections. Nothing is sent to anyone. Pass the same idempotency_key when retrying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
update_settings
Change organization settings
Changes one or more of the organization's settings, as a person on the Settings page would, with this seat's role deciding what it may change. Sending controls, anything that opens a page to the public, payments, spend increases, and access are never available to agents. Owner-level and confirm-level settings are available when the owner turned on "Let this agent change owner settings" for this seat on the Team page (on by default for an agent the owner adds); the owner is told about each such change, with your justification if you give one. Pass changes as { " ": value }. Keys: notification_settings.enabled (toggle); notification_settings.rules (editor); notification_settings.slack_hours (enum); settings.booking_platforms (list); urgency_settings.do_now_lead_minutes (number); urgency_settings.task_lookahead_days (number); org.chime_enabled (toggle); settings.reply_chime.delayMinutes (number); settings.reply_chime.repeatSeconds (number); settings.reply_chime.muteMinutes (number); platform_email_rules (list); settings.review_alert_at_or_below (number); blocked_senders (list); auto_assignment_config.enabled (toggle); auto_assignment_config.pool (list); auto_assignment_config.auto_classify_flows (toggle); settings.holidays_enabled (toggle, null resets it); settings.persona_name (text, null resets it); settings.hand_sent_text_signoff (toggle); settings.crisis_resources (text); settings.price_quote_style (enum); tone_settings.preset (enum); tone_settings.customPrompt (text); sett…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| changes | object | oui | Setting key -> new value. Send only the keys that change. |
| justification | string | non | Optional: why the business wants this change. Shown to the owner in the notice Sergio sends after an owner-level change. |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
set_flow_start
Change how a flow starts
Changes how one of this business's flows starts ("Starts when" in Automations) and whether it is on, exactly as the Automations editor's save does. starts_when "contact" means "You add it to a contact": nothing starts the flow by itself. Any other value starts it automatically on that booking event. Switching a start off ("contact") or turning a flow off (active false; its runs in progress end) is open to this seat. Starting a flow on an event or turning a flow on is owner-level: available only when the owner turned on "Let this agent change owner settings" for this seat; the owner is told about each such change. A flow that starts on every upcoming job (starts_when_words says so) turns on only after a person confirms how many jobs it covers, which this tool cannot do: it comes back refused with that count, and the owner turns it on in Automations. Picking a booking event here makes a flow start only on jobs from then on. read("flows") shows each flow and its current start. Events: booking_created (New job booked); booking_changed (Job changed); booking_cancelled (Job cancelled); staff_clocked_in (Cleaner clocked in); staff_not_clocked_in (Cleaner hasn't clocked in); job_finished (Job finished); visit_unconfirmed (Past job not marked done in the booking platform); card_declined (Card declined); review_received (Review received); review_low_rating (Low-star Google review); staff_on_the_way (Cleaner tapped On the way); staff_clocked_out (Cleaner clocked out); staff_running_lat…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| flow_id | string | oui | The flow id (from read("flows")). |
| starts_when | enum: "contact" | "booking_created" | "booking_changed" | "booking_cancelled" | "staff_clocked_in" | "staff_not_clocked_in" | "job_finished" | "visit_unconfirmed" … | non | "contact" for by hand only, or the booking event that starts it. |
| first_booking_only | boolean | non | With an event: true starts it only on a client's first booking. Omitted keeps the current choice. |
| active | boolean | non | true turns the flow on, false turns it off. |
| justification | string | non | Optional: why the business wants this. Shown to the owner with an owner-level change. |
| idempotency_key | string | oui | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://sergio.serviche.com/api/agent/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http sergio https://sergio.serviche.com/api/agent/mcpCustomize > Connectors > + Add > Add custom connector ; Name : sergio ; URL : https://sergio.serviche.com/api/agent/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : sergio ; Server URL : https://sergio.serviche.com/api/agent/mcp ; Create as a plugin{
"mcpServers": {
"sergio": {
"url": "https://sergio.serviche.com/api/agent/mcp"
}
}
}{
"mcpServers": {
"sergio": {
"type": "http",
"url": "https://sergio.serviche.com/api/agent/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"sergio": {
"url": "https://sergio.serviche.com/api/agent/mcp"
}
}
}{
"mcpServers": {
"sergio": {
"httpUrl": "https://sergio.serviche.com/api/agent/mcp"
}
}
}[mcp_servers.sergio]
url = "https://sergio.serviche.com/api/agent/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Sergio by Serviche · L’Atlas · Test du
[Sergio by Serviche — L’Atlas](https://latlas.dev/mcp/com.serviche/sergio)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.