{"id":445398,"date":"2026-11-15T01:26:26","date_gmt":"2026-11-15T00:26:26","guid":{"rendered":"https:\/\/www.kafinea.com\/documentation\/uncategorized\/rest-api-full-reference-openapi\/"},"modified":"2026-11-22T17:48:03","modified_gmt":"2026-11-22T16:48:03","password":"","slug":"rest-api-full-reference-openapi","status":"publish","type":"docs","link":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/","title":{"rendered":"REST API &#8211; Full Reference (OpenAPI)"},"content":{"rendered":"<p>All Kafinea API operations are described in a single reference: parameters, types,<br \/>\naccepted values, required permissions, and response examples. It is available in two formats, kept<br \/>\nup to date with every API update.<\/p>\n<hr\/>\n<h2>For developers: the interactive reference<\/h2>\n<p><strong><a href=\"https:\/\/www.kafinea.com\/fr\/reference-api\/\">Open the API reference<\/a><\/strong><\/p>\n<p>Operations are categorized by domain (records, queries, documents, accounting,<br \/>\nsettings, etc.), with a search function. Each operation displays:<\/p>\n<ul>\n<li>its HTTP method and its parameters, whether mandatory or optional;<\/li>\n<li>a ready-to-copy call example, in <code>curl<\/code> and in the main languages (PHP, Python,<br \/>\nJavaScript, Java, C#, etc.);<\/li>\n<li>a response example;<\/li>\n<li>the <strong>Administrator<\/strong> badge when it is restricted to instance administrators.<\/li>\n<\/ul>\n<p>Select your instance name in the <strong>Server<\/strong> field: the call examples will use it<br \/>\ndirectly.<\/p>\n<hr\/>\n<h2>For your tools and AI agents: the OpenAPI specification<\/h2>\n<p><strong>Stable specification address:<\/strong> <code>https:\/\/www.kafinea.com\/fr\/api\/openapi.json<\/code><\/p>\n<p>This file follows the <strong>OpenAPI 3.1<\/strong> standard, supported by most tools on the market:<\/p>\n<ul>\n<li><strong>client generators<\/strong>: produce a typed client library in your language;<\/li>\n<li><strong>HTTP clients and testing tools<\/strong>: import the file to get a ready-to-use<br \/>\nrequest collection;<\/li>\n<li><strong>AI agents<\/strong>: provide this address to your agent, where it will find every operation, its parameters<br \/>\nand their rules.<\/li>\n<\/ul>\n<p>The address does not change: it always points to the latest published version.<\/p>\n<hr>\n<h2>Reading the specification<\/h2>\n<p>The API uses a single entry point, <code>webservice.php<\/code>. Each operation is described with a<br \/>\npath in the form <code>\/webservice.php?operation=&lt;nom&gt;<\/code>, which is also the actual URL called.<\/p>\n<div style=\"overflow-x:auto\">\n<table>\n<thead>\n<tr>\n<th>Element<\/th>\n<th>Where to find it in the specification<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Session<\/td>\n<td>The security schema <code>session<\/code>: parameter <code>sessionName<\/code>, obtained with <code>login<\/code><\/td>\n<\/tr>\n<tr>\n<td>GET operation parameters<\/td>\n<td>In the URL (<code>in: query<\/code>)<\/td>\n<\/tr>\n<tr>\n<td>POST operation parameters<\/td>\n<td>In the form body (<code>application\/x-www-form-urlencoded<\/code>)<\/td>\n<\/tr>\n<tr>\n<td>Object or list type parameter<\/td>\n<td>Sent as JSON text (<code>contentMediaType: application\/json<\/code>); its structure is in <code>contentSchema<\/code><\/td>\n<\/tr>\n<tr>\n<td>Restricted to administrators<\/td>\n<td>Extension <code>x-kafinea-access: admin<\/code><\/td>\n<\/tr>\n<tr>\n<td>Read or write operation<\/td>\n<td>Extension <code>x-kafinea-scope<\/code>: <code>read<\/code>, <code>write<\/code> or <code>configure<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Module fields depend on the configuration of each instance (custom fields, enabled<br \/>\nfields): the specification describes the operations, and <code>describe<\/code> returns the exact fields for your<br \/>\ninstance.<\/p>\n<hr>\n<h2>Related references \ud83d\udd17<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-introduction\/\">Introduction to the API<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-authentication\/\">Authentication<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-requests-and-querying\/\">Queries and data retrieval<\/a><\/li>\n<li><a href=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-bulk-import-upsert\/\">Bulk import (upsert)<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>All Kafinea API operations are described in a single reference: parameters, types, accepted values, required permissions, and response examples. It is available in two formats, kept up to date with every API update. For developers: the interactive reference Open the API reference Operations are categorized by domain (records, queries, documents, accounting, settings, etc.), with a&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"","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-445398","docs","type-docs","status-publish","hentry","doc_category-api"],"year_month":"2026-11","word_count":348,"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 - Full Reference (OpenAPI) &#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-full-reference-openapi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Help - REST API - Full Reference (OpenAPI) &#8226; Kafinea\" \/>\n<meta property=\"og:description\" content=\"All Kafinea API operations are described in a single reference: parameters, types, accepted values, required permissions, and response examples. It is available in two formats, kept up to date with every API update. For developers: the interactive reference Open the API reference Operations are categorized by domain (records, queries, documents, accounting, settings, etc.), with a...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/\" \/>\n<meta property=\"og:site_name\" content=\"Kafinea\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-22T16:48:03+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=\"2 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-full-reference-openapi\\\/\",\"url\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-full-reference-openapi\\\/\",\"name\":\"Help - REST API - Full Reference (OpenAPI) &#8226; Kafinea\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/#website\"},\"datePublished\":\"2026-11-15T00:26:26+00:00\",\"dateModified\":\"2026-11-22T16:48:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-full-reference-openapi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-full-reference-openapi\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/help\\\/api\\\/rest-api-full-reference-openapi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.kafinea.com\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REST API &#8211; Full Reference (OpenAPI)\"}]},{\"@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 - Full Reference (OpenAPI) &#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-full-reference-openapi\/","og_locale":"en_US","og_type":"article","og_title":"Help - REST API - Full Reference (OpenAPI) &#8226; Kafinea","og_description":"All Kafinea API operations are described in a single reference: parameters, types, accepted values, required permissions, and response examples. It is available in two formats, kept up to date with every API update. For developers: the interactive reference Open the API reference Operations are categorized by domain (records, queries, documents, accounting, settings, etc.), with a...","og_url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/","og_site_name":"Kafinea","article_modified_time":"2026-11-22T16:48:03+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/","url":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/","name":"Help - REST API - Full Reference (OpenAPI) &#8226; Kafinea","isPartOf":{"@id":"https:\/\/www.kafinea.com\/en\/#website"},"datePublished":"2026-11-15T00:26:26+00:00","dateModified":"2026-11-22T16:48:03+00:00","breadcrumb":{"@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kafinea.com\/en\/help\/api\/rest-api-full-reference-openapi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.kafinea.com\/en\/"},{"@type":"ListItem","position":2,"name":"REST API &#8211; Full Reference (OpenAPI)"}]},{"@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":"All Kafinea API operations are described in a single reference: parameters, types, accepted values, required permissions, and response examples. It is available in two formats, kept up to date with every API update. For developers: the interactive reference Open the API reference Operations are categorized by domain (records, queries, documents, accounting, settings, etc.), with a...","_links":{"self":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445398","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=445398"}],"version-history":[{"count":0,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/docs\/445398\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/media?parent=445398"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_category?post=445398"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.kafinea.com\/en\/wp-json\/wp\/v2\/doc_tag?post=445398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}