{"id":23141,"date":"2025-07-18T14:09:57","date_gmt":"2025-07-18T14:09:57","guid":{"rendered":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/"},"modified":"2025-09-01T19:22:20","modified_gmt":"2025-09-01T19:22:20","slug":"post-project-statuses","status":"publish","type":"docs","link":"https:\/\/leanmote.com\/es\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/","title":{"rendered":"[POST] project statuses"},"content":{"rendered":"<h4 class=\"wp-block-heading\">POST \/api\/v1\/projects\/{project_id}\/statuses<\/h4>\n\n\n\n<p>Creates or updates statuses for a specific project.<\/p>\n\n\n\n<p><strong>URL Parameter:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>project_id<\/code> (integer): ID of the project in Leanmote (not project_app_id)<\/li>\n<\/ul>\n\n\n\n<p><strong>Required Body Parameters:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>statuses<\/code> (array): each object contains:\n<ul class=\"wp-block-list\">\n<li><code>status_index<\/code> (string): unique ID from the external tool<\/li>\n\n\n\n<li><code>status_name<\/code> (string)<\/li>\n\n\n\n<li><code>status_order<\/code> (integer): logical position in the board<\/li>\n\n\n\n<li><code>status_kind<\/code> (integer): 0=backlog, 1=active, 2=paused, 3=done<\/li>\n\n\n\n<li><code>inception<\/code> (integer): 0 or 1 (start point indicator)<\/li>\n\n\n\n<li><code>delivery<\/code> (integer): 0 or 1 (end point indicator)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Example Request:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"statuses\": &#91;\n    {\n      \"status_index\": \"1abc\",\n      \"status_name\": \"Backlog\",\n      \"status_order\": 1,\n      \"status_kind\": 0,\n      \"inception\": 0,\n      \"delivery\": 0\n    },\n    {\n      \"status_index\": \"2abc\",\n      \"status_name\": \"In Progress\",\n      \"status_order\": 2,\n      \"status_kind\": 1,\n      \"inception\": 1,\n      \"delivery\": 0\n    },\n    {\n      \"status_index\": \"4abc\",\n      \"status_name\": \"Done\",\n      \"status_order\": 4,\n      \"status_kind\": 3,\n      \"inception\": 0,\n      \"delivery\": 1\n    }\n  ]\n}<\/code><\/pre>\n\n\n\n<p><strong>Example Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"status\": \"success\",\n  \"message\": \"Statuses processed successfully\",\n  \"data\": {\n    \"project_id\": 1,\n    \"processed_statuses\": &#91;\n      {\n        \"status_index\": \"1abc\",\n        \"action\": \"created\",\n        \"status_id\": 789\n      },\n      {\n        \"status_index\": \"2abc\",\n        \"action\": \"updated\"\n      }\n    ]\n  }\n}<\/code><\/pre>\n\n\n\n<p><strong>Validations:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 Project must exist<\/li>\n\n\n\n<li>\u2705 Project must belong to an organization in the token scope<\/li>\n\n\n\n<li>\u2705 <code>status_kind<\/code> must be one of: 0, 1, 2, 3<\/li>\n\n\n\n<li>\u2705 <code>inception<\/code> and <code>delivery<\/code> must be 0 or 1<\/li>\n\n\n\n<li>\u2705 All required fields must be present<\/li>\n<\/ul>\n\n\n\n<p><strong>Error Codes:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>400: Invalid input<\/li>\n\n\n\n<li>401: Invalid or missing token<\/li>\n\n\n\n<li>403: Organization out of scope<\/li>\n\n\n\n<li>404: Project not found<\/li>\n\n\n\n<li>500: Internal server error<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>POST \/api\/v1\/projects\/{project_id}\/statuses Creates or updates statuses for a specific project. URL Parameter: Required Body Parameters: Example Request: Example Response: Validations: Error Codes:<\/p>","protected":false},"author":3,"featured_media":0,"parent":23129,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-23141","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[POST] project statuses - Leanmote<\/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:\/\/leanmote.com\/es\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[POST] project statuses - Leanmote\" \/>\n<meta property=\"og:description\" content=\"POST \/api\/v1\/projects\/{project_id}\/statuses Creates or updates statuses for a specific project. URL Parameter: Required Body Parameters: Example Request: Example Response: Validations: Error Codes:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/leanmote.com\/es\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/\" \/>\n<meta property=\"og:site_name\" content=\"Leanmote\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leanmote.au\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-01T19:22:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/leanmote.com\/wp-content\/uploads\/2021\/11\/leanmote-share.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Leanmote1\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/post-project-statuses\\\/\",\"url\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/post-project-statuses\\\/\",\"name\":\"[POST] project statuses - Leanmote\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/leanmote.com\\\/#website\"},\"datePublished\":\"2025-07-18T14:09:57+00:00\",\"dateModified\":\"2025-09-01T19:22:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/post-project-statuses\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/post-project-statuses\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/post-project-statuses\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leanmote.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Administration\",\"item\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"REST API\",\"item\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Projects\",\"item\":\"https:\\\/\\\/leanmote.com\\\/docs\\\/set-up\\\/rest-api\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"[POST] project statuses\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/leanmote.com\\\/#website\",\"url\":\"https:\\\/\\\/leanmote.com\\\/\",\"name\":\"Leanmote\",\"description\":\"Faster Projects, Leaner Teams, Lower Costs. Leanmote optimizes workflows, costs, and guides your teams - enabling leaders to actively manage performance and hit strategic goals.\",\"publisher\":{\"@id\":\"https:\\\/\\\/leanmote.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/leanmote.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/leanmote.com\\\/#organization\",\"name\":\"Leanmote\",\"url\":\"https:\\\/\\\/leanmote.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/leanmote.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/leanmote.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/leanmote-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/leanmote.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/leanmote-logo.jpg\",\"width\":625,\"height\":175,\"caption\":\"Leanmote\"},\"image\":{\"@id\":\"https:\\\/\\\/leanmote.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leanmote.au\",\"https:\\\/\\\/x.com\\\/Leanmote1\",\"https:\\\/\\\/www.instagram.com\\\/leanmote.au\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/leanmote\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCIvphN0fePUw1F4c32OXjdg\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[POST] project statuses - Leanmote","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:\/\/leanmote.com\/es\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/","og_locale":"es_ES","og_type":"article","og_title":"[POST] project statuses - Leanmote","og_description":"POST \/api\/v1\/projects\/{project_id}\/statuses Creates or updates statuses for a specific project. URL Parameter: Required Body Parameters: Example Request: Example Response: Validations: Error Codes:","og_url":"https:\/\/leanmote.com\/es\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/","og_site_name":"Leanmote","article_publisher":"https:\/\/www.facebook.com\/leanmote.au","article_modified_time":"2025-09-01T19:22:20+00:00","og_image":[{"width":750,"height":453,"url":"https:\/\/leanmote.com\/wp-content\/uploads\/2021\/11\/leanmote-share.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@Leanmote1","twitter_misc":{"Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/","url":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/","name":"[POST] project statuses - Leanmote","isPartOf":{"@id":"https:\/\/leanmote.com\/#website"},"datePublished":"2025-07-18T14:09:57+00:00","dateModified":"2025-09-01T19:22:20+00:00","breadcrumb":{"@id":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/post-project-statuses\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leanmote.com\/"},{"@type":"ListItem","position":2,"name":"Administration","item":"https:\/\/leanmote.com\/docs\/set-up\/"},{"@type":"ListItem","position":3,"name":"REST API","item":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/"},{"@type":"ListItem","position":4,"name":"Projects","item":"https:\/\/leanmote.com\/docs\/set-up\/rest-api\/projects\/"},{"@type":"ListItem","position":5,"name":"[POST] project statuses"}]},{"@type":"WebSite","@id":"https:\/\/leanmote.com\/#website","url":"https:\/\/leanmote.com\/","name":"Leanmote.","description":"Faster Projects, Leaner Teams, Lower Costs. Leanmote optimizes workflows, costs, and guides your teams - enabling leaders to actively manage performance and hit strategic goals.","publisher":{"@id":"https:\/\/leanmote.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/leanmote.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/leanmote.com\/#organization","name":"Leanmote.","url":"https:\/\/leanmote.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/leanmote.com\/#\/schema\/logo\/image\/","url":"https:\/\/leanmote.com\/wp-content\/uploads\/2021\/11\/leanmote-logo.jpg","contentUrl":"https:\/\/leanmote.com\/wp-content\/uploads\/2021\/11\/leanmote-logo.jpg","width":625,"height":175,"caption":"Leanmote"},"image":{"@id":"https:\/\/leanmote.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leanmote.au","https:\/\/x.com\/Leanmote1","https:\/\/www.instagram.com\/leanmote.au\/","https:\/\/www.linkedin.com\/company\/leanmote","https:\/\/www.youtube.com\/channel\/UCIvphN0fePUw1F4c32OXjdg"]}]}},"_links":{"self":[{"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/docs\/23141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/comments?post=23141"}],"version-history":[{"count":3,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/docs\/23141\/revisions"}],"predecessor-version":[{"id":23767,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/docs\/23141\/revisions\/23767"}],"up":[{"embeddable":true,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/docs\/23129"}],"wp:attachment":[{"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/media?parent=23141"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/leanmote.com\/es\/wp-json\/wp\/v2\/doc_tag?post=23141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}