Capturia measures its ads and site traffic with the Meta pixel and Google Analytics. You can decline at any time. Learn more

FR

Changelog

History of changes to the Capturia API v1, dated and categorized.

  1. Addedv1

    What writes to your leads names its sends and its external tools

    Added: the MCP connector's get_automation_families tool returns next_at for each calendar, its next dated reminder, and pending and next_at for the follow-up after a missed appointment. Under untrusted_user_content.senders, it names what sends for a source: the automations that ask for referrals, and the API keys that send emails (the integrations source, in an account whose plan includes the public API). Existing fields do not change.

  2. Changedv1

    A booking's time zone names a place

    Changed: POST /v1/bookings refuses a timezone that does not name a place, like a bare offset already was: an abbreviation (EST), UTC, Etc/GMT+5 or a legacy name (US/Eastern) now answer 400 validation_error, reason invalid_timezone. Such a time zone made the times announced to the guest drift (EST never switches to daylight saving time). Send the place's IANA name, like America/Toronto, or leave timezone out to use the contact's, otherwise the calendar's.

  3. Addedv1

    A lead capture says when its email looks wrong

    Added: the POST /v1/leads/capture response carries email_check. It is null when the request has no email or there is nothing to report. Otherwise, status is undeliverable when the address cannot receive any email (a domain reserved for testing, or an extension that does not exist such as gmail.con): Capturia will not send it any email. It is suspected_typo when its domain looks like a typo of a major provider (gmail.coml, hotmai.com). did_you_mean gives the address the prospect most likely meant to type, or null. The lead is captured in every case, with the address received: Capturia neither corrects nor rejects it, and message says so in one sentence. It is up to your integration to react, for example by asking the prospect for their address again.

  4. Changedv1

    A quote carried by a page goes out from its page

    Changed: POST /v1/quotes/{id}/send refuses the first send of a quote that a proposal page carries, sent or still a draft: 409 quote_carried_by_page, and nothing goes out. The quote goes out from its page, as the dashboard's Send button already does. The MCP connector's prepare_quote_send preview announces the same refusal.

  5. Addedv1

    An example contact received through the API enters no automation

    Added: the POST /v1/events response carries example_contact. It is true when the contact is an example contact (an example.com, example.net or example.org address, or one on a .example domain) or a test record already on file: the event is recorded on a test record, no automation is enrolled (enrolled_executions is 0) and message says so. Test with your own contact details.

  6. Changedv1

    A custom event name is compared regardless of capital letters and surrounding spaces

    Changed: on POST /v1/events, the name received in event is 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_Paid and order_paid start the same automations. A dash, an underscore or one different letter still count.

  7. Changedv1

    The team's internal note is separated from the prospect's notes

    Added: internal_note on POST /v1/bookings (5,000 characters at most), and internal_note and internal_note_updated_at 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.

    Changed: notes now 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 in internal_note.

    Changed: the brief of GET /v1/bookings/{id} follows the blocks the booking's calendar keeps: without the portrait, who, company and relationship are empty; without the talking points, talking_points is empty; without either, it is none, and booking_brief_ready is not sent.

    MCP connector, removed: get_booking_brief answers with an error that names its replacement, get_booking_dossier. 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), in untrusted_user_content.blocks, with ai_status.

  8. Addedv1

    A management system reads what changed, payments with their documents, and a booking's preparation

    Added: updated_after and updated_before on GET /v1/contacts, GET /v1/pipeline/deals, GET /v1/bookings, GET /v1/quotes and GET /v1/payments; with either bound, the list is sorted by ascending updated_at, and a cursor from another sort is refused (cursor_field_mismatch); an archived booking or quote comes back in it with its archived_at. GET /v1/payments lists the account's collected payments (quotes, funnels, recorded payments, direct Stripe, Space memberships) with their receipt and credit notes, and GET /v1/payment-documents/{id} returns one document with a link to its PDF; a new scope, payments:read, opens them. GET /v1/bookings/{id} returns a booking with its preparation brief (brief). Three webhook events: receipt_issued, credit_note_issued and booking_brief_ready.

    Changed by addition: payment_received and payment_refunded 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 (resource_type = community_membership_payments). The refund of a payment recorded by hand on a quote is now sent only once, under the quote's order, the payment GET /v1/payments lists. No existing field changes.

    Changed: the /v1/bookings operations require the account plan's Bookings module (403 feature_not_available, details.feature = bookings_module), like the other modules; no account using the API is affected.

  9. Changedv1

    Automation enrollment refusals name their cap

    Changed: on POST /v1/enrollments and POST /v1/automations/{id}/trigger, the rate_limited refusal is no longer returned for an automation; it is replaced by duplicate (the same event within 5 minutes), window_cap (the contact's 24-hour cap) and hard_cap (the account's hourly safety cap). When triggering an automation, these three refusals answer 429 trigger_throttled with details.reason, and booking_required (an appointment automation, for a contact without an appointment) answers 422: attach event_data.booking_id.

  10. Changedv1

    The recording notice of a sent conversation becomes optional

    Changed: on POST /v1/conversation-imports, recording_notice becomes optional. recording_notice: "given" 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. The recording_notice_required and import_attestation_missing codes are no longer returned. Announcing the recording is up to the account that records.

  11. Changedv1

    The unsubscribe notice speaks like the text it ends

    MCP connector, changed by addition: get_phone_compliance says, language by language, whether the unsubscribe notice is a text the account wrote (notice_written.fr, notice_written.en); it returns the platform text (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, tu or vous, null when it could not be read), which a text with neither takes when the agent sending it has none. notice_fr shows the French notice in that register when the account hasn't written its own. No existing field changes.

  12. Addedv1

    A purchase's response says what follows it

    Added: the successful response of POST /v1/purchases (201 and 200) carries follow_up and sms_consent. follow_up says whether the offer's after-purchase program follows the buyer (program: active, none or unknown), which channel its first message would take (first_message: sms, email or null) and, otherwise, why (reason, for example offer_has_no_program, offer_created_from_key or contact_opted_out). sms_consent says whether the order's consent box was recorded (recorded) or why not (reason: not_requested, phone_mismatch, example_email…). A setup that reaches no program shows from the first test purchase.

  13. Changedv1

    An 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 /v1/events and POST /v1/contacts/batch (with trigger_automations) are still accepted: the execution is created pending with an upcoming scheduled_at and starts gradually, 30 per minute for the account; the response of POST /v1/automations/{id}/trigger returns that scheduled_at (null when 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_throttled and automations_skipped_rate_limit 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.

  14. Addedv1

    The text agent, the qualification grid and phone numbers in the connector for AI assistants

    MCP connector, added as reads: get_text_agent_settings (the text agent's settings, card by card: availability, opening messages and entry points, follow-ups, sequences after a booking, automatic messages), get_text_agent_analytics (the figures of its Analytics tab over 7, 30 or 90 days), get_qualification_grid (the criteria of a qualification grid, its thresholds and what each criterion gave over 30 days), get_contact_qualification (a record's verdict criterion by criterion, with the lead's sentence that supports it), get_agent_events (the event agent's events: current edition, registrants, sessions, messages) and get_phone_compliance (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, sender_page).

    MCP connector, changed by addition: get_phone_status 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 (call_handling: call forwarding, straight to voicemail, or the AI agent texting the caller on its own number), the ring timeout and the voicemail offer (ring_timeout_seconds and no_answer_action are null outside forwarding, where nothing rings); get_agent_setup returns an agent's own number (own_number); diagnose_text_message names the next queued messages (agent_queue.next_messages, with followup_regime when a follow-up follows something other than a silence) and gives the sending hours set (send_window.hours); list_calls says whether a voicemail was listened to (voicemail_listened) and which account number was called (called_number); get_brand_identity returns the business contact details its prospects read (coordinates.untrusted_user_content: phone, email, website, postal_address); list_team_members returns the email and phone of each member's profile (email, phone), or contacts_hidden when the person lacks the "View contact details" permission. No existing field changes.

  15. Removedv1

    The pre-suasion tool submissions endpoint is removed

    Removed: POST /v1/presuasion-submissions. 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 through POST /v1/leads/capture.

  16. Addedv1

    Added: on POST /v1/purchases, sms_consent carries the box the buyer checked on the order. true records 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 the leads:capture scope and up-to-date API terms (403 insufficient_scope or 403 terms_acceptance_required otherwise). An empty value or false records nothing; a value that can't be read is rejected with 422 (reason invalid_type).

    Added: amount, the amount in dollars ("7.00"), instead of amount_cents; one of the two is required, never both.

    Added: offer.id, the identifier of a Capturia offer (copied in API keys, "Your offer identifiers" section), instead of offer.key: the purchase reaches this offer and its after-purchase program, without creating an offer. An identifier that matches no offer of the account returns 404 offer_not_found, and nothing is recorded.

    Added: POST /v1/purchases also reads the body of a GoHighLevel workflow's Webhook action: the "Custom Data" pairs (customData) carry the purchase (order_id or external_id, offer_id or offer_key, amount, sms_consent…), 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 in ignored_fields (reason unknown_field).

  17. Changedv1

    A missing "To complete" field no longer refuses a contact

    Changed: on POST /v1/contacts, a custom field marked "To complete" (formerly "Required") that is missing from custom_fields no longer refuses the contact: the contact is created and the field stays marked empty. The required reason of invalid_custom_fields is gone; a value outside the field's type is still refused with invalid_value, and an unknown name with unknown_field.

  18. Addedv1

    Conversations held outside Capturia can be sent through the API

    Added: POST /v1/conversation-imports receives a conversation held outside Capturia (a call agency, Zapier, Make, your own system), as text (transcript.text read like a paste, or transcript.turns) or as audio (announcement, PUT of the file to the returned link, then POST /v1/conversation-imports/complete with the submission's id). Capturia files it on the prospect's record (found by contact.id, external_id, phone or email, created without consent if needed, otherwise waiting to be attached) and analyzes it like a meeting. The submission requires recording_notice: "given" and the attestation for conversations sent by a provider, signed by the account's management. The same conversation only comes in once (200 already_received). GET /v1/conversation-imports?id= returns the state of a submission. New conversations:import scope, included in the Read + write preset.

  19. Changedv1

    Resuming an SMS follow-up happens on its screen

    Changed: prepare_relance_change with action: resume is refused (business_rule_violation), 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. action: stop does not change. A resume action already prepared ends with a readable refusal when confirmed.

  20. Changedv1

    Form answers travel as pairs, and an example contact is never texted

    Added: on POST /v1/leads/capture, a form answer can also be sent as a key/value pair, at the root or in customData: the key qualification_answers. 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 the qualification_answers list; beyond 20 answers, or too long, a pair is named in ignored_fields with the reason limit_exceeded, and the lead is still captured. The message says how many answers were recorded (Lead captured with 7 qualification answer(s).).

    Changed: a customData key that names a simple contract field with another case or other separators (Source_label, SMS_consent) reads as that field. A lead whose email belongs to an example domain (example.com, example.net, example.org) 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 the message says so.

  21. Addedv1

    AI agents, follow-ups and automated sends in the connector for AI assistants

    MCP connector, added reads: get_agent_performance and get_agent_setup (the AI agents, their setup and their conversations and qualified leads over 30 days), get_automations_overview, get_sequences_overview and get_relances_overview (automations, email sequences and SMS follow-ups), get_relance (one SMS follow-up: status, the detail screen's counters, latest launches, today's cap), get_contact_sends (everything waiting to be sent to a record, each send with its target: type, id, campaign_id), list_upcoming_emails (an account's upcoming emails, like the Upcoming tab of Activity), list_copilot_sends (the Copilot sends waiting for a yes; they are decided on the record, at confirm_url) and preview_relance_audience (a follow-up's real audience and cost from its criteria, with no draft and no charge; also open to an API key with contacts:read).

    MCP connector, added writes: cancel_upcoming_send and pause_relance (done right away, since they stop sends), set_my_away (done right away for oneself, like the Away mode card; refused when no texting AI agent covers the person); prepare_relance_change (resume or stop), prepare_resume_sends, prepare_reschedule_send (a queued email, between one minute and one year from now) and prepare_agent_answer (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.

    Changed: a launch prepared by prepare_campaign then declined or expired removes its draft, if it stayed as prepared.

  22. Changedv1

    A received name is never "[object Object]", and a tag no longer rejects a lead

    Changed: on POST /v1/leads/capture, 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 in ignored_fields, with the new reason unreadable_value, and its message now 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; phone and sms_consent, 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 unreadable meta.ads_consent, like a meta block received as text, is still rejected with a 422. Tags from the root and from customData add up, those from customData first, 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 reason limit_exceeded), and a reserved "Campagne :" tag no longer takes a place among the 20. In ignored_fields, each discarded tag is named by its position in the received list (tags[1], customData.tags[0]), those of the root last.

    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 /v1/quotes and PATCH /v1/quotes/{id} likewise remove "[object Object]" from a received name or company. If nothing remains, the field is absent; a PATCH that carries only that field returns 400 no_fields, and a guest_name on POST /v1/bookings returns 400 validation_error (reason required).

  23. Changedv1

    GET /v1/contacts search ignores accents and searches the whole record

    Changed: ?search on GET /v1/contacts 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: email, first_name, last_name, company only); ?search=cote finds "Côté". Every character is searched as typed: % 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".

  24. Changedv1

    Every 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_id and, when relevant, details, in French or English according to Accept-Language. Each code keeps its name and status, and successful responses don't change, except the fixes listed under Fixed. The message is fixed for each code; what it said about a value moves to details, which names the field and its reason as a stable token (for example required, invalid_type, invalid_value, invalid_format, too_long, below_min, exceeds_max, unknown_field), never the validator's text; each operation's reference shows its own. validation_error always carries a list of fields, including on POST /v1/enrollments, POST /v1/enrollments/withdraw, GET /v1/conversations and POST /v1/tags. A text field received as another type answers invalid_type; a missing, null or empty field, required. The one exception to the fixed message: on POST /v1/leads/capture, the message quotes the value received for a simple field (field "phone" received "phone_number"). Every refusal of a request whose key is recognized shows in the key's Recent errors tab, except 429s.

    Added: a method an address doesn't serve answers 405 method_not_allowed with the Allow header, and an unknown /v1 address 404 not_found, in the same shape (previously an empty body or an HTML page); Allow lists the methods in alphabetical order, on a 405 as on OPTIONS. On every operation that takes a body: 413 payload_too_large beyond 1 MB (details.max_bytes, details.received_bytes), 415 invalid_content_type for a body that isn't JSON (a quoted charset is accepted), 400 invalid_encoding 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) answers 429 rate_limited_ip with Retry-After. The RateLimit-* and X-RateLimit-* 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.

    Fixed: Idempotency-Key follows the same rule everywhere: 16 to 128 characters [A-Za-z0-9_-], and an empty header counts as no header (POST /v1/emails/send answered 500 on the second request). An impossible date (2026-02-30) answers 400: in a quote's valid_until, it answered 500; on /v1/usage, it was silently carried over to the next month. /v1/usage's from and to follow RFC 3339 (lowercase t and z included) or a plain date; any other form (year alone, year-month, RFC 2822) answers 400 invalid_date_format. 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) answers 400 invalid_body on every write (an array reached field validation, as validation_error or no_fields), and an unreadable body on POST /v1/event-registrations 400 invalid_json, as everywhere (previously invalid_request). POST /v1/contacts/batch refuses a batch that contains an invalid row with 400 validation_error, naming each faulty row and writing nothing, instead of dropping it silently. PATCH /v1/quotes/{id}: 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 answers 400 invalid_type; an archived quote, 404 (previously 409 or 400); a fixed deposit beyond 9,999,999,999.99, 400 validation_error (invalid_deposit_value) instead of 500. GET /v1/me answers 500 when reading the account fails, instead of client_name: null. POST /v1/tags recognizes the reserved "Campagne :" prefix with the same spaces as the database: such a name answers 400 (reserved_prefix) instead of 500. An expired key answers 401 expired_api_key (previously invalid_api_key one hour after it expired), a revoked key 401 invalid_api_key. The dashboard_url of 403 terms_acceptance_required 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) answers 503 service_unavailable with Retry-After instead of 429 rate_limited_ip: 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 answers 422 business_rule_violation (details.reason: unsubscribed) instead of 429 trigger_throttled, and POST /v1/enrollments returns the refused outcome with the same reason. business_rule_violation is documented at its real status, 422. Two codes never returned leave the reference: revoked_api_key and contact_or_guest_required from POST /v1/bookings (without contact_id, guest_name and guest_email are refused as required). created_after and created_before are only read where the reference names them.

    MCP connector, fixed: enroll_contact no longer prepares the enrollment of a contact unsubscribed from the target: it refuses with business_rule_violation and says so (previously, the gesture was prepared, then failed at confirmation with a generic reason).

  25. Addedv1

    Interactive cards (MCP Apps) in the AI assistant connector

    MCP connector, added: a ui://capturia/carte.html resource (text/html;profile=mcp-app, extension io.modelcontextprotocol/ui) that Claude and ChatGPT show for get_contact_record, get_pipeline_summary, get_todays_bookings, prepare_campaign and every tool that deposits an action to confirm (_meta.ui.resourceUri on the tool declaration, card data under the result's _meta["capturia/card"]). decide_gesture_from_card, reserved to the card (_meta.ui.visibility: ["app"]): 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 carries failure_text, the reason told to the person when a confirmed action could not happen. The card also shows each action of a batch (complete_tasks) and a create_contact creation held for confirmation (an error that carries its action's card under _meta). Changed: an action's confirm_url opens the Actions to confirm page on that action (?geste=). An MCP client without cards gets the same text answers as before.

  26. Addedv1

    Schedule, meetings, coaching and follow-ups in the AI assistant connector

    MCP connector, added: get_availability (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), get_booking_brief (an appointment's prep brief, reserved for the appointment's salesperson and management), search_my_meetings and get_meeting (recorded meetings; one meeting in detail: summary, objections and key moments at their position, coaching score, agreements and commitments, a transcript passage), get_my_coaching (the week's coaching), list_followups_to_handle and get_followup (IntelliSuivi follow-ups to handle; sending happens in Capturia, at review_url), prepare_reschedule and prepare_meeting_outcome (move an appointment the person holds, or record its result: attended or no_show; 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.

    MCP connector, changed: prepare_meeting also requires the account plan's Bookings module. For the Capturia team, get_todays_bookings reads the team's schedule according to the person's visibility, never a meeting attached to a client account.

  27. Changedv1

    API emails follow CASL rules, and the Inbox comes to the connector for AI assistants

    Changed: POST /v1/emails/send sends a commercial message (CASL), like an email written by hand in Capturia. to must be the address of a record of the account, otherwise 422 missing_consent; an unsubscribed address is refused with 409 recipient_unsubscribed, an address with no consent basis with 422 missing_consent. The account must have a postal address, otherwise 422 missing_postal_address. 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. The Idempotency-Key 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.

    MCP connector, added: get_inbox_overview (the person's Inbox, every channel: who to answer first, then recent conversations, each with its record and its link to reply), get_conversation (a conversation's messages and their delivery), list_calls (the call and voicemail log), update_thread, assign_thread and take_over_thread (done in place; giving a conversation to a teammate is confirmed in Capturia), hand_back_to_agent and prepare_email (confirmed in Capturia, on the Actions to confirm page). These tools are reserved for a signed-in person (OAuth connection).

    MCP connector, removed: list_conversations answers with an error naming its replacement: get_inbox_overview for a person, GET /v1/conversations for an API key.

  28. Addedv1

    Quotes, contracts, payments, sales and commissions in the AI assistant connector

    MCP connector, added reads: list_quotes (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), get_quote (one quote in detail: schedule and overdue items, collected and declared payments, contract, proposal, AI follow-ups to approve in Capturia), list_contracts (contracts and their signature status), list_payments (payments received and due) and get_sales_and_commissions (a month's sales and commissions: a seller reads their own, managers their team or one seller by seller_key). Each tool follows its screen: the quotes.view permission and the Quotes module for quotes and payments, the Contracts module for contracts, the commissions.view 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.

  29. Addedv1

    Enroll and remove a contact from a sequence, an automation, or a follow-up

    POST /v1/enrollments enrolls up to 100 contacts in an email sequence, an automation, or an SMS follow-up campaign, and returns one outcome per contact (enrolled, already, or refused with its reason). POST /v1/enrollments/withdraw removes a contact; a follow-up that already went out keeps its status and its follow-up texts stop (mode: followups_stopped). The scope follows the target: email:send, automations:trigger, or campaigns: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 /v1/automations/{id}/trigger goes through this service and refuses those contacts with 409 lead_pursuit_ended. The attached event_data is still read by the automation's templates.

    MCP connector, added: list_enrollment_targets (with purpose: withdraw, also the paused or stopped targets to remove from), enroll_contact (confirmed in Capturia, on the Actions to confirm page) and withdraw_contact (done right away).

  30. Changedv1

    A record's history through the API, and the full record in the AI assistant connector

    GET /v1/contacts/{id}/timeline now returns a record's real history, most recent first, page by page (cursor, limit): each event carries id, type, occurred_at and data. Each scope of the key opens its domain: contacts:read the record and its tasks, quotes:read its quotes, conversations:read its messages and calls, bookings:read its appointments. data only returns the event's public fields (a note, its full text and its author; a task, its due time due_at). created_after and created_before are refused (400): the history is not filtered by date.

    MCP connector, added: reads get_contact_record (the full record: contact details, profile, qualification, seller, custom fields, other people, latest notes), get_contact_history, list_contact_tasks, list_contact_notes, list_contact_files, list_sellers, list_tags and list_custom_fields; writes create_tag, change_note (edit, pin, unpin; deletion is confirmed in Capturia) and add_contact_person. Confirmed in Capturia, on the Actions to confirm page: assign_contact, disqualify_contact, reopen_contact, archive_contact, restore_contact, set_qualification and remove_contact_person.

    Changed: list_recent_leads takes the Pipeline's filters (stage_ids, pipeline_id, sellers, qualification_colors, priority_only, task_states, created_period, archived_only), returns an exact total_count and says for each record whether it has no next step (without_next_step). update_contact also edits the website, the lost reason, the job title, the address and work address, and the secondary phones and emails (add_phones, remove_phones, add_emails, remove_emails, for a connected person) of an account record, and the city and custom fields of a Capturia team record.

  31. Changedv1

    AI 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: you for a connected person, account_management for an API key, confirmed by the owner or an admin).

    Removed: book_meeting (replaced by prepare_meeting, for a connected person, who is the host; an API key books through POST /v1/bookings), preview_quote_send and send_quote (replaced by prepare_quote_send), preview_campaign and launch_campaign (replaced by prepare_campaign, which creates the draft and places its launch for confirmation), all without a confirmation token; the confirmation_token_invalid error code goes away with them. An old name answers with an error naming its replacement.

    Added: prepare_meeting, prepare_quote_send, prepare_campaign (a connected owner or admin, the Capturia team, or a Full integration key) and prepare_bulk_update (tags or a stage on 2 to 100 records, placed as a single action).

    Changed: add_tag, remove_tag, update_pipeline_stage and update_contact 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 carries pending_confirmation and applied, removed, moved or updated set to false. update_pipeline_stage accepts lost_reason. prepare_quote opens to connected people in both worlds. create_contact: 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 a business_rule_violation error whose message gives the address where to confirm and the deadline, and nothing is created before the confirmation.

    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.

  32. Addedv1

    AI assistant connector: prepare a text message the person confirms

    The MCP connector adds prepare_text, 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 and not_prepared_reason says why. The response carries sent: false, prepared, and prepared_text (id, expires_at, confirm_url). One text waits per contact: a new call replaces the previous one, and without a decision it expires after 24 hours. For an SMS, draft_message now returns the verdict of the sending service itself, and points a signed-in person to prepare_text.

  33. Addedv1

    AI 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), plus search and fetch in ChatGPT's deep research format: search returns records with their Capturia link, to cite, and fetch the text of a record. Every tool publishes its output schema (outputSchema) and returns structuredContent; 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/discover, sessionless) alongside the initialize handshake, and refuses a foreign Origin header (403). Compatible additions: no tool removed, no input changed.

  34. Changedv1

    A 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_unavailable with Retry-After: 30 instead of 401 invalid_api_key: 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 returns 503 service_unavailable (instead of 500 internal_error). The MCP connector follows the same rule, and its hourly limit now states the delay before retrying (retry_after_seconds).

  35. Addedv1

    The API reference and the OpenAPI spec are available in English

    The English reference pages (/en/developers/api/v1/reference) describe every endpoint, parameter, schema and response in English, including in the docs search. The English spec is published next to the French one: /openapi.en.yaml, /openapi.en.json and the Postman collection /postman-collection.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.json) is now served on api.capturia.io, like the spec.

  36. Changedv1

    AI assistant connector: get_todays_bookings says who booked and who cancelled each booking (breaking change)

    Breaking change to the MCP connector. get_todays_bookings accepts range (today by default, upcoming for the next ones, recent for the most recent ones, cancellations included) and contact_id (one contact's bookings, recent by default). Each booking carries origin (who booked it), cancel_origin and cancelled_at (who cancelled it, and when), meeting_type, and under untrusted_user_content the booking type, the host and the names of whoever booked or cancelled it. The source field is no longer returned: it labelled "automation" a booking the agent took in the conversation, and origin replaces it. date is null outside range: 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, with total_count and has_more. search_contacts, get_pipeline_summary and get_todays_bookings also publish their output schema (outputSchema).

  37. Changedv1

    Pipeline stages: each stage names its pipeline, hidden stages are marked, archived contacts no longer count

    GET /v1/pipeline/stages now returns the stages of every pipeline in the account with their pipeline: pipeline_id and pipeline (id, name, is_default). 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 by stage_order. A stage hidden on the dashboard pipeline is still listed, with is_hidden: true: its contacts exist and count. contact_count no longer counts archived or merged contacts, like the Pipeline screen. A missing stage flag (is_default, is_won, is_lost) now reads false instead of null. The MCP connector (get_pipeline_summary) returns the same fields.

  38. Changedv1

    Webhooks: an event's author says whether it came from an AI assistant or the API, and no longer invents a member

    The events' data.actor field gains via: ai_assistant when the action comes from an AI assistant connected to the connector (Claude, ChatGPT), api_key when it comes from the public API, null otherwise. When no member acted (system, automation, integration), type and id are now null; they previously announced a team member without an identifier. A write made with an API key is named after its key in name, a value written in French (for example Clé API « Zapier », or Assistant IA — clé API « Zapier » when the key goes through the connector), never Système.

  39. Changedv1

    POST /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_contact with the existing record in data and the matching fields in details.conflicting_fields, whether the match comes from the email or the phone; an email and a phone held by two different records return 409 duplicate_resource. The new contact has the source 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, use POST /v1/leads/capture.

  40. Changedv1

    DELETE /v1/contacts/{id} requires the contacts:delete scope

    Deleting a contact now requires the contacts:delete scope, separate from contacts: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 only contacts:write gets 403 insufficient_scope on this route.

  41. Changedv1

    /v1/bookings now serves your account's calendar (breaking change)

    Breaking change. The /v1/bookings 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.

    GET /v1/bookings lists the calendar's bookings (archived ones excluded). The project_id filter is gone; event_type_id and contact_id join from, to and status (confirmed, cancelled, completed, no_show). An unreadable filter is refused with 400 validation_error. Each booking carries event_type_id, contact_id, host_id and meeting_link; project_id, assigned_to_id, video_provider and zoom_join_url are no longer returned.

    POST /v1/bookings 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 requires event_type_id (one of your account's calendars) and start_datetime, plus contact_id or guest_name + guest_email. Optional: guest_phone, host_id, timezone, notes, form_responses (one entry per question id, shaped { value }; a form refusal lists the calendar's questions in details.questions). project_id no longer exists, and end_datetime is refused: the calendar sets the duration. The requested time is booked or refused with its reason in details.reason, never replaced: 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_unavailable (retry after Retry-After).

    DELETE /v1/bookings/{id} 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 answers 422 business_rule_violation (already_cancelled) instead of 409 already_cancelled; a completed or no-show booking, 422 (booking_not_cancellable). An unknown booking answers 404 resource_not_found.

    The AI assistant connector follows the same change: get_todays_bookings reads the account's calendar, and book_meeting books in it (start_datetime, then contact_id or guest_name + guest_email, optional event_type_id and form_responses; project_id and end_datetime are no longer accepted). The connector never cancels a booking.

  42. Addedv1

    GET /v1/usage: new status_unknown counter

    Every bucket and the totals of GET /v1/usage now carry status_unknown: 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. The status_2xx, status_4xx, status_5xx, rate_limited_count and status_unknown families are disjoint: a request is never counted in two of them.

  43. Changedv1

    GET /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_unknown. The affected historical buckets are corrected once: their status_2xx drops by that amount, and status_unknown picks up the difference. Refusals by the per-IP limit of /v1/events and /v1/leads/capture also move from status_4xx to rate_limited_count, like refusals by the key's hourly quota: a refusal by a rate limiter is always in rate_limited_count and does not consume the quota. A business refusal returned as 429 (trigger called too often, test-send quota, webhook subscription cap) stays a status_4xx error and consumes the quota. Finally, the reference wrongly said that rate_limited_count was a subset of status_4xx: the two families have always been distinct, and this documentation fix changes no calculation.

  44. Changedv1

    GET /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.

  45. Addedv1

    Dedicated 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).

  46. Addedv1

    OpenAPI 3.1 public spec + Postman + TS types

    The API now exposes an OpenAPI 3.1 spec at /openapi.yaml (235KB) and /openapi.json (289KB). Postman collection (/postman-collection.json) downloadable, importable in Insomnia 2023+ via the OpenAPI spec directly. TypeScript types generated at build (lib/api/v1/openapi-types.ts). Request validation against spec in shadow mode by default.

  47. Addedv1

    GET /v1/usage endpoint + observability headers

    Programmatic /v1/usage endpoint returns consumption aggregations (filterable by bucket_type and range). Every response now emits X-Request-ID ULID, Capturia-Request-ID (alias), Capturia-Version: v1, and Vary: Accept-Language, Accept-Encoding.

  48. Addedv1

    Opaque cursor pagination + Deprecation/Sunset legacy headers

    All GET collection endpoints now accept ?cursor= opaque base64url with id tiebreaker for stable sort. Legacy total_count + cursor ISO format accepted alongside for 12 months (sunset 2027-05-03). Deprecation (RFC 9745) + Sunset (RFC 8594) + Link rel=deprecation headers announce the removal.

  49. Addedv1

    Idempotency-Key header on POST/PUT/DELETE

    All mutating routes accept an optional Idempotency-Key header (regex [a-zA-Z0-9_-]{1,64}). TTL 24h via Vercel KV. Verbatim replay returns Idempotent-Replayed: true. Conflict (different payload or concurrent request) → 409 idempotency_conflict.

  50. Addedv1

    RFC 9331 headers + enriched 429 body

    Parallel emission of RateLimit-Limit/Remaining/Reset/Policy headers (RFC 9331) and X-RateLimit-* (legacy, sunset 2027-05-03). 429 body now includes actionable details.limit_type (per_key or brute_force) and details.retry_after_seconds.