Changelog
History of changes to the Capturia API v1, dated and categorized.
- Added
v1What writes to your leads names its sends and its external tools
Added: the MCP connector's
get_tool returnsautomation_ families next_for each calendar, its next dated reminder, andat pendingandnext_for the follow-up after a missed appointment. Underat untrusted_, it names what sends for a source: the automations that ask for referrals, and the API keys that send emails (theuser_ content. senders integrationssource, in an account whose plan includes the public API). Existing fields do not change. - Changed
v1A booking's time zone names a place
Changed:
POST /refuses av1/ bookings timezonethat does not name a place, like a bare offset already was: an abbreviation (EST),UTC,Etc/or a legacy name (GMT+5 US/) now answerEastern 400 validation_, reasonerror invalid_. Such a time zone made the times announced to the guest drift (timezone ESTnever switches to daylight saving time). Send the place's IANA name, likeAmerica/, or leaveToronto timezoneout to use the contact's, otherwise the calendar's. - Added
v1A lead capture says when its email looks wrong
Added: the
POST /response carriesv1/ leads/ capture email_. It ischeck nullwhen the request has no email or there is nothing to report. Otherwise,statusisundeliverablewhen the address cannot receive any email (a domain reserved for testing, or an extension that does not exist such asgmail.): Capturia will not send it any email. It iscon suspected_when its domain looks like a typo of a major provider (typo gmail.,coml hotmai.).com did_gives the address the prospect most likely meant to type, oryou_ mean null. The lead is captured in every case, with the address received: Capturia neither corrects nor rejects it, andmessagesays so in one sentence. It is up to your integration to react, for example by asking the prospect for their address again. - Changed
v1A quote carried by a page goes out from its page
Changed:
POST /refuses the first send of a quote that a proposal page carries, sent or still a draft:v1/ quotes/ {id}/ send 409 quote_, and nothing goes out. The quote goes out from its page, as the dashboard's Send button already does. The MCP connector'scarried_ by_ page prepare_preview announces the same refusal.quote_ send - Added
v1An example contact received through the API enters no automation
Added: the
POST /response carriesv1/ events example_. It iscontact truewhen the contact is an example contact (anexample.,com example.ornet example.address, or one on aorg .domain) or a test record already on file: the event is recorded on a test record, no automation is enrolled (example enrolled_isexecutions 0) andmessagesays so. Test with your own contact details. - Changed
v1A custom event name is compared regardless of capital letters and surrounding spaces
Changed: on
POST /, the name received inv1/ events eventis compared to the name of the “Custom event” trigger regardless of capital letters and of spaces at the start or end, non-breaking spaces included:Order_andPaid order_start the same automations. A dash, an underscore or one different letter still count.paid - Changed
v1The team's internal note is separated from the prospect's notes
Added:
internal_onnote POST /(5,000 characters at most), andv1/ bookings internal_andnote internal_on every booking read. It is the team's note for the booking's seller: the prospect never sees it, neither in their invitation nor in their emails, and the seller reads it in their prep brief.note_ updated_ at Changed:
notesnow holds the prospect's notes (the ones they wrote when booking, or that an integration sets for them); they appear in their calendar invitation. The notes the team had written on existing bookings, upcoming ones included, are now ininternal_.note Changed: the
briefofGET /follows the blocks the booking's calendar keeps: without the portrait,v1/ bookings/ {id} who,companyandrelationshipare empty; without the talking points,talking_is empty; without either, it ispoints none, andbooking_is not sent.brief_ ready MCP connector, removed:
get_answers with an error that names its replacement,booking_ brief get_. The dossier is made of the blocks the calendar keeps (the internal note, pinned notes, qualification, form answers, the lead reading, "Key points", and the portrait and talking points written by the AI), inbooking_ dossier untrusted_, withuser_ content. blocks ai_.status - Added
v1A management system reads what changed, payments with their documents, and a booking's preparation
Added:
updated_andafter updated_onbefore GET /,v1/ contacts GET /,v1/ pipeline/ deals GET /,v1/ bookings GET /andv1/ quotes GET /; with either bound, the list is sorted by ascendingv1/ payments updated_, and a cursor from another sort is refused (at cursor_); an archived booking or quote comes back in it with itsfield_ mismatch archived_.at GET /lists the account's collected payments (quotes, funnels, recorded payments, direct Stripe, Space memberships) with their receipt and credit notes, andv1/ payments GET /returns one document with a link to its PDF; a new scope,v1/ payment- documents/ {id} payments:read, opens them.GET /returns a booking with its preparation brief (v1/ bookings/ {id} brief). Three webhook events:receipt_,issued credit_andnote_ issued booking_.brief_ ready Changed by addition:
payment_andreceived payment_are also sent for a direct Stripe payment of the account (Stripe link, invoice or subscription) and for a member's membership in a Space (refunded resource_=type community_). The refund of a payment recorded by hand on a quote is now sent only once, under the quote's order, the paymentmembership_ payments GET /lists. No existing field changes.v1/ payments Changed: the
/operations require the account plan's Bookings module (v1/ bookings 403 feature_,not_ available details.=feature bookings_), like the other modules; no account using the API is affected.module - Changed
v1Automation enrollment refusals name their cap
Changed: on
POST /andv1/ enrollments POST /, thev1/ automations/ {id}/ trigger rate_refusal is no longer returned for an automation; it is replaced bylimited duplicate(the same event within 5 minutes),window_(the contact's 24-hour cap) andcap hard_(the account's hourly safety cap). When triggering an automation, these three refusals answercap 429 trigger_withthrottled details., andreason booking_(an appointment automation, for a contact without an appointment) answersrequired 422: attachevent_.data. booking_ id - Changed
v1The recording notice of a sent conversation becomes optional
Changed: on
POST /,v1/ conversation- imports recording_becomes optional.notice recording_is still read and kept with the conversation; its absence no longer refuses the submission, and the account is no longer asked for the attestation for conversations sent by a provider. Thenotice: "given" recording_andnotice_ required import_codes are no longer returned. Announcing the recording is up to the account that records.attestation_ missing - Changed
v1The unsubscribe notice speaks like the text it ends
MCP connector, changed by addition:
get_says, language by language, whether the unsubscribe notice is a text the account wrote (phone_ compliance notice_,written. fr notice_); it returns the platform text (written. en platform_:notice fr_,tu fr_,vous en), which in French follows the tu or vous of each text, and the account's register (notice_,register tuorvous,nullwhen it could not be read), which a text with neither takes when the agent sending it has none.notice_shows the French notice in that register when the account hasn't written its own. No existing field changes.fr - Added
v1A purchase's response says what follows it
Added: the successful response of
POST /(v1/ purchases 201and200) carriesfollow_andup sms_.consent follow_says whether the offer's after-purchase program follows the buyer (up program:active,noneorunknown), which channel its first message would take (first_:message sms,emailornull) and, otherwise, why (reason, for exampleoffer_,has_ no_ program offer_orcreated_ from_ key contact_).opted_ out sms_says whether the order's consent box was recorded (consent recorded) or why not (reason:not_,requested phone_,mismatch example_…). A setup that reaches no program shows from the first test purchase.email - Changed
v1An account that opens many runs within the hour is no longer refused at 200
Changed: the limit of 200 automation runs opened per hour per account no longer refuses anything. Beyond 200,
POST /,v1/ automations/ {id}/ trigger POST /andv1/ events POST /(withv1/ contacts/ batch trigger_) are still accepted: the execution is createdautomations pendingwith an upcomingscheduled_and starts gradually, 30 per minute for the account; the response ofat POST /returns thatv1/ automations/ {id}/ trigger scheduled_(at nullwhen the execution starts right away). A run born from a lead's own action (form, missed call, incoming message, payment) starts right away. For volume,429 trigger_andthrottled automations_now only reflect a safety cap of 20,000 runs opened within the hour, which then refuses every entry; the duplicate within 5 minutes and the cap of 5 triggers per contact over 24 hours are unchanged.skipped_ rate_ limit - Added
v1The text agent, the qualification grid and phone numbers in the connector for AI assistants
MCP connector, added as reads:
get_(the text agent's settings, card by card: availability, opening messages and entry points, follow-ups, sequences after a booking, automatic messages),text_ agent_ settings get_(the figures of its Analytics tab over 7, 30 or 90 days),text_ agent_ analytics get_(the criteria of a qualification grid, its thresholds and what each criterion gave over 30 days),qualification_ grid get_(a record's verdict criterion by criterion, with the lead's sentence that supports it),contact_ qualification get_(the event agent's events: current edition, registrants, sessions, messages) andagent_ events get_(blocked numbers, the unsubscribe notice of texts, the state of its removal, and what the contact details page linked at the bottom of follow-ups shows prospects,phone_ compliance sender_).page MCP connector, changed by addition:
get_also returns a number's friendly name, the member it is assigned to, the team line and its backup priority, what an incoming call becomes (phone_ status call_: call forwarding, straight to voicemail, or the AI agent texting the caller on its own number), the ring timeout and the voicemail offer (handling ring_andtimeout_ seconds no_are null outside forwarding, where nothing rings);answer_ action get_returns an agent's own number (agent_ setup own_);number diagnose_names the next queued messages (text_ message agent_, withqueue. next_ messages followup_when a follow-up follows something other than a silence) and gives the sending hours set (regime send_);window. hours list_says whether a voicemail was listened to (calls voicemail_) and which account number was called (listened called_);number get_returns the business contact details its prospects read (brand_ identity coordinates.:untrusted_ user_ content phone,email,website,postal_);address list_returns the email and phone of each member's profile (team_ members email,phone), orcontacts_when the person lacks the "View contact details" permission. No existing field changes.hidden - Removed
v1The pre-suasion tool submissions endpoint is removed
Removed:
POST /. Only Capturia's pre-suasion tools gateway called it, without an API key; the tools record their submissions without going through the public API. No API key integration is affected: lead capture goes throughv1/ presuasion- submissions POST /.v1/ leads/ capture - Added
v1A purchase carries its order's text-message consent box, and can come from a GoHighLevel workflow
Added: on
POST /,v1/ purchases sms_carries the box the buyer checked on the order.consent truerecords it as express consent on their contact, for the phone the purchase carries, with the proof of the request: the text agent of the offer's after-purchase program can then write first. Sent consent is attested: the key then also carries theleads:capturescope and up-to-date API terms (403 insufficient_orscope 403 terms_otherwise). An empty value oracceptance_ required falserecords nothing; a value that can't be read is rejected with422(reasoninvalid_).type Added:
amount, the amount in dollars ("7.), instead of00" amount_; one of the two is required, never both.cents Added:
offer., the identifier of a Capturia offer (copied in API keys, "Your offer identifiers" section), instead ofid offer.: the purchase reaches this offer and its after-purchase program, without creating an offer. An identifier that matches no offer of the account returnskey 404 offer_, and nothing is recorded.not_ found Added:
POST /also reads the body of a GoHighLevel workflow's Webhook action: the "Custom Data" pairs (v1/ purchases customData) carry the purchase (order_orid external_,id offer_orid offer_,key amount,sms_…), the contact data sent on its own identifies the buyer, and the contact's GoHighLevel ID becomes their external identity. The response names the pairs it didn't read inconsent ignored_(reasonfields unknown_).field - Changed
v1A missing "To complete" field no longer refuses a contact
Changed: on
POST /, a custom field marked "To complete" (formerly "Required") that is missing fromv1/ contacts custom_no longer refuses the contact: the contact is created and the field stays marked empty. Thefields requiredreason ofinvalid_is gone; a value outside the field's type is still refused withcustom_ fields invalid_, and an unknown name withvalue unknown_.field - Added
v1Conversations held outside Capturia can be sent through the API
Added:
POST /receives a conversation held outside Capturia (a call agency, Zapier, Make, your own system), as text (v1/ conversation- imports transcript.read like a paste, ortext transcript.) or as audio (announcement,turns PUTof the file to the returned link, thenPOST /with the submission'sv1/ conversation- imports/ complete id). Capturia files it on the prospect's record (found bycontact.,id external_, phone or email, created without consent if needed, otherwise waiting to be attached) and analyzes it like a meeting. The submission requiresid recording_and the attestation for conversations sent by a provider, signed by the account's management. The same conversation only comes in once (notice: "given" 200 already_).received GET /returns the state of a submission. Newv1/ conversation- imports?id= conversations:importscope, included in the Read + write preset. - Changed
v1Resuming an SMS follow-up happens on its screen
Changed:
prepare_withrelance_ change action: resumeis refused (business_), and the refusal gives the link to the follow-up's screen. A paused follow-up resumes in Capturia, after its review: the person decides on the planned follow-up messages there and attests in their own name.rule_ violation action: stopdoes not change. A resume action already prepared ends with a readable refusal when confirmed. - Changed
v1Form answers travel as pairs, and an example contact is never texted
Added: on
POST /, a form answer can also be sent as a key/value pair, at the root or inv1/ leads/ capture customData: the keyqualification_followed by the question, with the answer as the value. This is the shape of a connector that only sends pairs (a GoHighLevel workflow's Webhook action, Zapier, Make). The pairs are added to theanswers. qualification_list; beyond 20 answers, or too long, a pair is named inanswers ignored_with the reasonfields limit_, and the lead is still captured. Theexceeded messagesays how many answers were recorded (Lead captured with 7 qualification answer(s).).Changed: a
customDatakey that names a simple contract field with another case or other separators (Source_,label SMS_) reads as that field. A lead whose email belongs to an example domain (consent example.,com example.,net example.) gets its record created as a test record, with no automatic text, no "Form submitted" automation and no Lead event to the Meta pixel, and theorg messagesays so. - Added
v1AI agents, follow-ups and automated sends in the connector for AI assistants
MCP connector, added reads:
get_andagent_ performance get_(the AI agents, their setup and their conversations and qualified leads over 30 days),agent_ setup get_,automations_ overview get_andsequences_ overview get_(automations, email sequences and SMS follow-ups),relances_ overview get_(one SMS follow-up: status, the detail screen's counters, latest launches, today's cap),relance get_(everything waiting to be sent to a record, each send with itscontact_ sends target:type,id,campaign_),id list_(an account's upcoming emails, like the Upcoming tab of Activity),upcoming_ emails list_(the Copilot sends waiting for a yes; they are decided on the record, atcopilot_ sends confirm_) andurl preview_(a follow-up's real audience and cost from its criteria, with no draft and no charge; also open to an API key withrelance_ audience contacts:read).MCP connector, added writes:
cancel_andupcoming_ send pause_(done right away, since they stop sends),relance set_(done right away for oneself, like the Away mode card; refused when no texting AI agent covers the person);my_ away prepare_(relance_ change resumeorstop),prepare_,resume_ sends prepare_(a queued email, between one minute and one year from now) andreschedule_ send prepare_(a question and its answer added to the Agent knowledge), which are confirmed in Capturia, on the Actions to confirm page or in their card. These tools are reserved for a connected person (OAuth connection) and follow their screen's permissions.agent_ answer Changed: a launch prepared by
prepare_then declined or expired removes its draft, if it stayed as prepared.campaign - Changed
v1A received name is never "[object Object]", and a tag no longer rejects a lead
Changed: on
POST /, a value that cannot be read (an object where a simple value is expected, or the text "[object Object]" that a connector sends when its mapping points to an object) is no longer saved as is. That text is removed and what remains readable is kept; if nothing remains, the field stays empty, or another source fills it. The response names the field inv1/ leads/ capture ignored_, with the new reasonfields unreadable_, and itsvalue messagenow says "were not applied as received". Before, an object on a simple field rejected the lead with a 422, and "[object Object]" became the contact's name;phoneandsms_, which are required, are still rejected with a 422 when they cannot be read and no other source fills them. A tag that carries this text, or an unreadable qualification answer (question or answer as an object, a list, or that text), is discarded entirely without rejecting the lead, and an empty answer, like an empty item of the list, is absent; an unreadableconsent meta., like aads_ consent metablock received as text, is still rejected with a 422. Tags from the root and fromcustomDataadd up, those fromcustomDatafirst, with duplicates removed. A tag no longer rejects the lead: beyond the first 20 or longer than 50 characters, it is discarded and named (new reasonlimit_), and a reserved "Campagne :" tag no longer takes a place among the 20. Inexceeded ignored_, each discarded tag is named by its position in the received list (fields tags[1],customData.), those of the root last.tags[0] Changed:
POST /,v1/ contacts POST /,v1/ contacts/ batch PATCH /,v1/ contacts/ {id} POST /,v1/ events POST /,v1/ purchases POST /,v1/ bookings POST /,v1/ presuasion- submissions POST /andv1/ quotes PATCH /likewise remove "[object Object]" from a received name or company. If nothing remains, the field is absent; av1/ quotes/ {id} PATCHthat carries only that field returns400 no_, and afields guest_onname POST /returnsv1/ bookings 400 validation_(reasonerror required). - Changed
v1GET /v1/contacts search ignores accents and searches the whole record
Changed:
?searchonGET /follows the dashboard search. Each word must appear, ignoring accents and case, in at least one of the contact's fields: first name, last name, emails, phones, company, address, or another person on the record (before:v1/ contacts email,first_,name last_,name companyonly);?search=finds "Côté". Every character is searched as typed:cote %and_are no longer wildcards. A number typed with dashes, dots or parentheses also finds the number stored as digits only. A search longer than 200 characters is rejected:400 invalid_,request details.,field = "search" details..reason = "too_ long" - Changed
v1Every API refusal has the exact shape of its reference, in French and in English
Changed: every refusal of every endpoint has the exact shape of its reference example:
error.,type code,message,hint,doc_,url request_and, when relevant,id details, in French or English according toAccept-. Each code keeps its name and status, and successful responses don't change, except the fixes listed under Fixed. TheLanguage messageis fixed for each code; what it said about a value moves todetails, which names the field and its reason as a stable token (for examplerequired,invalid_,type invalid_,value invalid_,format too_,long below_,min exceeds_,max unknown_), never the validator's text; each operation's reference shows its own.field validation_always carries a list of fields, including onerror POST /,v1/ enrollments POST /,v1/ enrollments/ withdraw GET /andv1/ conversations POST /. A text field received as another type answersv1/ tags invalid_; a missing, null or empty field,type required. The one exception to the fixed message: onPOST /, the message quotes the value received for a simple field (v1/ leads/ capture field "phone" received "phone_). Every refusal of a request whose key is recognized shows in the key's Recent errors tab, except 429s.number" Added: a method an address doesn't serve answers
405 method_with thenot_ allowed Allowheader, and an unknown/addressv1 404 not_, in the same shape (previously an empty body or an HTML page);found Allowlists the methods in alphabetical order, on a 405 as onOPTIONS. On every operation that takes a body:413 payload_beyond 1 MB (too_ large details.,max_ bytes details.),received_ bytes 415 invalid_for a body that isn't JSON (a quotedcontent_ type charsetis accepted),400 invalid_for an encoding other than UTF-8. The per-IP limit of lead capture (100 per minute) and of events and purchases (120 per minute) answersencoding 429 rate_withlimited_ ip Retry-. TheAfter RateLimit-and* X-headers come with every response to a request whose key quota was checked, creations, deletions and refusals included. The reference lists every refusal of every operation under its status, and every operation in the reference has its route.RateLimit- * Fixed:
Idempotency-follows the same rule everywhere: 16 to 128 charactersKey [A-, and an empty header counts as no header (Za- z0- 9_- ] POST /answered 500 on the second request). An impossible date (v1/ emails/ send 2026-) answers 400: in a quote's02- 30 valid_, it answered 500; onuntil /, it was silently carried over to the next month.v1/ usage /'sv1/ usage fromandtofollow RFC 3339 (lowercasetandzincluded) or a plain date; any other form (year alone, year-month, RFC 2822) answers400 invalid_. A path ID that isn't a UUID returns the operation's documented refusal instead of 500. A JSON body that isn't an object (an array included) answersdate_ format 400 invalid_on every write (an array reached field validation, asbody validation_orerror no_), and an unreadable body onfields POST /v1/ event- registrations 400 invalid_, as everywhere (previouslyjson invalid_).request POST /refuses a batch that contains an invalid row withv1/ contacts/ batch 400 validation_, naming each faulty row and writing nothing, instead of dropping it silently.error PATCH /: changing a signed quote, or giving it an inconsistent payment plan, answers with its documented refusal instead of 500; a text field of another type answersv1/ quotes/ {id} 400 invalid_; an archived quote,type 404(previously 409 or 400); a fixed deposit beyond 9,999,999,999.99,400 validation_(error invalid_) instead of 500.deposit_ value GET /answers 500 when reading the account fails, instead ofv1/ me client_.name: null POST /recognizes the reserved "Campagne :" prefix with the same spaces as the database: such a name answers 400 (v1/ tags reserved_) instead of 500. An expired key answersprefix 401 expired_(previouslyapi_ key invalid_one hour after it expired), a revoked keyapi_ key 401 invalid_. Theapi_ key dashboard_ofurl 403 terms_leads to the key's Permissions tab, where the API terms attestation is accepted without recreating the key or changing its secret (previously, only a new key could accept it). An outage of the per-IP limiter (lead capture, events, purchases) answersacceptance_ required 503 service_withunavailable Retry-instead ofAfter 429 rate_: nothing says your tool sends too many calls. The Recent errors tab keeps the last 50 refusals (it stopped rotating after the fiftieth). Triggering an automation for a contact unsubscribed from its series answerslimited_ ip 422 business_(rule_ violation details.:reason unsubscribed) instead of429 trigger_, andthrottled POST /returns thev1/ enrollments refusedoutcome with the same reason.business_is documented at its real status, 422. Two codes never returned leave the reference:rule_ violation revoked_andapi_ key contact_fromor_ guest_ required POST /(withoutv1/ bookings contact_,id guest_andname guest_are refused asemail required).created_andafter created_are only read where the reference names them.before MCP connector, fixed:
enroll_no longer prepares the enrollment of a contact unsubscribed from the target: it refuses withcontact business_and says so (previously, the gesture was prepared, then failed at confirmation with a generic reason).rule_ violation - Added
v1Interactive cards (MCP Apps) in the AI assistant connector
MCP connector, added: a
ui://resource (capturia/ carte. html text/, extensionhtml;profile= mcp- app io.) that Claude and ChatGPT show formodelcontextprotocol/ ui get_,contact_ record get_,pipeline_ summary get_,todays_ bookings prepare_and every tool that deposits an action to confirm (campaign _on the tool declaration, card data under the result'smeta. ui. resourceUri _).meta["capturia/ card"] decide_, reserved to the card (gesture_ from_ card _): the person confirms or declines an action with one click in the conversation, with the single-use ticket only the card receives; without it, nothing is decided; its answer carriesmeta. ui. visibility: ["app"] failure_, the reason told to the person when a confirmed action could not happen. The card also shows each action of a batch (text complete_) and atasks create_creation held for confirmation (an error that carries its action's card undercontact _). Changed: an action'smeta confirm_opens the Actions to confirm page on that action (url ?geste=). An MCP client without cards gets the same text answers as before. - Added
v1Schedule, meetings, coaching and follow-ups in the AI assistant connector
MCP connector, added:
get_(the calendars the person hosts, each with its booking link, then their free slots on one of them or for rescheduling an appointment they hold),availability get_(an appointment's prep brief, reserved for the appointment's salesperson and management),booking_ brief search_andmy_ meetings get_(recorded meetings; one meeting in detail: summary, objections and key moments at their position, coaching score, agreements and commitments, a transcript passage),meeting get_(the week's coaching),my_ coaching list_andfollowups_ to_ handle get_(IntelliSuivi follow-ups to handle; sending happens in Capturia, atfollowup review_),url prepare_andreschedule prepare_(move an appointment the person holds, or record its result:meeting_ outcome attendedorno_; both are confirmed in Capturia, on the Actions to confirm page). These tools are reserved for a signed-in person (OAuth connection) and follow their screen's rights.show MCP connector, changed:
prepare_also requires the account plan's Bookings module. For the Capturia team,meeting get_reads the team's schedule according to the person's visibility, never a meeting attached to a client account.todays_ bookings - Changed
v1API emails follow CASL rules, and the Inbox comes to the connector for AI assistants
Changed:
POST /sends a commercial message (CASL), like an email written by hand in Capturia.v1/ emails/ send tomust be the address of a record of the account, otherwise422 missing_; an unsubscribed address is refused withconsent 409 recipient_, an address with no consent basis withunsubscribed 422 missing_. The account must have a postal address, otherwiseconsent 422 missing_. The email goes out with the legal footer and an unsubscribe link; it is cancelled if a seller has taken the record over, and deferred during a timed pause of the agent. Thepostal_ address Idempotency-header is now supported: a retry with the same key never sends a second email. A reply from the recipient asking to stop receiving emails unsubscribes their address. Test mode doesn't change.Key MCP connector, added:
get_(the person's Inbox, every channel: who to answer first, then recent conversations, each with its record and its link to reply),inbox_ overview get_(a conversation's messages and their delivery),conversation list_(the call and voicemail log),calls update_,thread assign_andthread take_(done in place; giving a conversation to a teammate is confirmed in Capturia),over_ thread hand_andback_ to_ agent prepare_(confirmed in Capturia, on the Actions to confirm page). These tools are reserved for a signed-in person (OAuth connection).email MCP connector, removed:
list_answers with an error naming its replacement:conversations get_for a person,inbox_ overview GET /for an API key.v1/ conversations - Added
v1Quotes, contracts, payments, sales and commissions in the AI assistant connector
MCP connector, added reads:
list_(quotes, searchable by number or prospect, and their tracking: sending, opens, signature, expiry, collected, due, AI follow-ups to approve and approved texts to send, with counts by status and values),quotes get_(one quote in detail: schedule and overdue items, collected and declared payments, contract, proposal, AI follow-ups to approve in Capturia),quote list_(contracts and their signature status),contracts list_(payments received and due) andpayments get_(a month's sales and commissions: a seller reads their own, managers their team or one seller bysales_ and_ commissions seller_). Each tool follows its screen: thekey quotes.permission and the Quotes module for quotes and payments, the Contracts module for contracts, theview commissions.permission and the Commissions module for commissions. These tools are reserved to a connected person (OAuth connection, not an API key). None of them writes: an AI follow-up is approved, and an approved text is sent, in Capturia.view - Added
v1Enroll and remove a contact from a sequence, an automation, or a follow-up
POST /enrolls up to 100 contacts in an email sequence, an automation, or an SMS follow-up campaign, and returns one outcome per contact (v1/ enrollments enrolled,already, orrefusedwith its reason).POST /removes a contact; a follow-up that already went out keeps its status and its follow-up texts stop (v1/ enrollments/ withdraw mode: followups_). The scope follows the target:stopped email:send,automations:trigger, orcampaigns:launch. Same service as the dashboard: a contact who is already a customer or in the lost column isn't enrolled, except in an automation set up for them; a contact who said no, never.Changed:
POST /goes through this service and refuses those contacts withv1/ automations/ {id}/ trigger 409 lead_. The attachedpursuit_ ended event_is still read by the automation's templates.data MCP connector, added:
list_(withenrollment_ targets purpose: withdraw, also the paused or stopped targets to remove from),enroll_(confirmed in Capturia, on the Actions to confirm page) andcontact withdraw_(done right away).contact - Changed
v1A record's history through the API, and the full record in the AI assistant connector
GET /now returns a record's real history, most recent first, page by page (v1/ contacts/ {id}/ timeline cursor,limit): each event carriesid,type,occurred_andat data. Each scope of the key opens its domain:contacts:readthe record and its tasks,quotes:readits quotes,conversations:readits messages and calls,bookings:readits appointments.dataonly returns the event's public fields (a note, its full text and its author; a task, its due timedue_).at created_andafter created_are refused (400): the history is not filtered by date.before MCP connector, added: reads
get_(the full record: contact details, profile, qualification, seller, custom fields, other people, latest notes),contact_ record get_,contact_ history list_,contact_ tasks list_,contact_ notes list_,contact_ files list_,sellers list_andtags list_; writescustom_ fields create_,tag change_(edit, pin, unpin; deletion is confirmed in Capturia) andnote add_. Confirmed in Capturia, on the Actions to confirm page:contact_ person assign_,contact disqualify_,contact reopen_,contact archive_,contact restore_,contact set_andqualification remove_.contact_ person Changed:
list_takes the Pipeline's filters (recent_ leads stage_,ids pipeline_,id sellers,qualification_,colors priority_,only task_,states created_,period archived_), returns an exactonly total_and says for each record whether it has no next step (count without_).next_ step update_also edits the website, the lost reason, the job title, the address and work address, and the secondary phones and emails (contact add_,phones remove_,phones add_,emails remove_, for a connected person) of an account record, and the city and custom fields of a Capturia team record.emails - Changed
v1AI assistant connector: sensitive actions are confirmed in Capturia
Breaking change for five MCP connector tools. An action that commits a prospect, a sale or several records no longer happens on the model's word alone: the tool places it, and a person confirms it in Capturia, on the Actions to confirm page. Its output carries
pending_(confirmation id,expires_,at confirm_,url confirmed_:by youfor a connected person,account_for an API key, confirmed by the owner or an admin).management Removed:
book_(replaced bymeeting prepare_, for a connected person, who is the host; an API key books throughmeeting POST /),v1/ bookings preview_andquote_ send send_(replaced byquote prepare_),quote_ send preview_andcampaign launch_(replaced bycampaign prepare_, which creates the draft and places its launch for confirmation), all without a confirmation token; thecampaign confirmation_error code goes away with them. An old name answers with an error naming its replacement.token_ invalid Added:
prepare_,meeting prepare_,quote_ send prepare_(a connected owner or admin, the Capturia team, or a Full integration key) andcampaign prepare_(tags or a stage on 2 to 100 records, placed as a single action).bulk_ update Changed:
add_,tag remove_,tag update_andpipeline_ stage update_stay direct, but a won or lost sale, a stage that closes the record and a change that an automation answers by writing to the prospect are held by Capturia: the output then carriescontact pending_andconfirmation applied,removed,movedorupdatedset tofalse.update_acceptspipeline_ stage lost_.reason prepare_opens to connected people in both worlds.quote create_: when an automation or a workflow of the account writes to every new record, creating one also waits for a confirmation; the tool then answers with acontact business_error whose message gives the address where to confirm and the deadline, and nothing is created before the confirmation.rule_ violation An OAuth connection now acts according to the person's permissions; a connection authorized before this change stays read-only until the person cuts it off and connects it again.
- Added
v1AI assistant connector: prepare a text message the person confirms
The MCP connector adds
prepare_, reserved for a signed-in person (OAuth connection, not an API key): it places a text message for a contact in the record's thread, in the person's Inbox, where they confirm or decline it in Capturia. The tool sends nothing. It applies the same checks as sending from the Inbox (plan, consent, opt-out, the person's role and line); when one refuses, nothing is prepared andtext not_says why. The response carriesprepared_ reason sent: false,prepared, andprepared_(text id,expires_,at confirm_). One text waits per contact: a new call replaces the previous one, and without a decision it expires after 24 hours. For an SMS,url draft_now returns the verdict of the sending service itself, and points a signed-in person tomessage prepare_.text - Added
v1AI assistant connector: who am I, deep research and described answers
The MCP connector adds
whoami(the connected person or integration, its role, its account and what the connection allows), plussearchandfetchin ChatGPT's deep research format:searchreturns records with their Capturia link, to cite, andfetchthe text of a record. Every tool publishes its output schema (outputSchema) and returnsstructuredContent; for most tools, its text answer opens with a sentence written to be read aloud, followed by the JSON. The server publishes its title, site, icons and instructions, serves the MCP 2026-07-28 spec (server/, sessionless) alongside thediscover initializehandshake, and refuses a foreignOriginheader (403). Compatible additions: no tool removed, no input changed. - Changed
v1A key or plan read outage returns a retryable 503, no longer 401 or 500
When the database does not answer while an API key is checked, the API returns
503 service_withunavailable Retry-instead ofAfter: 30 401 invalid_: a valid key is never reported invalid during an outage, and the failure does not count as a failed attempt. A plan that cannot be read also returnsapi_ key 503 service_(instead ofunavailable 500 internal_). The MCP connector follows the same rule, and its hourly limit now states the delay before retrying (error retry_).after_ seconds - Added
v1The API reference and the OpenAPI spec are available in English
The English reference pages (
/) describe every endpoint, parameter, schema and response in English, including in the docs search. The English spec is published next to the French one:en/ developers/ api/ v1/ reference /,openapi. en. yaml /and the Postman collectionopenapi. en. json /. The contract does not change: same paths, same fields, same values; only the descriptive text is translated. The French Postman collection (postman- collection. en. json /) is now served onpostman- collection. json api., like the spec.capturia. io - Changed
v1AI assistant connector: get_todays_bookings says who booked and who cancelled each booking (breaking change)
Breaking change to the MCP connector.
get_acceptstodays_ bookings range(todayby default,upcomingfor the next ones,recentfor the most recent ones, cancellations included) andcontact_(one contact's bookings,id recentby default). Each booking carriesorigin(who booked it),cancel_andorigin cancelled_(who cancelled it, and when),at meeting_, and undertype untrusted_the booking type, the host and the names of whoever booked or cancelled it. Theuser_ content sourcefield is no longer returned: it labelled "automation" a booking the agent took in the conversation, andoriginreplaces it.dateisnulloutsiderange: today. The tool now follows the plan like the Bookings screen: an account whose plan does not include the Bookings and calendars module gets a refusal that points to “My Plan”, and an unreadable plan is to be retried. The result is still capped at 20 bookings, withtotal_andcount has_.more search_,contacts get_andpipeline_ summary get_also publish their output schema (todays_ bookings outputSchema). - Changed
v1Pipeline stages: each stage names its pipeline, hidden stages are marked, archived contacts no longer count
GET /now returns the stages of every pipeline in the account with their pipeline:v1/ pipeline/ stages pipeline_andid pipeline(id,name,is_). An account with two pipelines can have two stages with the same name; the pipeline tells them apart. Stages are sorted by pipeline, in the dashboard's order, then bydefault stage_. A stage hidden on the dashboard pipeline is still listed, withorder is_: its contacts exist and count.hidden: true contact_no longer counts archived or merged contacts, like the Pipeline screen. A missing stage flag (count is_,default is_,won is_) now readslost falseinstead ofnull. The MCP connector (get_) returns the same fields.pipeline_ summary - Changed
v1Webhooks: an event's author says whether it came from an AI assistant or the API, and no longer invents a member
The events'
data.field gainsactor via:ai_when the action comes from an AI assistant connected to the connector (Claude, ChatGPT),assistant api_when it comes from the public API,key nullotherwise. When no member acted (system, automation, integration),typeandidare nownull; they previously announced a team member without an identifier. A write made with an API key is named after its key inname, a value written in French (for exampleClé API « Zapier », orAssistant IA — clé API « Zapier »when the key goes through the connector), neverSystème. - Changed
v1POST /v1/contacts: email or phone, never a second record, no implied consent
A contact is now created with an email or a phone number: either one is enough. The email is stored in lowercase, and the person is searched across every identity of the account (primary and secondary emails and phone numbers, case-insensitive). A person who already exists returns
409 duplicate_with the existing record incontact dataand the matching fields indetails., whether the match comes from the email or the phone; an email and a phone held by two different records returnconflicting_ fields 409 duplicate_. The new contact has the sourceresource api, and no implied consent (text or email) is recorded for it anymore: an integration names no one who met this contact. For a lead who just filled in your form, with their consent, usePOST /.v1/ leads/ capture - Changed
v1DELETE /v1/contacts/{id} requires the contacts:delete scope
Deleting a contact now requires the
contacts:deletescope, separate fromcontacts:write, as in the dashboard where deleting is a permission of its own. Only someone allowed to delete prospects in Capturia can grant this scope to a key; it is only included in the Full integration preset. A key with onlycontacts:writegets403 insufficient_on this route.scope - Changed
v1/v1/bookings now serves your account's calendar (breaking change)
Breaking change. The
/routes now serve your account's calendar: the bookings your team holds on your calendars (booking page, dashboard, AI agents, automations). They used to read and write the meetings of your delivery projects with Capturia.v1/ bookings GET /lists the calendar's bookings (archived ones excluded). Thev1/ bookings project_filter is gone;id event_andtype_ id contact_joinid from,toandstatus(confirmed,cancelled,completed,no_). An unreadable filter is refused withshow 400 validation_. Each booking carrieserror event_,type_ id contact_,id host_andid meeting_;link project_,id assigned_,to_ id video_andprovider zoom_are no longer returned.join_ url POST /books through the same service as your booking page, under the calendar's rules (hosts, hours, booking window, the host's Google calendar, required questions, one upcoming booking per contact per calendar). The body requiresv1/ bookings event_(one of your account's calendars) andtype_ id start_, plusdatetime contact_orid guest_+name guest_. Optional:email guest_,phone host_,id timezone,notes,form_(one entry per question id, shapedresponses { value }; a form refusal lists the calendar's questions indetails.).questions project_no longer exists, andid end_is refused: the calendar sets the duration. The requested time is booked or refused with its reason indatetime details., never replaced:reason 400 validation_(error slot_,in_ past outside_,window off_,cadence contact_,or_ guest_ required contact_),without_ email 404 resource_(not_ found details.:field event_,type_ id contact_,id host_),id 409 duplicate_(resource already_),booked 422 business_(rule_ violation calendar_,without_ hosts host_,not_ on_ calendar host_,unavailable slot_,unavailable contact_,archived lead_),not_ qualified 503 service_(retry afterunavailable Retry-).After DELETE /cancels the way the dashboard does: the event is removed from the host's calendar and the host is notified. An already cancelled booking now answersv1/ bookings/ {id} 422 business_(rule_ violation already_) instead ofcancelled 409 already_; a completed or no-show booking,cancelled 422(booking_). An unknown booking answersnot_ cancellable 404 resource_.not_ found The AI assistant connector follows the same change:
get_reads the account's calendar, andtodays_ bookings book_books in it (meeting start_, thendatetime contact_orid guest_+name guest_, optionalemail event_andtype_ id form_;responses project_andid end_are no longer accepted). The connector never cancels a booking.datetime - Added
v1GET /v1/usage: new status_unknown counter
Every bucket and the totals of
GET /now carryv1/ usage status_: the number of requests whose outcome was not recorded. That is a response still in flight when the bucket was aggregated (the current hourly bucket is recomputed every few minutes, and the request then gets its real outcome back), or an outcome whose recording failed. These requests are neither successes nor errors: leave them out of any error-rate calculation. Theunknown status_,2xx status_,4xx status_,5xx rate_andlimited_ count status_families are disjoint: a request is never counted in two of them.unknown - Changed
v1GET /v1/usage: status_2xx now only counts confirmed successes
Until now, a request whose outcome was never recorded could be counted as a success. It is now counted in
status_. The affected historical buckets are corrected once: theirunknown status_drops by that amount, and2xx status_picks up the difference. Refusals by the per-IP limit ofunknown /andv1/ events /also move fromv1/ leads/ capture status_to4xx rate_, like refusals by the key's hourly quota: a refusal by a rate limiter is always inlimited_ count rate_and does not consume the quota. A business refusal returned as 429 (trigger called too often, test-send quota, webhook subscription cap) stays alimited_ count status_error and consumes the quota. Finally, the reference wrongly said that4xx rate_was a subset oflimited_ count status_: the two families have always been distinct, and this documentation fix changes no calculation.4xx - Changed
v1GET /v1/conversations/{id}/messages: content no longer carries internal agent control markers
AI agents pace their replies with internal markers ([PAUSE:3s] to send in several bubbles, [INPUT:email] to request a field from the visitor). They were never part of the contract, yet they surfaced in the content field. They are now stripped: a reply the agent sent as several bubbles reaches you as paragraphs separated by a blank line. This applies to messages already stored, so the value of content changes once for existing agent messages. Worth knowing: a message that carried ONLY control markers becomes an empty string. The row stays in the page, with its id, role and created_at, so that total_count, has_more and the pagination cursor stay accurate. If your integration checks for a message with if (!content), switch it to checking that the object is present.
- Added
v1Dedicated api.capturia.io subdomain + legacy host sunset 2027-05-03
The public API is now served at https://api.capturia.io/v1/ (opens in a new tab)* (enterprise convention aligned with Stripe/Twilio/GitHub). OpenAPI bundle auto-discoverable at api.capturia.io/openapi.{yaml,json}. The legacy host app.capturia.io/api/v1/* remains active until 2027-05-03; every legacy response carries IETF Deprecation, Sunset and Link successor-version headers. At sunset, the legacy host switches to HTTP 308 Permanent Redirect to the new host. No 410 Gone — your integrations will keep working even if you forget to migrate (with one round-trip of overhead).
- Added
v1OpenAPI 3.1 public spec + Postman + TS types
The API now exposes an OpenAPI 3.1 spec at
/(235KB) andopenapi. yaml /(289KB). Postman collection (openapi. json /) downloadable, importable in Insomnia 2023+ via the OpenAPI spec directly. TypeScript types generated at build (postman- collection. json lib/). Request validation against spec in shadow mode by default.api/ v1/ openapi- types. ts - Added
v1GET /v1/usage endpoint + observability headers
Programmatic
/endpoint returns consumption aggregations (filterable byv1/ usage bucket_and range). Every response now emitstype X-ULID,Request- ID Capturia-(alias),Request- ID Capturia-, andVersion: v1 Vary: Accept-.Language, Accept- Encoding - Added
v1Opaque cursor pagination + Deprecation/Sunset legacy headers
All
GETcollection endpoints now accept?cursor=opaque base64url withidtiebreaker for stable sort. Legacytotal_+count cursorISO format accepted alongside for 12 months (sunset 2027-05-03).Deprecation(RFC 9745) +Sunset(RFC 8594) +Link rel=headers announce the removal.deprecation - Added
v1Idempotency-Key header on POST/PUT/DELETE
All mutating routes accept an optional
Idempotency-header (regexKey [a-). TTL 24h via Vercel KV. Verbatim replay returnszA- Z0- 9_- ]{1, 64} Idempotent-. Conflict (different payload or concurrent request) →Replayed: true 409 idempotency_.conflict - Added
v1RFC 9331 headers + enriched 429 body
Parallel emission of
RateLimit-/Limit Remaining/Reset/Policyheaders (RFC 9331) andX-(legacy, sunset 2027-05-03). 429 body now includes actionableRateLimit- * details.(limit_ type per_orkey brute_) andforce details..retry_ after_ seconds