/
MA
magistry
Search skmtc…
⌘K
Docs
Sign in
Docs
History
Schema
Generate
post
/api/v1/tools/cm_events_track
Send customer events from your own backend (a lesson completed, a trial started), one or a batch of up to 500, for custo
Filter operations
auto_write
438
post
/api/v1/tools/create_alert
Create a metric-threshold automation that fires an alert when a KPI crosses a boundary. Supported metrics: roas, convers
post
/api/v1/tools/disable_automation
Disable an existing automation rule so it no longer fires. The row is kept for history; use list_automations to retrieve
post
/api/v1/tools/run_calibration
Re-run self-calibration of this store's decision thresholds (winner/loser floors, etc.) using its own performance distri
post
/api/v1/tools/run_classification
Re-classify every product's performance tier based on current thresholds and 30-day metrics. Side-effect: products.perfo
post
/api/v1/tools/run_decide_dry
Run the catalogue decision engine (prices, tiers, discounts) in DRY-RUN mode. Produces decision_log rows with applied_to
post
/api/v1/tools/run_sync_catalog
Pull the latest product + variant metadata from Shopify. Read-side side-effect only: refreshes our cache of titles, pric
post
/api/v1/tools/run_sync_orders
Pull recent orders + line items from Shopify and refresh performance aggregates. days defaults to 7. Does not mutate Sho
post
/api/v1/tools/run_embeddings
Compute or refresh OpenAI text-embedding-3-small (1536-dim) vectors for products that lack them. Required before find_si
post
/api/v1/tools/run_anomaly_check
Detect performance anomalies (sudden CTR/CR drops, unusual spend) and surface them as alerts. Does not modify products.
post
/api/v1/tools/run_supplier_health
Score suppliers based on quality/availability/lead-time signals. Updates supplier_health_checks rows. Reversible by re-r
post
/api/v1/tools/run_cannibalization
Re-cluster products by image-text similarity and update product_clusters. Use this after large bulk syncs or when the us
post
/api/v1/tools/run_research
Kick off a research-pipeline pass: scans configured lanes (Meta Ad Library, AliExpress bestsellers, etc.) for new candid
post
/api/v1/tools/run_ab_resolve
Resolve any A/B tests whose statistical power has reached threshold. Updates ab_tests.resolution; does NOT change conten
post
/api/v1/tools/propose_store_action
Puts one action from list_store_actions on the store as an approval card. Nothing runs: the card waits until a person pr
post
/api/v1/tools/save_skill
Save a reusable prompt as a Magistry Skill so the user can re-run it via the /skill-name slash menu in the chat input. T
post
/api/v1/tools/delete_skill
Delete one of the user's saved Skills by id. Only the owner can delete. Reversible by re-running save_skill with the sam
post
/api/v1/tools/product_link_scan_start
Start a scan of the workspace that finds the same product sold in several of its stores (shared sku, barcode, image or t
post
/api/v1/tools/launch_lock_release
End the launch lock on this store: the dashboard stops sending people back to the launch wizard. The launch itself is no
post
/api/v1/tools/launch_adopt
Start a launch on this existing store: creates its launch with a profile prefilled from the store, without locking the d
post
/api/v1/tools/ads_sync
Read the store's connected ad accounts again now: campaigns, ad groups, ads, keywords, search terms and performance for
post
/api/v1/tools/ads_pause
Pause one campaign (the Magistry campaign id, or the platform's own id) on its own ad platform. A pause can only lower s
post
/api/v1/tools/ads_release_hold
Release a person's hold that keeps one campaign running (its status held `active` by a person in Magistry), so the campa
post
/api/v1/tools/ads_brief_decide
Decide a creative brief (approve, archive, reject) or one of its variants (approve, reject). Approving a brief approves
post
/api/v1/tools/ads_run_job
Run one of the Campaign agent's jobs now instead of on its schedule: asset_cycle (write and refresh creative briefs), au
post
/api/v1/tools/ads_strategy
Work with the Marketing Strategist's proposals: `generate` a fresh one, `set_status` accepted or rejected on one, or `sp
post
/api/v1/tools/ads_suggestion_dismiss
Snooze (for `days`, 1–90) or dismiss up to 100 suggestions from the ads queue. Nothing is written to an ad platform; who
post
/api/v1/tools/ads_credit_declare
Declare an ad credit, or update one with credit_id. Platform promotional credit (for example a Google Ads promotion) is
post
/api/v1/tools/ads_generate_rsa_preview
Write Responsive Search Ad copy (headlines, descriptions and the reasoning) for a product or landing page, as the campai
post
/api/v1/tools/ads_tracking_test_fire
Send one test conversion through the store's Google Ads tracking and answer with what the dispatch did (status, event id
post
/api/v1/tools/gsc_sync_now
Pulls the store's Search Console data into Magistry now (the Sync button on the SEO page): the recent days and the 16-mo
post
/api/v1/tools/cs_triage_thread
Apply a reversible inbox action to one or more CS threads (mark read/unread, star/unstar, move to spam/trash/inbox) in M
post
/api/v1/tools/cs_remedy_propose
Propose a remedy on a customer thread the way the CS agent proposes one: a partial refund the customer keeps the item fo
post
/api/v1/tools/cs_translate
Translate customer-service mail into a language, with the translator the Magistry inbox uses. Give `thread_id` to transl
post
/api/v1/tools/cs_chat_widgets_create
Create a live-chat widget (name, optional greeting and `#rrggbb` accent colour) with its own chat channel in the inbox.
post
/api/v1/tools/cs_reply_feedback_set
Record the team's verdict on a reply the CS agent sent — what the agent learns from. Two forms. With `message_id` (a rep
post
/api/v1/tools/cs_kb_upsert
Create a draft help-center article, or edit one that is still a draft. Without `article_id` a new draft is created (the
post
/api/v1/tools/cs_kb_delete
Delete a draft help-center article. A published article is refused (customers can be reading it) until it is back to dra
post
/api/v1/tools/cs_knowledge_proposal_decide
Decide proposals read out of one knowledge source: `approve` or `reject` up to 400 at once, `edit` one proposal's wordin
post
/api/v1/tools/cs_policy_topic_map_delete
Remove one mapping from the policy topic map. An id that is not this store’s returns code not_found and removes nothing.
post
/api/v1/tools/cs_knowledge_source_discard
Throw a knowledge source away: the uploaded file is deleted from storage and its extracted text cleared. Nothing it alre
post
/api/v1/tools/cs_view_create
Save a filtered view of the CS inbox under a name (shared with the store, appended to the rail). A filter set that narro
post
/api/v1/tools/cs_view_rename
Rename a saved view or folder. A folder keeps filing on its original tag. Another user's private view, or an id that is
post
/api/v1/tools/cs_view_delete
Delete a saved view or folder from the rail. Conversations are not deleted: a folder's conversations keep their tag. Ano
post
/api/v1/tools/cs_folder_create
Create an inbox folder: a view over one tag derived from the name, which conversations are filed into by hand or by a ro
post
/api/v1/tools/cs_routing_rule_create
Add a routing rule at the end of the evaluation order. It acts on inbound customer mail from the next message on (status
post
/api/v1/tools/cs_routing_rule_update
Change a routing rule: fields you pass replace the stored ones, fields you omit keep their value. The result is validate
post
/api/v1/tools/cs_routing_rule_delete
Delete a routing rule. Conversations it already routed keep their status, tags and folder. An id that is not this store'
post
/api/v1/tools/cs_routing_rules_reorder
Set the evaluation order of the store's routing rules: `order` lists every rule id exactly once, first evaluated first.
post
/api/v1/tools/cs_routing_rule_set_active
Turn a routing rule on or off without deleting it. Setting the state it already has is a no-op (changed: 0). An id that
post
/api/v1/tools/cs_note_add
Add an internal note to a CS thread, as the thread pane does. Team-only: a note is never sent or shown to the customer.
post
/api/v1/tools/cs_followup_set
Set or move the follow-up reminder on a CS thread (one open reminder per thread; setting it again moves it). due_at must
post
/api/v1/tools/cs_followup_clear
Mark the open follow-up reminder on a CS thread done (kept as history). cleared: 0 means none was open.
post
/api/v1/tools/cs_threads_file
File up to 200 CS threads into a folder view (a move: the store's other folder tags come off, every other tag and the st
post
/api/v1/tools/cs_attention_resolve
Mark a CS thread's attention flag resolved, as the Resolve button does, stamped with your user.
post
/api/v1/tools/cs_thread_relink_product
Link a CS thread to a product of this store (a manual match), or unlink it with product_id null. A product of another st
post
/api/v1/tools/cs_failed_reply_dismiss
Dismiss one failed reply: record, with a reason, that the customer is not owed it any more, so it leaves the failed-repl
post
/api/v1/tools/cs_threads_bulk_apply
Apply one change to up to 100 CS threads of this store, as the inbox bulk bar does: set the status (open or pending), se
post
/api/v1/tools/cs_ticket_link_revoke
Revoke the customer's ticket portal link for a CS thread, as the thread pane's Revoke does. Whoever holds the old link c
post
/api/v1/tools/cs_thread_forward_to_owner
Forward a CS thread to the store's owner, as the thread pane's Forward to owner does: the thread is assigned to the owne
post
/api/v1/tools/cs_attachment_upload_create
An upload slot for a single file to attach to a CS reply, as the composer's paperclip makes: a signed upload URL for a p
post
/api/v1/tools/cs_canned_reply_create
Save a reply to this store’s canned menu, executed at once. A template only: nothing is sent. The body may use {{custome
post
/api/v1/tools/cs_canned_reply_delete
Delete one of this store’s saved replies, executed at once. A global template or an id that is not this store’s answers
post
/api/v1/tools/cs_scheduled_reply_cancel
Cancel a reply waiting in the "send later" queue, executed at once: it is removed and never sent. A reply the send sweep
post
/api/v1/tools/cs_action_connector_upsert
Create or update an https connector to one of the merchant's own systems, which CS actions call. base_url must be https
post
/api/v1/tools/cs_action_connector_set_secret
Store the connector's credential in Magistry's vault. Fields by auth_scheme: bearer {token}; api_key_header {api_key}; b
post
/api/v1/tools/cs_action_connector_archive
Archive a connector: its actions stop, and its stored secret is deleted. The run log is kept.
post
/api/v1/tools/cs_action_upsert
Create or change one action the CS agent may take through a connector. A new action always starts in test mode; set test
post
/api/v1/tools/cs_action_archive
Archive an action: the agent no longer sees it. Its run log is kept.
post
/api/v1/tools/cs_action_test
Test one action with sample input. dry (default true) shows the exact request without sending it; A real call (dry false
post
/api/v1/tools/cs_action_import_openapi
Create actions from an OpenAPI 3 JSON document passed inline (never fetched): one per operation, GET as read and the res
post
/api/v1/tools/cs_macros_create
Create a macro. Writing one sends nothing: a teammate applies it to a conversation later, from the inbox. Tags are lower
post
/api/v1/tools/cs_macros_update
Replace a macro’s title, body and actions. Fields left out are cleared to their defaults, as in the settings form.
post
/api/v1/tools/cs_macros_delete
Delete a macro. Conversations it was applied to keep what it did.
post
/api/v1/tools/cs_tags_upsert
Create a tag, or set an existing tag’s colour (#rrggbb) and description. Names are lowercased.
post
/api/v1/tools/cs_tags_rename
Rename a tag on the registry and on every conversation carrying it. Renaming back undoes it, so a name already in use is
post
/api/v1/tools/cs_sla_policies_upsert
Create a service-level policy, or replace one by `id`. Fields left out take their defaults (any priority, any category,
post
/api/v1/tools/cs_sla_policies_delete
Delete a service-level policy. Conversations already stamped keep their due times.
post
/api/v1/tools/cs_thread_claim
Tell the inbox this connection is working on a CS thread, so a teammate who opens it sees that an app is replying, or re
post
/api/v1/tools/cs_mailbox_connect_imap
Connect an IMAP support mailbox and its outgoing mail server, or — with mailbox_id — replace the username and password (
post
/api/v1/tools/cs_mailbox_connect_url
Start connecting a Gmail / Google Workspace or Microsoft 365 support mailbox. Returns a Magistry link (connect_url) for
post
/api/v1/tools/cs_mailbox_test
Test a mailbox: sign in over IMAP (or OAuth) and check sending (the outgoing mail server or Microsoft Graph) without sen
post
/api/v1/tools/cs_sync_now
Fetch new mail now for one mailbox, or the store's first mailbox when none is named. Refused, with the reason and what t
post
/api/v1/tools/cs_recover_stuck
Recover a stuck mailbox onboarding: the run is marked failed so it can be started again, and the mailbox returns to conn
post
/api/v1/tools/cs_insights_recompute
Re-cluster customer complaints and recompute the per-product signals on the CS insights page.
post
/api/v1/tools/cs_mailbox_update
Change mailbox settings that only narrow what it does: spam filter, attention alerts, read Sent folder, per-folder sync,
post
/api/v1/tools/cs_team_create
Create a CS team (a routing group), with no members yet. A name the store already uses returns code conflict.
post
/api/v1/tools/cs_team_rename
Rename a CS team. An id that is not this store's returns code not_found; a name another team has, code conflict.
post
/api/v1/tools/cs_team_delete
Delete a CS team. Its memberships go with it, and routing rules that assigned to it fall back to unassigned; `rules_unas
post
/api/v1/tools/cs_team_member_add
Add a teammate to a CS team. It grants no access: the person must already be a member of this store, otherwise code inva
post
/api/v1/tools/cs_team_member_remove
Take a teammate off a CS team; they stay a member of the store. Someone not on the team returns code not_found.
post
/api/v1/tools/cs_handoff_recipient_remove
Stop forwarding handed-off conversations to an address. An address that is not a recipient of this store returns code no
post
/api/v1/tools/cs_portal_image_remove
Remove the portal logo or agent avatar, back to the designed default. Removing one that is not set is a no-op (changed:
post
/api/v1/tools/cs_setup_complete
Mark the store's CS setup as finished, as the setup wizard's last step does. It does not start unattended replies: the d
post
/api/v1/tools/cs_suggest_reply
Draft a reply to a CS thread as the composer's Suggest button does: grounded in the store's policy and the conversation,
post
/api/v1/tools/cs_suggest_triage
Suggest a category, priority and tags for a CS thread as the thread pane does. Changes nothing; apply it as a thread upd
post
/api/v1/tools/settings_slack_test
Post Magistry’s test message to the Slack webhook saved for this store (store.notifications.slack_webhook_url) and recor
post
/api/v1/tools/store_pause
Pause this store now. While paused, nothing runs for this store: no syncs, no agents (customer-service replies included)
post
/api/v1/tools/workspace_pause
Pause every store in a workspace now, including a store that joins it while it is paused. While paused, nothing runs for
post
/api/v1/tools/store_business_patch
Change the store name, primary market (2-letter ISO country) or timezone (tz database name). Fields left out keep their
post
/api/v1/tools/store_business_website_set
Set the store’s business website (a bare domain or an http(s) URL; private, loopback and internal hosts are refused) and
post
/api/v1/tools/store_colleague_set
Rename the store’s “Your colleague” persona (1 to 40 characters). Applies at once; the receipt records the previous name
post
/api/v1/tools/agent_wizard_dismiss
Dismiss the agent setup wizard on the Agents page for this store. A second call keeps the first dismissal and changes no
post
/api/v1/tools/agent_notification_pref_set
Switch one agent notification on or off for one event and channel. Turning slack on is refused until the store has a Sla
post
/api/v1/tools/tell_brain
Pass the merchant's direction to the Brain. Use `add_instruction` when they state a standing goal or guardrail ("stop di
post
/api/v1/tools/brain_proposal_reject
Dismiss one open proposal. The Brain counts dismissals as a signal to stop proposing that shape of move. Dismissing a pr
post
/api/v1/tools/brain_storefront_task_complete
Mark one open storefront task from the Marketing Brain as done after the change was made in the store. Applies immediate
post
/api/v1/tools/brain_calendar_event_add
Add a sale window (a promotion date range such as Black Friday or a launch week) to the store’s promotion calendar. The
post
/api/v1/tools/brain_calendar_event_remove
Remove a planned sale window from the promotion calendar, before it has become a promotion. A sale that is already sched
post
/api/v1/tools/brain_objective_set
Set what the Marketing Brain optimises for: contribution margin after ad spend (the default), revenue, ROAS or leads, ov
post
/api/v1/tools/brain_feedback_send
Send the Marketing Brain a reply it reads at the top of its very next cycle, which this message brings forward. Because
post
/api/v1/tools/brain_question_answer
Answer one of the questions the Marketing Brain is asking the merchant (the open questions the Brain configuration read
post
/api/v1/tools/brain_personalization
The Marketing Brain’s personalization, as its setup wizard runs it. `start` asks Magistry to calibrate the store’s own w
post
/api/v1/tools/promotion_end
End a active, scheduled, paused promotion now: every price it changed goes back to what it was. Applies at once.
post
/api/v1/tools/conversation_rename
Rename a Magistry chat conversation. Only the caller’s own: an API key reaches its person’s conversations, a connected (
post
/api/v1/tools/conversation_delete
Delete a Magistry chat conversation and its messages, permanently. Only the caller’s own: an API key reaches its person’
post
/api/v1/tools/message_feedback
Rate one Magistry assistant answer: 1 (helpful), -1 (not helpful), or null to withdraw the rating. One rating per messag
post
/api/v1/tools/recap_share_revoke
Turn one public recap link off for everybody; the page then says the link has ended. Any caller with write access may: t
post
/api/v1/tools/agent_set_enabled
Pause an agent (enabled: false): its scheduled jobs are refused before they start. Applies at once. Resuming (enabled: t
post
/api/v1/tools/media_delete
Deletes an item from the studio media library. The file stays for any saved design version that places it; the library s
post
/api/v1/tools/design_update
Renames a design. Requires an `idempotency_key`.
post
/api/v1/tools/design_set_status
Moves a design through review: to draft, in review, or archived; approving is a separate write. Moving an approved desig
post
/api/v1/tools/comment_edit
Changes the words of a review comment this account wrote. Requires an `idempotency_key`.
post
/api/v1/tools/comment_delete
Deletes a review comment this account wrote; deleting the first comment of a thread takes its replies with it. Requires
post
/api/v1/tools/remake_storyboard_save
Saves edits to a planned remake's storyboard: the editable storyboard as read, with the changes, and the rev it was read
post
/api/v1/tools/remake_approve_shot
Marks a made shot of a remake as right (approved: true) or takes that back. Spends and publishes nothing. Free.
post
/api/v1/tools/remake_start
Starts a remake of a short video (video/mp4, video/quicktime or video/webm, at most 200 megabytes) the merchant has the
post
/api/v1/tools/remake_quote_shots
Asks the worker to price every beat's generated shot of a planned remake, for the garment given (a product and which of
post
/api/v1/tools/production_save
Creates a production, or replaces the spec of one that is not rendering (pass production_id; base_spec_hash refuses the
post
/api/v1/tools/production_render
Queues a production for rendering into one master. Free (no credits) and nothing is published; a film of minutes renders
post
/api/v1/tools/production_cancel
Stops a production: a queued one at once, a rendering one at its next piece. What was already rendered is kept, so rende
post
/api/v1/tools/production_review
Records a review of a production as it stands: gate script reviews the spec before it renders (what an review_required p
post
/api/v1/tools/production_author_scene
The engine designs one scene of a film itself. Give it a beat: what the picture must make clear, the narration and its w
post
/api/v1/tools/production_storyboard
The engine writes a whole film's script and storyboard itself, of any length up to four hours. Give it a brief and the l
post
/api/v1/tools/update_brand_kit
Changes the store's brand kit, only in the fields given; it is made if there is none. Colours are hex values for five na
post
/api/v1/tools/read_brand_from_website
Reads the store's brand from its own website (or another page given): the colours the page paints its buttons and surfac
post
/api/v1/tools/create_design
Starts a new design from a starting layout in the store's brand: blank, announcement (headline, support line and button)
post
/api/v1/tools/compose_design
Has the designer compose a new design from a written brief, in the store's brand, optionally built on images from the st
post
/api/v1/tools/create_campaign_set
Has the designer turn one brief into a campaign set: first a plan of several concepts that each lead with a different id
post
/api/v1/tools/edit_design
Has the designer change an existing design from an instruction ("make the headline shorter", "use the blue from the logo
post
/api/v1/tools/vary_design
Has the designer propose several distinct takes on the newest version of a design in one go, in a direction ("more premi
post
/api/v1/tools/translate_design
Makes one version of a design per language: the words translated and, on a video, the voice-over spoken in that language
post
/api/v1/tools/use_design_variation
Uses one take from a finished request for takes on a design. By default it is saved as a new version of the design it va
post
/api/v1/tools/add_design_music
Generates an original soundtrack for a motion design from a description of the mood and lays it under the whole design a
post
/api/v1/tools/set_design_audio
Sets the soundtrack of a motion design from the store's music library, saved as a new version: puts a track under the wh
post
/api/v1/tools/set_design_transition
Sets the transition on one join between two clips of a motion design, saved as a new version: a crossfade, whip, flash o
post
/api/v1/tools/set_design_sfx
Adds, changes or removes a sound effect of a motion design, saved as a new version. A new one takes a track id from the
post
/api/v1/tools/export_design
Exports a saved version of a design to files: png, jpg or webp for stills and mp4 for motion designs, one file per layou
post
/api/v1/tools/propose_design_ad
Adds an exported file to one of the store's ad campaigns as a draft ad creative. It reaches the ad account only once som
post
/api/v1/tools/comment_on_design
Leaves a review comment on a design, or a reply in an existing thread. A comment can be pinned to a layer, to a point on
post
/api/v1/tools/resolve_design_comment
Marks a comment thread on a design as resolved, recording the newest version as the one that answered it, or reopens a r
post
/api/v1/tools/fix_design_comment
Asks the designer to make the change an open comment thread asks for: the thread's words, its replies and where it is pi
post
/api/v1/tools/fill_design_for_locations
Makes one design per store location from a design used as a template, filling only its open slots: {{location.name}}, {{
post
/api/v1/tools/bind_design_data
Links a text layer of a design to a field of one of the store's own records, so the words on the design come from the bu
post
/api/v1/tools/refresh_design_data
Brings the layers of a design that are linked to the store's records up to date: each one is made to show what its produ
post
/api/v1/tools/design_commit
Saves an exact change to a design as a new version: a list of editor commands (move, resize, set_text, set_style, add_la
post
/api/v1/tools/design_restore
Brings an earlier version of a design back as a new version on top of the newest, the way the history panel's "Restore v
post
/api/v1/tools/design_rename_layer
Renames one layer of a design, as the layers panel does, saving a new version. The name is what the layers panel and the
post
/api/v1/tools/social_settings_patch
Change the social brand profile: brand facts, prompt instructions, hashtags, content strategy and mix, posting cadence,
post
/api/v1/tools/social_post_reject
Reject a social post so it is never published. Takes it out of the review queue for good; the reason is kept on the post
post
/api/v1/tools/social_post_archive
Archive a social post: it leaves the queue and is never published. A post being published right now, or already archived
post
/api/v1/tools/social_posting_switch
Turn organic posting to LinkedIn, X or YouTube off for this store: nothing new is published there until it is turned on
post
/api/v1/tools/operation_cancel
Asks to cancel a running operation. Answers the operation with error `not_cancellable` when its kind or its current stat
post
/api/v1/tools/grant_revoke_self
Gives back this connection's own write grants on the current store: one by `grant_id`, or every one when it is omitted.
post
/api/v1/tools/api_key_revoke
Revokes an API key of this store. An API key may revoke itself, or a key it created, and that takes effect at once: its
post
/api/v1/tools/api_key_rotate
Rotates an API key of this store: creates its successor and gives the old key a deadline. An API key may rotate itself,
post
/api/v1/tools/connection_narrow
Narrows a connected app's access: the stores it reaches, its scopes and the workspaces whose future stores it covers. Se
post
/api/v1/tools/connection_revoke
Disconnects a connected app: every token it holds is refused from now on and it must be connected again to work. This ap
post
/api/v1/tools/theme_engine_settings_patch
Changes the Theme Architect's settings toward safer and executes at once: mode down (autonomous -> approval_only -> dry_
post
/api/v1/tools/theme_studio_file_revert
Undoes one file's change in a Theme Studio working branch, so the file falls back to its live version. Touches only that
post
/api/v1/tools/theme_studio_discard
Discards every change in a Theme Studio working branch. Touches only that conversation's branch, never the live theme; `
post
/api/v1/tools/theme_studio_propose
Turns a Theme Studio working branch into a proposed theme edit, validated against the whole resulting theme (Liquid, JSO
post
/api/v1/tools/theme_deploy_schedule_cancel
Cancels a scheduled theme deploy: the edit goes back to proposed and nothing reaches the live theme. Refused `already_de
post
/api/v1/tools/theme_sync
Imports or syncs the store's theme in the background: the first run reads the published Shopify theme into the store's o
post
/api/v1/tools/theme_go_live_cancel
Stops following a go-live run that is still in progress (copying, waiting for the connect, or waiting for the publish) a
post
/api/v1/tools/product_page_generate
Composes a custom product page for one product from its own facts (description, attributes, images, the store's policies
post
/api/v1/tools/product_pages_generate_bulk
Composes draft product pages for up to 50 products at once: the products named, or the `top` best-selling active product
post
/api/v1/tools/product_page_update
Saves an edit to a product page's draft: rewrite copy, reorder modules, change a layout variant or heading, or hide a mo
post
/api/v1/tools/product_page_ab_test
Creates a draft storefront A/B test for one product's published page: half the product's visitors see the theme's own pa
post
/api/v1/tools/product_page_media_add
Stores one image in Magistry's media store (the Creative Engine's home) and returns its public `url`, to use in a produc
post
/api/v1/tools/theme_branch_create
Opens a new, empty working branch (`api/<uuid>`) of the store's theme for this caller. A branch holds only the files you
post
/api/v1/tools/theme_branch_close
Closes one of this caller's theme branches and drops every change in it; closing is final. Touches only that branch, nev
post
/api/v1/tools/theme_write
Applies up to 50 edits to files in one of this caller's theme branches, all or none: if any op is refused, nothing is wr
post
/api/v1/tools/theme_file_revert
Undoes one file's change in one of this caller's theme branches, so it reads as live again (and loses its recorded base)
post
/api/v1/tools/theme_preview
Shows one of this caller's theme branches on the store's preview theme before anything goes live: the branch, composed o
post
/api/v1/tools/theme_library_install
Installs a theme from the theme library (by its slug, as the library lists it) onto a Magistry work branch next to the l
post
/api/v1/tools/upload_begin
Starts an upload of a file too large to send inline: answers an `upload_id` and a signed `put_url`, valid for two hours,
post
/api/v1/tools/upload_complete
Finishes an upload once its bytes are at its `put_url`: reads the stored file, checks its size and its type from its byt
post
/api/v1/tools/upload_inline
Uploads a small file in the call itself, base64-encoded: at most 1048576 bytes decoded (`upload_too_large` above that; a
post
/api/v1/tools/upload_from_url
Has Magistry fetch a file from a public https URL and finish it as an upload. Starts an operation whose status carries t
post
/api/v1/tools/account_sessions_revoke
Sign one of the person's sessions out, by the id the session list returns. That browser is signed out at its next refres
post
/api/v1/tools/account_devices_revoke
Stop notifications to one phone, by the id the device list returns, and sign it out of the mobile app. `not_found` for a
post
/api/v1/tools/account_preferences_set
Change the signed-in person's display currency, Finance language, or both — the person's own, in every store. `display_c
post
/api/v1/tools/account_profile_update
Change the signed-in person's own first name, last name and/or job title, as Account > Profile does. A field left out ke
post
/api/v1/tools/notification_settings_set
Replace the signed-in person's email delivery settings — every field, as the settings form saves them. A muted domain mu
post
/api/v1/tools/notification_snooze
Pause the signed-in person's non-urgent email for a number of days, 1 to 90; 0 ends a snooze now. Critical alerts are no
post
/api/v1/tools/notification_guidance_set
Switch one of the signed-in person's in-app guidance groups on or off — the cards and notes Magistry shows inside the ap
post
/api/v1/tools/agency_label_create
Create a label in the agency workspace: a name of 1 to 40 characters, unique ignoring case, and one of the offered colou
post
/api/v1/tools/agency_label_delete
Delete one of the agency workspace's labels; it comes off every client that carried it. Requires an `idempotency_key`.
post
/api/v1/tools/agency_labels_apply
Add one label to, or remove it from, up to 50 stores at once — active clients of the workspace or its own stores. Answer
post
/api/v1/tools/agency_branding_set
Replace the agency's report branding — every field, as the branding form saves it; null clears one. The accent is a hex
post
/api/v1/tools/agency_report_revoke
Withdraw one shared report link: from then on the link answers 404. Withdrawing one already withdrawn answers when it wa
post
/api/v1/tools/changelog_ack
Mark What's new as read for the signed-in person, up to the newest entry published — what opening the What's new page do
post
/api/v1/tools/submit_product_feedback
Record, for the Magistry product team, a goal the merchant had that Magistry cannot meet, meets only in part or meets po
post
/api/v1/tools/referral_enrol
Enrol this store in Refer a friend and get its referral link — what "Get my referral link" does. Safe to repeat: an enro
post
/api/v1/tools/referral_redeem
Apply a referral code another merchant gave you to this store, so you both earn AI-credits once this store is on a paid
post
/api/v1/tools/storefront_experiment_create
Creates a storefront experiment as a draft with its variants (exactly one control). A draft serves nothing to shoppers u
post
/api/v1/tools/storefront_experiment_pause
Pauses a running storefront experiment: shoppers stop seeing its variants and it returns to draft. Executes at once — it
post
/api/v1/tools/storefront_experiment_archive
Archives a storefront experiment (draft, running or completed): it stops serving and is filed away. Executes at once — i
post
/api/v1/tools/storefront_conductor_config_patch
Narrows the Storefront Conductor's settings and executes at once: a lower mode, auto_promote off, a skill removed, fewer
post
/api/v1/tools/seo_opportunity_set_status
Dismisses an open SEO finding (`dismissed`), or restores a dismissed one (`open`). A dismissed finding stays dismissed w
post
/api/v1/tools/geo_faq_set_status
Rejects, reopens or edits an FAQ proposal that is still in review (status proposed or rejected), for the store's AI-visi
post
/api/v1/tools/geo_monitor_prompt_set_status
Confirms, rejects, reopens or rewrites one AI-visibility monitor prompt: a question the weekly sweep asks AI engines abo
post
/api/v1/tools/geo_attribute_set_status
Rejects or reopens product-attribute proposals (material, colour, …) that are still in review (status proposed or reject
post
/api/v1/tools/integration_connect_start
Start connecting this store to an OAuth provider. Returns a Magistry link (connect_url) for the person to open, signed i
post
/api/v1/tools/social_destination_select
Choose the LinkedIn company page a LinkedIn connection posts as, or the Pinterest board new pins go to. account_id and i
post
/api/v1/tools/social_pages_connect
Connect Facebook Pages, and the Instagram accounts linked to them, from a Facebook consent the person completed through
post
/api/v1/tools/social_meta_pick_cancel
Connect none of the Facebook Pages an open Facebook consent discovered: the consent is closed and the Facebook session i
post
/api/v1/tools/webhook_create
Subscribe an https endpoint to this store’s events. event_types filters by type (`order.*` allowed; empty means every ty
post
/api/v1/tools/webhook_update
Change a webhook: its URL, description or event filter, or pause/resume it (active). A stopped webhook (stopped is set)
post
/api/v1/tools/webhook_delete
Stop a webhook for good: it receives nothing more and no longer counts toward the store’s 20. Its delivery history is ke
post
/api/v1/tools/webhook_test
Send one test event (`webhook.tested`) to this webhook only — no other subscription receives it. Queued now, sent within
post
/api/v1/tools/webhook_replay
Send one delivered or failed event again to the same endpoint, as a new attempt. Refused when the webhook is stopped, wh
post
/api/v1/tools/partner_source_upsert
Add a partner MCP server for this store's agents to consult (read-only facts, never actions), or change your own source
post
/api/v1/tools/partner_source_update
Change a partner tool source. Fewer allowed_tools, a lower timeout_ms or max_calls_per_day, or active false applies now.
post
/api/v1/tools/partner_source_delete
Remove a partner tool source: the agents stop consulting it now. Its call history is kept; to use it again, add it again
post
/api/v1/tools/competitor_watch_disable
Stop checking one watched competitor page (it stays listed and can be enabled again). Executes at once.
post
/api/v1/tools/competitor_watch_delete
Delete one watched competitor page and stop checking it. Executes at once.
post
/api/v1/tools/competitor_store_remove
Stop tracking one competitor store (the watchlist `id` the tracked-stores list returns). Executes at once.
post
/api/v1/tools/competitor_candidates_decide
Reject a discovered competitor, or restore one to `discovered`; either stops tracking it. Executes at once. Starting to
post
/api/v1/tools/competitor_link_decide
Confirm or reject up to 100 product ↔ competitor links. A rejection carries a reason_code (wrong_product, wrong_variant,
post
/api/v1/tools/competitor_config_patch
Lower the store’s competitor-intelligence settings, executed at once: tracking off, a lower max_tracked_*, daily instead
post
/api/v1/tools/market_insight_override
Act on a market insight, executed at once. kind dismiss (with insight_id) takes an active insight out of what the Brain
post
/api/v1/tools/market_primary_set
Set the store’s primary market (ISO 3166-1 alpha-2, for example nl), executed at once. Market intel scores signals and n
post
/api/v1/tools/cost_import_discard
Throw a pending or failed staged cost import away. No cost is touched. An applied import cannot be discarded.
post
/api/v1/tools/supplier_costs_find
Estimate supplier costs for variants that have none, by reverse-image search (paid, billed in credits). The lookup is qu
post
/api/v1/tools/supplier_costs_reject
Reject suggested (Tier B) supplier costs: the rows are marked superseded and never synced to Shopify.
post
/api/v1/tools/cost_sheet_sync_now
Run a connected Google Sheet's cost sync now — the job that otherwise runs hourly. In review mode changes are staged for
post
/api/v1/tools/cost_sheet_settings_patch
Change how a connected cost sheet is read: title, sku and cost columns, currency, overwrite policy, range. Only the keys
post
/api/v1/tools/disputes_sync
Read this store’s disputes from its payment processor into Magistry now: new disputes, status changes, deadlines and whe
post
/api/v1/tools/dispute_rebuttal_update
Replace the rebuttal text of a dispute’s evidence pack. Saved as a new evidence version marked as written by the merchan
post
/api/v1/tools/fraud_score_order
Score one order for fraud now with Magistry’s rules (velocity, address and identity signals) and store the score, replac
post
/api/v1/tools/tracking_switch_off
Turn this store’s server-side conversion tracking (`switch: tracking`) or its on-site Google tag (`switch: client_tag`)
post
/api/v1/tools/tracking_diagnostic_run
Run one tracking diagnostic now, executed at once. emq_doctor re-scores Meta event match quality and writes its suggesti
post
/api/v1/tools/tracking_emq_dismiss
Dismiss one Event Match Quality suggestion on this store by its alert id, executed at once. Not a permanent silence: the
post
/api/v1/tools/attribution_model_set
Set the attribution model this store reports by, executed at once. It changes which model the attribution and tracking p
post
/api/v1/tools/attribution_recompute
Rebuild this store’s journeys and recompute every attribution model now, in the background (a run takes under a minute);
post
/api/v1/tools/onboarding_profile_save
Save the signup profile of the credential’s own person, as /welcome does: first_name (required), last_name, date_of_birt
post
/api/v1/tools/onboarding_business_model_declare
Declare how this business earns, the /welcome confirm. Refused `not_open` while the question is switched off and `not_ap
post
/api/v1/tools/onboarding_checklist_update
One checklist action, as Setup offers it: dismiss, restart (clears dismissed and completed), complete, dismiss_welcome,
post
/api/v1/tools/onboarding_market_intel_wizard_save
Save market-intel wizard answers: goals, datapoints, max_tracked_competitors, freshness, seed_competitor_domains, step.
post
/api/v1/tools/onboarding_seo_wizard_save
Complete an SEO wizard step: records `step` as progress and writes nothing else. Finishing the wizard, which starts the
post
/api/v1/tools/onboarding_theme_wizard_save
Save theme wizard answers: confidence_floor, protected_paths, step. The mode and auto_apply are never set here. default_
post
/api/v1/tools/onboarding_seo_wizard_complete
Finish the SEO wizard, as its last step does: stamps it complete and starts the first Search Console pull (which needs S
post
/api/v1/tools/onboarding_theme_wizard_activate
Switch the theme agent on, as the theme wizard’s last step does: `dry_run` (it only observes and reports) or `approval_o
post
/api/v1/tools/tracking_meta_test_event_send
Send one Purchase into the Meta pixel’s Test Events tab and return Meta’s own answer (`events_received`), executed at on
post
/api/v1/tools/tracking_capi_connection_set
Connect a platform's server-side tracking (Conversions API), exactly as its form on Tracking → Connections does: Meta (p
post
/api/v1/tools/discovery_act
Act on one Discover finding, executed at once. verb save keeps it in Saved; snooze hides it for `days` (1 to 90); dismis
post
/api/v1/tools/discovery_undo
Take back one Discover act (a save, snooze or dismiss) of this store only, executed at once. Only the newest act on a fi
post
/api/v1/tools/catalog_bulk_edit
Prepares a bulk edit of the catalogue as a changeset: nothing on the store changes. Pass `rows` (each a `target` — one o
post
/api/v1/tools/catalog_bulk_revert
Prepares the undo of an applied changeset (or of some of its rows, by `row_ids`) as a new changeset: every field back to
post
/api/v1/tools/catalog_bulk_cancel
Cancels a changeset that has not started applying (compiling, compiled or proposed): `state: cancelled`. On a changeset
post
/api/v1/tools/catalog_copy_products
Prepares a copy of products from another store of the same workspace into this store. The products land as drafts, behin
post
/api/v1/tools/catalog_bulk_import_sheet
Prepares a product sheet import as a changeset: nothing on the store changes. Upload a Matrixify-format Products sheet (
post
/api/v1/tools/catalog_creatives_review
Reviews one Magistry product image (`image_id` + `decision`): approve (from candidate or declined, as an `additional` im
post
/api/v1/tools/catalog_offering_save
Creates or updates one offering in a catalogue this store keeps in Magistry (a product, plan tier or service nobody sync
post
/api/v1/tools/catalog_offering_tier_save
Creates or updates one price tier of an offering this store keeps in Magistry, keyed by the tier's `external_id`: price
post
/api/v1/tools/catalog_offering_archive
Archives an offering this store keeps in Magistry (`archived: true`) or restores it (`archived: false`). An archived off
post
/api/v1/tools/bol_change_refresh
Re-read from bol a change bol was still processing and return it with its state now. Settles a change a person already a
post
/api/v1/tools/research_candidates_reject
Rejects 1-100 research candidates with a reason code and an optional note (at most 280 characters). Answers per id: reje
post
/api/v1/tools/research_propagate_winner
Pushes a product with performance tier WINNER to other stores of this account as research candidates queued for onboardi
post
/api/v1/tools/feed_pause
Pauses this store's feed: no render or push runs until it is resumed, which is a separate write the merchant approves. T
post
/api/v1/tools/feed_upsert_channel
Creates or replaces a feed channel row. A channel is always created switched off; turning it on is a separate write the
post
/api/v1/tools/feed_render_channel
Renders one market's feed now (Magistry's own copy; nothing is sent to Merchant Center). Returns `operation`, whose stat
post
/api/v1/tools/feed_sync_markets
Re-reads the store's Shopify Markets into Magistry so the feed's markets match. Returns `operation`.
post
/api/v1/tools/feed_regenerate_labels
Recomputes the product cohort labels (winners, losers, new) the feed's custom labels carry. Returns `operation`.
post
/api/v1/tools/feed_run_shipping_discovery
Re-reads the store's shipping terms from its indexed policies and delivery profiles; nothing is sent to Google. Returns
post
/api/v1/tools/alert_ack
Acknowledge one of the store's alerts (alert_id), or every open unacknowledged one (all: true). The alert stays open wit
post
/api/v1/tools/alert_resolve
Resolve one of the store's alerts: it leaves the Open view, is acknowledged if nobody had, and any snooze is cleared. If
post
/api/v1/tools/alert_snooze
Hide one of the store's open alerts until a time (until, ISO 8601, between 5 minutes and 30 days ahead) or for a preset
post
/api/v1/tools/reputation_monitoring_set
Switches reputation monitoring on or off for the store. On seeds the default sources (nothing is fetched until the next
post
/api/v1/tools/reputation_run_cycle
Runs one reputation monitoring cycle for the store now (otherwise it runs every six hours): polls the due sources, class
post
/api/v1/tools/reputation_source_upsert
Adds a source to watch, or updates one. Without `source_id`: adds (or refreshes) the source of `source_class` + `source_
post
/api/v1/tools/reputation_source_delete
Deletes a watched source. Mentions it already collected are kept.
post
/api/v1/tools/reputation_source_toggle
Switches one watched source on or off. An off source is not polled; its mentions are kept.
post
/api/v1/tools/reputation_mention_resolve
Marks a mention resolved: it was handled. It leaves the open feed; the mention is kept.
post
/api/v1/tools/reputation_mention_dismiss
Dismisses a mention: it needs nothing (noise, not about the store). It leaves the open feed; the mention is kept.
post
/api/v1/tools/reputation_mention_add
Records a mention by hand — something said about the store that no watched source picked up. It is classified like any o
post
/api/v1/tools/reputation_crisis_ack
Acknowledges a reputation crisis alert: seen, still open (it stays in the 24-hour banner until resolved).
post
/api/v1/tools/reputation_crisis_resolve
Resolves a reputation crisis alert: closed, and acknowledged if it was not.
post
/api/v1/tools/reputation_crisis_check
Runs the crisis check over the store's recent mentions now (otherwise it runs with each cycle). It runs in the backgroun
post
/api/v1/tools/reputation_response_regenerate
Writes a new draft for a proposed reputation response (AI credits) and returns it. The new draft replaces the stored one
post
/api/v1/tools/reputation_response_reject
Rejects a proposed reputation response: nothing is sent or posted, and the response is closed with the reason.
post
/api/v1/tools/shopinion_config_patch
Changes The Shopinion settings at once where the change narrows what goes out: pausing invitations, a trigger off, a lon
post
/api/v1/tools/shopinion_review_reject
Rejects a review on The Shopinion: it is not shown on the public page (taken down if it was published, and the page's ra
post
/api/v1/tools/shopinion_invitation_create
Creates a review link for one customer, valid for 30 days, for the merchant to hand over. It sends nothing: the result i
post
/api/v1/tools/shopinion_insights_refresh
Writes fresh AI insights over the store's reviews (themes, what customers praise and complain about), metered in credits
post
/api/v1/tools/shopinion_disconnect
Disconnects The Shopinion: invitations stop and reviews stop flowing into reputation monitoring. The public business pag
post
/api/v1/tools/return_create
Log a return or refund (order number required; product lines optional). Writes Magistry’s own record only; nothing is se
post
/api/v1/tools/return_update
Replace one return or refund record (send every field you want kept, as the single-record read returns it). Product line
post
/api/v1/tools/return_annotate
Set the merchant’s own tracking and/or notes on a Shopify return (`id` from the returns list with source `shopify_return
post
/api/v1/tools/return_set_refund_reason
Record why a Shopify refund happened (category and free text). Updates the log already annotating that refund, or create
post
/api/v1/tools/redress_case_reassess
Re-assemble a redress case’s evidence and re-run its readiness gate now, instead of at the next hourly sweep. Lodges not
post
/api/v1/tools/redress_case_identifiers_set
Record the reference id (and optional routing id) the platform shows beside the external-dispute link in Merchant Center
post
/api/v1/tools/redress_reference_propose
Magistry’s proposed reference id for the store’s Merchant Center decision, with where it came from. A guess for the merc
post
/api/v1/tools/redress_mandate_revoke
Revoke the store’s redress mandate, so Magistry may no longer contest a decision in the merchant’s name. Any caller with
post
/api/v1/tools/expense_create
Add 1 to 100 operating expenses to this store (rent, software, salaries…), as the Expenses page's Add expense does. Recu
post
/api/v1/tools/expense_update
Replace the fields of 1 to 100 expenses of this store (every field is sent, as the page's edit form does). `not_found` l
post
/api/v1/tools/expense_archive
Archive 1 to 500 expenses of this store: they stop counting from now on and their history stays. `not_found` lists ids t
post
/api/v1/tools/expense_category_create
Add an expense category to this store (name unique per store; kind fixed or variable). Executes at once.
post
/api/v1/tools/expense_transaction_add
Record one paid line against an expense of this store. Executes at once.
post
/api/v1/tools/expense_transaction_delete
Delete one paid line of this store (the expense itself stays). Executes at once.
post
/api/v1/tools/expense_invoice_parse
Read one invoice or receipt with text recognition: vendor, amount, currency, date and a suggested category. Upload the f
post
/api/v1/tools/expense_invoice_commit
Create the expense for one confirmed invoice, with its paid line on occurred_on, through the same commit the page and ev
post
/api/v1/tools/expense_pending_approve
Approve one forwarded invoice that is under review with the fields a person confirmed: creates the expense and its paid
post
/api/v1/tools/expense_pending_reject
Reject one forwarded invoice that is under review: no expense is created. Executes at once.
post
/api/v1/tools/expense_inbox_poll
Check the store's expense inbox for new forwarded invoices now instead of at the next scheduled poll. New ones are liste
post
/api/v1/tools/gmc_sync
Pulls Merchant Center's product statuses and item issues into Magistry now. Returns `operation`, whose state is the sync
post
/api/v1/tools/gmc_run_deep_audit
Starts a connected deep Merchant Center audit: the store's real identity and Merchant Center state graded against Google
post
/api/v1/tools/gmc_plan_remediation
Builds the remediation plan for the latest audit — what each fix would write, nothing applied. Returns `pending.orderId`
post
/api/v1/tools/gmc_reconcile_review
Records a Merchant Center review Google knows about and Magistry does not (one the merchant requested in Merchant Center
post
/api/v1/tools/gmc_record_review_attempt
Writes the review-attempts ledger: `own_request` records that the merchant pressed "request review" in Merchant Center t
post
/api/v1/tools/gmc_stop_recovery_run
Stops a recovery run before its next step (never mid-write). Returns the run's state.
post
/api/v1/tools/gmc_force_zz_scan
Re-scans the store for zz-alias (duplicate Shopify channel) offers now rather than at the daily scan, and answers when t
post
/api/v1/tools/request_code_rotate
Replaces this store's request code — the code another account must quote to send it a link request — with a new one, at
post
/api/v1/tools/brain_pause_all
Turn the kill switch on in every store this connection may change, so no autonomous job acts there. Takes effect immedia
post
/api/v1/tools/brain_mode_lower_all
Lower the Marketing Brain's mode to off, dry_run or approval_only in every store this connection may change where that i
post
/api/v1/tools/brand_kit_copy
Copy a store's brand kit (name, colours, fonts, voice, look, music mood, do and don't rules, logo requirement, disclaime
post
/api/v1/tools/backup_run
Take a backup of this store now: products, collections, pages, settings and the other sections Magistry can read. It run
post
/api/v1/tools/order_note_add
Add an internal note to an order — Magistry's own record, shown on the order page to the store's team. It is not sent to
post
/api/v1/tools/order_note_delete
Delete one internal note of an order (its `id` in the order's `notes`). Executes at once. A note that is not on this ord
post
/api/v1/tools/cm_events_track
Send customer events from your own backend (a lesson completed, a trial started), one or a batch of up to 500, for custo
post
/api/v1/tools/cm_customer_attributes_set
Set a customer's current attributes from your own backend (`progress_pct`, `plan`, `course`), for customer messaging flo
post
/api/v1/tools/cm_customer_consent_set
Record a customer's marketing consent as your system holds it: `granted` or `withdrawn`, when (`at`, default now) and wh
post
/api/v1/tools/cm_suppression_add
Stop customer messaging from mailing an address, as your system knows it (unsubscribed elsewhere, bounced, complained, o
post
/api/v1/tools/cm_suppression_remove
Clear a suppression this API added, so the address may be mailed again under that scope. One recorded any other way (the
post
/api/v1/events
Send customer events from your own backend (a lesson completed, a trial started), one or a batch of up to 500, for custo
put
/api/v1/customers/{external_id}/attributes
Set a customer's current attributes from your own backend (`progress_pct`, `plan`, `course`), for customer messaging flo
put
/api/v1/customers/{external_id}/consent
Record a customer's marketing consent as your system holds it: `granted` or `withdrawn`, when (`at`, default now) and wh
post
/api/v1/suppressions
Stop customer messaging from mailing an address, as your system knows it (unsubscribed elsewhere, bounced, complained, o
delete
/api/v1/suppressions
Clear a suppression this API added, so the address may be mailed again under that scope. One recorded any other way (the
post
/api/v1/provisioning/cancel
Stop a setup that is under way.
post
/api/v1/intent/release
Give up a field this app holds, leaving its current value in place.
post
/api/v1/intent/revert
Undo a declaration: put the field back to the value it had before this app wrote it.
post
/api/v1/approvals
Ask the merchant to approve something this app is about to do.
post
/api/v1/approvals/withdraw
Withdraw a pending request this app no longer needs.
post
/api/v1/policies
Add a rule that refuses or limits what may be written to the store.
post
/api/v1/policies/update
Change a rule this credential wrote.
post
/api/v1/policies/delete
Delete a rule this credential wrote.
post
/api/v1/finance/entities/profile
Set the entity's profile: legal name, trade names, founded and ceased dates, fiscal year start and base currency.
post
/api/v1/finance/entities/books-period
Set the base currency and regular fiscal year start, and optionally create the first fiscal year.
post
/api/v1/finance/registrations/add
Add a registration number (KvK, RSIN, VAT, OSS, IOSS, EORI, payroll tax, KOR) from a date; a VAT or OSS number is checke
post
/api/v1/finance/registrations/verify
Check a VAT or OSS registration with VIES again and store the answer.
post
/api/v1/finance/registrations/end
End a registration: the last day it applies.
post
/api/v1/finance/store-assignments/create
Attach a store to this entity from a date: its sales are booked here from then on.
post
/api/v1/finance/store-assignments/end
End a store's assignment: the last day the store sells for this entity.
post
/api/v1/finance/entity-links/create
Link this entity to another: proprietor of, shareholder of or partner in.
post
/api/v1/finance/entity-links/end
End a link between this entity and another: the last day it applies.
post
/api/v1/finance/cash-floor/set
Set or clear the cash floor the forecast is measured against
post
/api/v1/finance/sales-settings/set
Change the seller details and accounts printed on and booked by sales invoices
post
/api/v1/finance/sales-settings/series/save
Create or change an invoice number series
post
/api/v1/finance/mail-in/rotate
Make a new mail-in address for documents, revoking the previous one
post
/api/v1/finance/mail-in/revoke
Revoke the mail-in address
post
/api/v1/finance/mail-in/senders/set
Allow or disallow a sender of mail-in documents
post
/api/v1/finance/contacts/save
Create or change a customer
post
/api/v1/finance/contacts/vat-check
Check a customer's VAT number with VIES and stamp the answer
post
/api/v1/finance/accounts/init-chart
Set up the chart of accounts from the entity's template.
post
/api/v1/finance/accounts/create
Add one account to the chart of accounts.
post
/api/v1/finance/accounts/update
Change an account's names, reference code, subtype, parent or active state.
post
/api/v1/finance/accounts/reference-codes
Give accounts their RGS reference codes, all or none.
post
/api/v1/finance/bank-accounts/create
Add a bank account, with an optional opening balance.
post
/api/v1/finance/bank-accounts/update
Rename, re-classify, set bank details, give an IBAN once, or (de)activate a bank account.
post
/api/v1/finance/tax/oss/stores/ships-from
Set the country a store's goods leave from, from a date (OSS place of supply).
post
/api/v1/finance/tax/oss/stores/rate-category
Set whether every product a store sells is at the standard VAT rate, from a date.
post
/api/v1/finance/tax/oss/stores/supply-kind
Set whether a store supplies goods or which kind of service, from a date.
post
/api/v1/finance/tax/oss/facts/record
Record the seller's own word on the EUR 10 000 OSS threshold, or the destination-taxation option.
post
/api/v1/finance/tax/codes/define
Define one of an entity's own tax codes (entities on the multi-country pack).
post
/api/v1/finance/tax/codes/retire
Retire one of an entity's own tax codes from a date.
post
/api/v1/finance/tax/vpb-position/save
Save the inputs of a fiscal year's corporate income tax (Vpb) estimate.
post
/api/v1/finance/intercompany/pairs/ensure
Make two entities an intercompany pair.
post
/api/v1/finance/webhook-deliveries/replay
Send one entity webhook event again
post
/api/v1/finance/warehouse-destinations/save
Name the bucket the BI feed is delivered to, with its credential
post
/api/v1/finance/warehouse-destinations/remove
Stop the warehouse export
post
/api/v1/finance/warehouse-destinations/full-snapshot
Ask for a full snapshot on the next warehouse delivery
post
/api/v1/finance/connections/manage
Connect, read and disconnect the books' bank feed (Enable Banking, Wise), Stripe payouts and bookkeeping packages
post
/api/v1/finance/periods/close
Close one accounting period of an entity.
post
/api/v1/finance/periods/checklist-item
Mark a close-checklist item of an open period done, open, or waived with a reason.
post
/api/v1/finance/projects/save
Create a project, or change one
post
/api/v1/finance/projects/store-links/create
Link a store to a project from a day
post
/api/v1/finance/projects/store-links/end
End a project's store link on a day
post
/api/v1/finance/projects/entries/retag
Move a booked entry to another project (or to none)
post
/api/v1/finance/projects/hours/add
Log hours on this business
post
/api/v1/finance/projects/hours/withdraw
Withdraw a logged hours entry
post
/api/v1/finance/projects/hours/import
Import hours from Harvest or Simplicate for a range of days
post
/api/v1/finance/projects/billing/set
Set a project's billing terms
post
/api/v1/finance/projects/billing/invoice-draft
Draft one sales invoice for everything unbilled on a client
post
/api/v1/finance/projects/billing/wip-propose
Propose the month-end work-in-progress batch. Posts nothing.
post
/api/v1/finance/documents/write
Link, unlink, accept or reject a proposed match, archive or preview one document
post
/api/v1/finance/tax/amazon-vtr/import
Import an Amazon VAT Transactions Report (the CSV from Seller Central) as the entity's Amazon VAT facts. Books nothing.
post
/api/v1/finance/annual/fixed-assets
Register, change, dispose of or void a fixed asset, or propose a year's depreciation of one.
post
/api/v1/finance/review/rules/save
Save the rule a bank line suggests, and propose it on the open lines given
post
/api/v1/finance/classification/run
Start a classification run: rules first, then the model for the lines no rule covers
post
/api/v1/finance/switch-import/map-accounts
Map a staged import's accounts onto the chart
post
/api/v1/finance/switch-import/api-fetch/request
Queue a read of one fiscal year from a linked package
post
/api/v1/finance/switch-import/api-fetch/cancel
Stop a package read, or drop one not yet staged
post
/api/v1/finance/switch-import/api-fetch/stage
Stage a finished package read as a switch import
post
/api/v1/finance/settlements/prepare
Prepare the settlement cards
post
/api/v1/finance/settlements/channel
Switch a channel's settlements on from a day, or off
post
/api/v1/finance/settlements/account
Map a settlement role onto a chart account
post
/api/v1/finance/settlements/cogs-correct
Correct a cost-of-goods snapshot
post
/api/v1/finance/cash-book/till
Create or change a till
post
/api/v1/finance/cash-book/count
Record a day's cash count
post
/api/v1/finance/cost-shares/agreements/add
Agree a cost split with a partner on a project
post
/api/v1/finance/cost-shares/agreements/end
End a cost-split agreement
post
/api/v1/finance/cost-shares/posts/add
Add a shared cost to the register
post
/api/v1/finance/cost-shares/posts/void
Void a shared cost
post
/api/v1/finance/cost-shares/settlements/propose
Propose settling the balance with a partner
post
/api/v1/finance/bank-statements/import
Import a bank statement file (CAMT.053, MT940, CSV, XLSX), as a dry run unless told otherwise.
post
/api/v1/finance/bank-transactions/reconcile
Link a bank row to ledger lines, end a match, set a row aside or back, or accept a duplicate candidate.
post
/api/v1/finance/bank-checkpoints/add
Record a balance read off a statement or the bank's screen as a stated balance of a bank account.
post
/api/v1/finance/bank-checkpoints/void
Void a stated balance that was wrong, with the reason; it stays listed, marked void.
post
/api/v1/finance/consolidation/groups/create
Create a consolidation group with this entity as its parent.
post
/api/v1/finance/consolidation/members/add
Add an entity to one of this entity's consolidation groups, optionally with the investment that is eliminated.
post
/api/v1/finance/consolidation/members/remove
Remove an entity from one of this entity's consolidation groups.
post
/api/v1/finance/consolidation/eliminations/add
Link two balance-sheet accounts of two entities of a group that eliminate each other in the consolidation.
post
/api/v1/finance/consolidation/fx-revaluations/propose
Propose the period-end revaluation of the entity's foreign-currency balances at the closing rate.
post
/api/v1/finance/periods/review-notes/open
Open a review note on a period: a client query, an internal query or a review point
post
/api/v1/finance/periods/review-notes/move
Resolve, close, reopen or roll a review note forward
post
/api/v1/finance/periods/close-target
Set or clear the date a period is meant to be closed by
post
/api/v1/finance/client-requests/cadence
Choose how a client request reminds the client: gentle (with a due date), urgent, or none
post
/api/v1/finance/client-requests/links/create
Make a single-purpose upload link for a client request
post
/api/v1/finance/client-requests/links/revoke
Revoke every live upload link of a client request
post
/api/v1/finance/client-requests/check
Check a client's answer against what the request asked
post
/api/v1/finance/client-requests/return
Return a client's answer with a reason
post
/api/v1/finance/sales-invoices/draft
Create, save or discard a sales invoice draft, or start a credit note
post
/api/v1/finance/sales-invoices/einvoice
Generate and validate the e-invoice (UBL) of an issued invoice; never sends it
post
/api/v1/finance/sales-invoices/payments
Undo a payment match, or settle or reopen an imported invoice
post
/api/v1/finance/sales-invoices/reminders
Draft or discard a payment reminder; sending it is a person's
post
/api/v1/finance/sales-invoices/payment-match-proposals
Propose matching a bank row to issued sales invoices, for a person to accept; books nothing
propose_write
313
read
586
auto_write
Copy
Copy Markdown
Copy Markdown
Copying…
Copied
Copy failed
Changes to Send customer events from your own backend (a lesson completed, a trial started), one or a batch of up to 500, for custo
post
/api/v1/tools/cm_events_track
Dec 5, 2026
7dc0cc568fb7
Revision changes
info
endpoint added