{"id":445400,"date":"2026-10-29T16:27:37","date_gmt":"2026-10-29T15:27:37","guid":{"rendered":"https:\/\/www.kafinea.com\/documentation\/uncategorized\/rest-api-approvals\/"},"modified":"2026-11-22T17:48:25","modified_gmt":"2026-11-22T16:48:25","password":"","slug":"rest-api-approvals","status":"publish","type":"docs","link":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/","title":{"rendered":"REST API \u2013 Approvals"},"content":{"rendered":"<p>The API covers the entire <a href=\"https:\/\/www.kafinea.com\/fr\/documentation\/automatisation\/les-approbations\/\">approval<\/a> cycle: configuring a module&#8217;s workflow, requesting approval for a record, responding to steps, and tracking requests. The controls match those of the screens: whatever a screen rejects, the API rejects with the same reason. The same operations are available to the Kafinea AI assistant and to assistants <a href=\"https:\/\/www.kafinea.com\/en\/help\/artificial-intelligence\/connect-chatgpt-claude-or-gemini-to-kafinea-mcp\/\">connected to Kafinea<\/a>.<\/p>\n<p>All operations use the <a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-introduction\/\">REST API<\/a> session. Identifiers are those of the API (<code>89x47808<\/code>); a simple number is also accepted.<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Operation<\/th>\n<th>Method<\/th>\n<th>Who<\/th>\n<th>Effect<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>approval_circuit_read<\/code><\/td>\n<td>GET<\/td>\n<td>administrator<\/td>\n<td>Workflows, or a module&#8217;s workflow with its templates and expected format<\/td>\n<\/tr>\n<tr>\n<td><code>approval_circuit_configure<\/code><\/td>\n<td>POST<\/td>\n<td>administrator<\/td>\n<td>Check, save, enable, disable, or delete a workflow<\/td>\n<\/tr>\n<tr>\n<td><code>approval_circuit_simulate<\/code><\/td>\n<td>GET<\/td>\n<td>administrator<\/td>\n<td>What a workflow would require for 1 to 20 records, without saving anything<\/td>\n<\/tr>\n<tr>\n<td><code>approval_inbox<\/code><\/td>\n<td>GET<\/td>\n<td>everyone<\/td>\n<td>Items awaiting their response, their requests, and requests from others they are authorized to view<\/td>\n<\/tr>\n<tr>\n<td><code>approval_request_read<\/code><\/td>\n<td>GET<\/td>\n<td>everyone<\/td>\n<td>The approval of a record, as shown in its panel<\/td>\n<\/tr>\n<tr>\n<td><code>approval_request<\/code><\/td>\n<td>POST<\/td>\n<td>everyone<\/td>\n<td>Request approval for a record they can modify<\/td>\n<\/tr>\n<tr>\n<td><code>approval_answer<\/code><\/td>\n<td>POST<\/td>\n<td>the approver<\/td>\n<td>Their own response to a step assigned to them<\/td>\n<\/tr>\n<tr>\n<td><code>approval_cancel<\/code><\/td>\n<td>POST<\/td>\n<td>requester or administrator<\/td>\n<td>Cancel a pending request<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Request and response operations are available when the <strong>Approvals<\/strong> feature is active.<\/p>\n<hr>\n<h2>1. Configuring a workflow<\/h2>\n<p><code>approval_circuit_read<\/code> without parameters lists the workflows and modules that can receive one. With <code>moduleName<\/code>, it returns the module&#8217;s workflow (<code>circuit<\/code>, with its <code>revision<\/code>), the starting templates (<code>templates<\/code>), and the format of a workflow (<code>contract<\/code>).<\/p>\n<pre><code class=\"language-bash\">curl -G 'https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php' \\\n  --data-urlencode 'operation=approval_circuit_read' \\\n  --data-urlencode 'sessionName=YOUR_SESSION_ID' \\\n  --data-urlencode 'moduleName=Quotes'\n<\/code><\/pre>\n<p>A workflow is described in its entirety:<\/p>\n<pre><code class=\"language-json\">{\n  \"label\": \"Devis au-del\u00e0 de 5 000 \u20ac HT\",\n  \"active\": true,\n  \"condition\": [{\"fieldname\": \"pre_tax_total\", \"operation\": \"greater than\", \"value\": \"5000\", \"groupid\": \"0\"}],\n  \"finalizeOnApproval\": true,\n  \"steps\": [{\n    \"label\": \"Responsable commercial\",\n    \"condition\": [],\n    \"approver\": {\"mode\": \"manager\", \"managerOf\": \"requester\"},\n    \"dueDays\": 2,\n    \"summaryTemplate\": \"Devis $subject : $pre_tax_total \u20ac HT\"\n  }]\n}\n<\/code><\/pre>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Element<\/th>\n<th>Content<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>condition<\/code><\/td>\n<td>Records that must be approved, in the workflow condition format; <code>[]<\/code> for all. <code>groupid<\/code> <code>0<\/code>: all these criteria; <code>1<\/code>: at least one of them<\/td>\n<\/tr>\n<tr>\n<td><code>steps[].approver<\/code><\/td>\n<td><code>fixed<\/code> with <code>ownerId<\/code> (a user or a group), <code>manager<\/code> with <code>managerOf<\/code> (<code>requester<\/code> or <code>owner<\/code>), or <code>field<\/code> with <code>expression<\/code> (for example <code>assigned_user_id<\/code>)<\/td>\n<\/tr>\n<tr>\n<td><code>steps[].condition<\/code><\/td>\n<td>Optional: a step whose condition is not met is skipped<\/td>\n<\/tr>\n<tr>\n<td><code>steps[].stepId<\/code><\/td>\n<td>To be returned as read: requests already made continue to name their step<\/td>\n<\/tr>\n<tr>\n<td><code>watchedFields<\/code><\/td>\n<td>Fields whose modification after approval makes it void, in addition to those read by conditions (always monitored); <code>watchedLabels<\/code> lists them all, with their labels<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><code>approval_circuit_configure<\/code> receives <code>moduleName<\/code>, <code>action<\/code> and, depending on the action, <code>definition<\/code> (the workflow in JSON) and <code>revision<\/code>:<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th><code>action<\/code><\/th>\n<th>Effect<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>validate<\/code><\/td>\n<td>Checks <code>definition<\/code> without saving anything and returns <code>valid<\/code> and the <code>problems<\/code> list (each with <code>path<\/code>, <code>code<\/code> and <code>message<\/code>)<\/td>\n<\/tr>\n<tr>\n<td><code>save<\/code><\/td>\n<td>Saves <code>definition<\/code> in full; <code>revision<\/code> is the one read, <code>0<\/code> to create the workflow for a module that does not have one<\/td>\n<\/tr>\n<tr>\n<td><code>activate<\/code>, <code>deactivate<\/code><\/td>\n<td>Enables or disables the workflow of the <code>revision<\/code> read<\/td>\n<\/tr>\n<tr>\n<td><code>delete<\/code><\/td>\n<td>Deletes the workflow; requests already made remain<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<pre><code class=\"language-bash\">curl -X POST 'https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php' \\\n  --data-urlencode 'operation=approval_circuit_configure' \\\n  --data-urlencode 'sessionName=YOUR_SESSION_ID' \\\n  --data-urlencode 'moduleName=Quotes' \\\n  --data-urlencode 'action=save' \\\n  --data-urlencode 'revision=3' \\\n  --data-urlencode 'definition={\"label\":\"Devis au-del\u00e0 de 5 000 \u20ac HT\",\"active\":true,\u2026}'\n<\/code><\/pre>\n<p>An active workflow must be capable of being approved: each step has a valid approver. An inactive workflow can remain as a draft.<\/p>\n<p>Before enabling, <code>approval_circuit_simulate<\/code> shows, for saved records (<code>recordIds<\/code>, a JSON list) and a requester (<code>requesterId<\/code>, the connected user by default), if the workflow condition is met and who would be solicited at each step, or why no one could respond (<code>error<\/code>). Pass <code>definition<\/code> to test a workflow before saving it. Nothing is saved or sent.<\/p>\n<hr>\n<h2>2. Requesting, responding, tracking<\/h2>\n<p><code>approval_inbox<\/code> returns, depending on <code>box<\/code>: <code>toAnswer<\/code> (steps awaiting the user&#8217;s response, directly or through one of their groups), <code>requested<\/code> (their requests), or <code>others<\/code> (other pending requests they are authorized to view). Without <code>box<\/code>, all three. Each step to be processed carries its <code>lineId<\/code>.<\/p>\n<p><code>approval_request_read<\/code> with <code>recordId<\/code> returns the record&#8217;s current request, its steps (approver, response, reason, <code>canAnswer<\/code> for the one the user can respond to) and <code>wouldAsk<\/code>: what a new request would solicit.<\/p>\n<p><code>approval_request<\/code> with <code>recordId<\/code> requests approval on behalf of the connected user. It is rejected when nothing requires approval or when a request is already pending.<\/p>\n<p><code>approval_answer<\/code> receives <code>lineId<\/code>, <code>answer<\/code> (<code>approve<\/code>, <code>refuse<\/code> or <code>changes<\/code>) and <code>reason<\/code>, mandatory for rejecting or requesting modifications:<\/p>\n<pre><code class=\"language-bash\">curl -X POST 'https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php' \\\n  --data-urlencode 'operation=approval_answer' \\\n  --data-urlencode 'sessionName=YOUR_SESSION_ID' \\\n  --data-urlencode 'lineId=194x48180' \\\n  --data-urlencode 'answer=approve'\n<\/code><\/pre>\n<p>The response is always that of the connected user: no parameter designates another user. It is rejected when the step is not assigned to this user or to one of their groups (including administrators), when it is their own request, or when another member of the group has already responded.<\/p>\n<p><code>approval_cancel<\/code> with <code>approvalId<\/code> cancels a pending request: by its requester or an administrator.<\/p>\n<hr>\n<h2>3. Record approval status<\/h2>\n<p>Each record of a module that has a workflow carries the read-only field <code>mdsapprovalstatus<\/code>: empty as long as no approval has been requested, then <code>APPROVAL_STATUS_PENDING<\/code>, <code>APPROVAL_STATUS_APPROVED<\/code>, <code>APPROVAL_STATUS_REFUSED<\/code>, <code>APPROVAL_STATUS_CHANGES_REQUESTED<\/code>, <code>APPROVAL_STATUS_CANCELLED<\/code> or <code>APPROVAL_STATUS_OBSOLETE<\/code> (void approval). It is read like any field, with <code>retrieve<\/code> or <code>query<\/code>:<\/p>\n<pre><code class=\"language-bash\">curl -G 'https:\/\/apps.kafinea.com\/YourKafinea\/webservice.php' \\\n  --data-urlencode 'operation=query' \\\n  --data-urlencode 'sessionName=YOUR_SESSION_ID' \\\n  --data-urlencode \"query=SELECT potentialname, amount FROM Potentials WHERE mdsapprovalstatus = 'APPROVAL_STATUS_APPROVED';\"\n<\/code><\/pre>\n<p>Only approvals write to it. An approval becomes void when a monitored field of the record subsequently changes; the request then keeps the reason in its description.<\/p>\n<hr>\n<h2>4. Rejections<\/h2>\n<p>A rejection starts with its code, followed by the readable reason:<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Code<\/th>\n<th>Meaning<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>APPROVAL_CIRCUIT_INVALID<\/code><\/td>\n<td>The workflow is not valid; each problem follows, one line per problem, with its path and code<\/td>\n<\/tr>\n<tr>\n<td><code>APPROVAL_CIRCUIT_REVISION_CHANGED<\/code><\/td>\n<td>The workflow has changed since it was read: re-read it, then perform the modification again<\/td>\n<\/tr>\n<tr>\n<td><code>APPROVAL_CIRCUIT_NOT_FOUND<\/code>, <code>APPROVAL_CIRCUIT_EXISTS<\/code><\/td>\n<td>The module has no workflow, or already has one<\/td>\n<\/tr>\n<tr>\n<td><code>APPROVAL_REFUSED<\/code><\/td>\n<td>The request, response, or cancellation is not permitted; the reason is the one displayed on the screen<\/td>\n<\/tr>\n<tr>\n<td><code>APPROVAL_FEATURE_DISABLED<\/code><\/td>\n<td>The <strong>Approvals<\/strong> feature is not active<\/td>\n<\/tr>\n<tr>\n<td><code>ACCESS_DENIED<\/code><\/td>\n<td>The operation is restricted to administrators<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The API covers the entire approval cycle: configuring a module&#8217;s workflow, requesting approval for a record, responding to steps, and tracking requests. The controls match those of the screens: whatever a screen rejects, the API rejects with the same reason. The same operations are available to the Kafinea AI assistant and to assistants connected to&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"doc_category":[759],"doc_tag":[],"class_list":["post-445400","docs","type-docs","status-publish","hentry","doc_category-api"],"year_month":"2026-11","word_count":1044,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"David Valminos","author_nicename":"david","author_url":"https:\/\/www.kafinea.com\/en\/author\/david\/"},"doc_category_info":[{"term_name":"API","term_url":"https:\/\/www.kafinea.com\/en\/help\/api\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Help - REST API \u2013 Approvals &#8226; Kafinea<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Help - REST API \u2013 Approvals &#8226; Kafinea\" \/>\n<meta property=\"og:description\" content=\"The API covers the entire approval cycle: configuring a module&#8217;s workflow, requesting approval for a record, responding to steps, and tracking requests. The controls match those of the screens: whatever a screen rejects, the API rejects with the same reason. The same operations are available to the Kafinea AI assistant and to assistants connected to...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/\" \/>\n<meta property=\"og:site_name\" content=\"Kafinea\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-22T16:48:25+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-approvals\\\/\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-approvals\\\/\",\"name\":\"Help - REST API \u2013 Approvals &#8226; Kafinea\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#website\"},\"datePublished\":\"2026-10-29T15:27:37+00:00\",\"dateModified\":\"2026-11-22T16:48:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-approvals\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-approvals\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-approvals\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST API \u2013 Approvals\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\",\"name\":\"Kafinea\",\"description\":\"Une solution unique pour toutes vos ambitions\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#organization\",\"name\":\"Kafinea\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Logo-Kafinea-SVG-orange-bleu.svg\",\"contentUrl\":\"https:\\\/\\\/www.kafinea.com\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/Logo-Kafinea-SVG-orange-bleu.svg\",\"width\":296.31,\"height\":66.48,\"caption\":\"Kafinea\"},\"image\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/kafinea\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Help - REST API \u2013 Approvals &#8226; Kafinea","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/","og_locale":"en_US","og_type":"article","og_title":"Help - REST API \u2013 Approvals &#8226; Kafinea","og_description":"The API covers the entire approval cycle: configuring a module&#8217;s workflow, requesting approval for a record, responding to steps, and tracking requests. The controls match those of the screens: whatever a screen rejects, the API rejects with the same reason. The same operations are available to the Kafinea AI assistant and to assistants connected to...","og_url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/","og_site_name":"Kafinea","article_modified_time":"2026-11-22T16:48:25+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/","url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/","name":"Help - REST API \u2013 Approvals &#8226; Kafinea","isPartOf":{"@id":"https:\/\/www.kafinea.com\/en\/#website"},"datePublished":"2026-10-29T15:27:37+00:00","dateModified":"2026-11-22T16:48:25+00:00","breadcrumb":{"@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-approvals\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.kafinea.com\/en\/"},{"@type":"ListItem","position":2,"name":"REST API \u2013 Approvals"}]},{"@type":"WebSite","@id":"https:\/\/www.kafinea.com\/en\/#website","url":"https:\/\/www.kafinea.com\/en\/","name":"Kafinea","description":"Une solution unique pour toutes vos ambitions","publisher":{"@id":"https:\/\/www.kafinea.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kafinea.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.kafinea.com\/en\/#organization","name":"Kafinea","url":"https:\/\/www.kafinea.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.kafinea.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.kafinea.com\/wp-content\/uploads\/2024\/10\/Logo-Kafinea-SVG-orange-bleu.svg","contentUrl":"https:\/\/www.kafinea.com\/wp-content\/uploads\/2024\/10\/Logo-Kafinea-SVG-orange-bleu.svg","width":296.31,"height":66.48,"caption":"Kafinea"},"image":{"@id":"https:\/\/www.kafinea.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/kafinea\/"]}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"David Valminos","author_link":"https:\/\/www.kafinea.com\/en\/author\/david\/"},"uagb_comment_info":0,"uagb_excerpt":"The API covers the entire approval cycle: configuring a module&#8217;s workflow, requesting approval for a record, responding to steps, and tracking requests. The controls match those of the screens: whatever a screen rejects, the API rejects with the same reason. The same operations are available to the Kafinea AI assistant and to assistants connected to...","_links":{"self":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/comments?post=445400"}],"version-history":[{"count":0,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445400\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/media?parent=445400"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_category?post=445400"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_tag?post=445400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}