[{"data":1,"prerenderedAt":928},["ShallowReactive",2],{"blog-\u002Fblog\u002F2025\u002F08\u002Fflowfuse-node-red-api":3},{"id":4,"title":5,"body":6,"description":12,"extension":917,"meta":918,"navigation":923,"path":924,"seo":925,"stem":926,"__hash__":927},"blog\u002Fblog\u002F2025\u002F08\u002Fflowfuse-node-red-api.md","FlowFuse API for Industry: Automating Node-RED Instances, Devices, and CI\u002FCD Tasks",{"type":7,"value":8,"toc":905},"minimark",[9,13,16,21,33,36,74,77,81,84,96,101,149,160,173,181,185,192,209,217,222,304,308,315,319,329,334,386,402,407,410,588,592,595,598,606,617,623,641,645,648,653,674,679,747,754,757,762,775,780,792,849,852,873,876,879,883,886,889,892,901],[10,11,12],"p",{},"FlowFuse includes an API that lets you manage Node-RED instances, edge devices, and deployments directly from your scripts or applications. While most people use the web interface, the API is a great option if you want to automate tasks or connect FlowFuse with other tools.",[10,14,15],{},"In this guide, you’ll learn the basics of the FlowFuse API, along with practical examples you can start using right away.",[17,18,20],"h2",{"id":19},"what-is-the-flowfuse-api-and-why-use-it?","What is the FlowFuse API and Why Use It?",[10,22,23,24,28,29,32],{},"The FlowFuse API is a ",[25,26,27],"strong",{},"REST-based interface"," fully described using the ",[25,30,31],{},"OpenAPI 3.0 Specification",", allowing you to explore its capabilities, test endpoints, and even auto-generate client libraries in multiple programming languages. It provides programmatic control over everything available in the FlowFuse platform, so instead of navigating the dashboard, you can manage Node-RED instances, devices, and deployments directly from scripts or applications.",[10,34,35],{},"This is particularly useful when you want to:",[37,38,39,47,53,60,67],"ul",{},[40,41,42,43,46],"li",{},"Manage ",[25,44,45],{},"multiple Node-RED instances or devices"," simultaneously.",[40,48,49,52],{},[25,50,51],{},"Automate repetitive tasks"," such as starting, stopping, or updating instances.",[40,54,55,56,59],{},"Build ",[25,57,58],{},"custom notifications or alerts",".",[40,61,62,63,66],{},"Implement ",[25,64,65],{},"CI\u002FCD pipelines"," for testing and deploying flows automatically.",[40,68,69,70,73],{},"Integrate FlowFuse with ",[25,71,72],{},"external systems"," like monitoring, alerting, or scheduling tools.",[10,75,76],{},"In short, the API provides greater flexibility, simplifies automation, and allows FlowFuse to fit seamlessly into your existing workflows.",[17,78,80],{"id":79},"getting-started-with-the-flowfuse-api","Getting Started with the FlowFuse API",[10,82,83],{},"Before you can use the API, you need:",[85,86,87],"ol",{},[40,88,89,92,95],{},[25,90,91],{},"Your FlowFuse account",[93,94],"br",{},"\nYou will need to authenticate using an API token, which you can generate from the FlowFuse platform.",[97,98,100],"h3",{"id":99},"generating-an-api-token","Generating an API Token",[85,102,103,106,112,122],{},[40,104,105],{},"Log in to the FlowFuse platform.",[40,107,108,109,59],{},"Open ",[25,110,111],{},"User Settings → Security",[40,113,114,115,118,119,59],{},"Switch to the ",[25,116,117],{},"Tokens"," tab and click ",[25,120,121],{},"Add Token",[40,123,124,125],{},"In the form that opens:\n",[37,126,127,135,142],{},[40,128,129,130,134],{},"Give the token a descriptive name (e.g., ",[131,132,133],"code",{},"automation-script",").",[40,136,137,138,141],{},"(Optional) Check ",[25,139,140],{},"Add Expiry Date"," and choose a date if you want the token to automatically expire.",[40,143,144,145,148],{},"Click ",[25,146,147],{},"Create Token"," to generate it.",[10,150,151,157],{},[152,153],"img",{"alt":154,"dataZoomable":155,"src":156},"FlowFuse platform token creation form showing fields for token name, expiry date, and create button.","","\u002Fblog\u002F2025\u002F08\u002Fimages\u002Ftoken-form.png",[158,159,154],"em",{},[10,161,162,163,59,166,168,169,172],{},"After creation, a dialog will open showing your ",[25,164,165],{},"secret token",[93,167],{},"\nClick ",[25,170,171],{},"Copy to Clipboard"," and store this token securely. It will only be shown once and provides full access to your account.",[10,174,175,179],{},[152,176],{"alt":177,"dataZoomable":155,"src":178},"Dialog showing the generated FlowFuse API token with copy-to-clipboard option.","\u002Fblog\u002F2025\u002F08\u002Fimages\u002Fcopy-token.png",[158,180,177],{},[97,182,184],{"id":183},"exploring-the-flowfuse-api-with-swagger","Exploring the FlowFuse API with Swagger",[10,186,187,188,191],{},"FlowFuse provides ",[25,189,190],{},"Swagger\u002FOpenAPI documentation"," that gives you a complete overview of all available endpoints, along with request and response formats.",[193,194,195],"blockquote",{},[10,196,197,200,201,204,205,208],{},[25,198,199],{},"Note:"," The Swagger UI is ",[25,202,203],{},"read-only",". You cannot execute API calls directly from it. Its purpose is to ",[25,206,207],{},"display all endpoints"," after visiting the page, so you can plan and structure your API calls in Node-RED flows, scripts, or other applications.",[10,210,211,215],{},[152,212],{"alt":213,"dataZoomable":155,"src":214},"FlowFuse Swagger\u002FOpenAPI documentation interface displaying endpoints for users, Node-RED instances, devices, deployments, and much more.","\u002Fblog\u002F2025\u002F08\u002Fimages\u002Fflowfuse-swagger-api-docs.gif",[158,216,213],{},[218,219,221],"h4",{"id":220},"how-to-use-the-swagger-docs","How to Use the Swagger Docs",[85,223,224,235,276,293],{},[40,225,226,227,234],{},"Open the ",[228,229,233],"a",{"href":230,"rel":231},"https:\u002F\u002Fapp.flowfuse.com\u002Fapi\u002Fstatic\u002Findex.html",[232],"nofollow","FlowFuse API documentation"," in your browser.",[40,236,237,238,241,242],{},"Once loaded, you will see ",[25,239,240],{},"all available endpoints",", organized by category:",[37,243,244,252,260,268],{},[40,245,246,251],{},[25,247,248],{},[131,249,250],{},"\u002Fapi\u002Fv1\u002Fuser\u002F"," – Retrieve user details",[40,253,254,259],{},[25,255,256],{},[131,257,258],{},"\u002Fapi\u002Fv1\u002Finstances\u002F"," – List and manage Node-RED instances",[40,261,262,267],{},[25,263,264],{},[131,265,266],{},"\u002Fapi\u002Fv1\u002Fdevices\u002F"," – Manage edge devices",[40,269,270,275],{},[25,271,272],{},[131,273,274],{},"\u002Fapi\u002Fv1\u002Fdeployments\u002F"," – Trigger or monitor deployments",[40,277,278,281,282],{},[25,279,280],{},"Click on each endpoint"," to expand it and review the details, including:",[37,283,284,287,290],{},[40,285,286],{},"Required parameters",[40,288,289],{},"Headers",[40,291,292],{},"Response schemas",[40,294,295,296,299,300,303],{},"Use this information to construct actual API requests in ",[25,297,298],{},"Node-RED HTTP Request nodes",", ",[131,301,302],{},"curl",", or other scripts.",[97,305,307],{"id":306},"making-your-first-api-call","Making Your First API Call",[10,309,310,311,314],{},"Once you have your API token, you can start interacting with the FlowFuse API. Every request must include your token in the ",[25,312,313],{},"Authorization"," header.",[218,316,318],{"id":317},"example:-get-user-information","Example: Get User Information",[10,320,321,322,324,325,328],{},"A good first step is to fetch your user details to verify that your token works. You can use ",[131,323,302],{},", any HTTP client in your preferred programming language, or even do it directly within Node-RED using an ",[25,326,327],{},"HTTP Request"," node, as shown below.",[10,330,331],{},[25,332,333],{},"Steps in Node-RED:",[85,335,336,343,348,376,383],{},[40,337,338,339,342],{},"Drag an ",[25,340,341],{},"Inject"," node onto the canvas.",[40,344,338,345,347],{},[25,346,327],{}," node and connect it to the Inject node.",[40,349,350,351],{},"Double-click the HTTP Request node and configure it:",[37,352,353,359,365],{},[40,354,355,356],{},"Method: ",[25,357,358],{},"GET",[40,360,361,362],{},"URL: ",[131,363,364],{},"https:\u002F\u002Fapp.flowfuse.com\u002Fapi\u002Fv1\u002Fuser\u002F",[40,366,367,368,371,372,375],{},"Check ",[25,369,370],{},"Use authentication",", select ",[25,373,374],{},"Bearer Authentication",", and enter your API token.",[40,377,378,379,382],{},"Connect a ",[25,380,381],{},"Debug"," node to the HTTP Request node to see the response.",[40,384,385],{},"Deploy the flow and click the Inject button.",[193,387,388],{},[10,389,390,392,393,396,397,401],{},[25,391,199],{}," When using API tokens in Node-RED flows, always store them in ",[25,394,395],{},"environment variables"," instead of directly in the node to prevent accidental exposure when sharing flows. See ",[228,398,400],{"href":399},"\u002Fblog\u002F2023\u002F01\u002Fenvironment-variables-in-node-red\u002F","FlowFuse Environment Variables"," for more details.",[403,404],"render-flow",{":height":405,"flow":406},"300","W3siaWQiOiI2ZmE0NDUzOGI5MzQ0MzhiIiwidHlwZSI6ImluamVjdCIsInoiOiI1MDI3Nzg0Njc1YmNmNGVlIiwibmFtZSI6IkdldCBVc2VyIERldGFpbHMiLCJwcm9wcyI6W10sInJlcGVhdCI6IiIsImNyb250YWIiOiIiLCJvbmNlIjpmYWxzZSwib25jZURlbGF5IjowLjEsInRvcGljIjoiIiwieCI6MTgwLCJ5Ijo3NDAsIndpcmVzIjpbWyI4YzdmMTMzNzNlMjljOTA3Il1dfSx7ImlkIjoiOGM3ZjEzMzczZTI5YzkwNyIsInR5cGUiOiJodHRwIHJlcXVlc3QiLCJ6IjoiNTAyNzc4NDY3NWJjZjRlZSIsIm5hbWUiOiIiLCJtZXRob2QiOiJHRVQiLCJyZXQiOiJ0eHQiLCJwYXl0b3FzIjoiaWdub3JlIiwidXJsIjoiaHR0cHM6Ly9hcHAuZmxvd2Z1c2UuY29tL2FwaS92MS91c2VyLyIsInRscyI6IiIsInBlcnNpc3QiOmZhbHNlLCJwcm94eSI6IiIsImluc2VjdXJlSFRUUFBhcnNlciI6ZmFsc2UsImF1dGhUeXBlIjoiYmVhcmVyIiwic2VuZGVyciI6ZmFsc2UsImhlYWRlcnMiOltdLCJ4IjozOTAsInkiOjc0MCwid2lyZXMiOltbIjNhNTQxNjlkYzczN2I0NzUiXV19LHsiaWQiOiIzYTU0MTY5ZGM3MzdiNDc1IiwidHlwZSI6ImRlYnVnIiwieiI6IjUwMjc3ODQ2NzViY2Y0ZWUiLCJuYW1lIjoiUmVzdWx0IiwiYWN0aXZlIjp0cnVlLCJ0b3NpZGViYXIiOnRydWUsImNvbnNvbGUiOmZhbHNlLCJ0b3N0YXR1cyI6ZmFsc2UsImNvbXBsZXRlIjoicGF5bG9hZCIsInRhcmdldFR5cGUiOiJtc2ciLCJzdGF0dXNWYWwiOiIiLCJzdGF0dXNUeXBlIjoiYXV0byIsIngiOjU3MCwieSI6NzQwLCJ3aXJlcyI6W119XQ==",[10,408,409],{},"Once triggered, the debug panel will show your user information as shown below with status code 200, confirming that your token works and your API connection is successful.",[411,412,416],"pre",{"className":413,"code":414,"language":415,"meta":155,"style":155},"language-json shiki shiki-themes github-light github-dark","{\n  \"email\": \"john.doe@example.com\",\n  \"email_verified\": true,\n  \"sso_enabled\": true,\n  \"mfa_enabled\": false,\n  \"tcs_accepted\": \"2024-01-01T00:00:00.000Z\",\n  \"id\": \"john12345\",\n  \"username\": \"johndoe\",\n  \"name\": \"John Doe\",\n  \"avatar\": \"https:\u002F\u002Fapp.flowfuse.com\u002Favatar\u002Fjohn-avatar\",\n  \"admin\": false,\n  \"createdAt\": \"2024-01-01T00:00:00.000Z\",\n  \"suspended\": false\n}\n","json",[131,417,418,427,444,457,469,482,495,508,521,534,547,559,571,582],{"__ignoreMap":155},[419,420,423],"span",{"class":421,"line":422},"line",1,[419,424,426],{"class":425},"sVt8B","{\n",[419,428,430,434,437,441],{"class":421,"line":429},2,[419,431,433],{"class":432},"sj4cs","  \"email\"",[419,435,436],{"class":425},": ",[419,438,440],{"class":439},"sZZnC","\"john.doe@example.com\"",[419,442,443],{"class":425},",\n",[419,445,447,450,452,455],{"class":421,"line":446},3,[419,448,449],{"class":432},"  \"email_verified\"",[419,451,436],{"class":425},[419,453,454],{"class":432},"true",[419,456,443],{"class":425},[419,458,460,463,465,467],{"class":421,"line":459},4,[419,461,462],{"class":432},"  \"sso_enabled\"",[419,464,436],{"class":425},[419,466,454],{"class":432},[419,468,443],{"class":425},[419,470,472,475,477,480],{"class":421,"line":471},5,[419,473,474],{"class":432},"  \"mfa_enabled\"",[419,476,436],{"class":425},[419,478,479],{"class":432},"false",[419,481,443],{"class":425},[419,483,485,488,490,493],{"class":421,"line":484},6,[419,486,487],{"class":432},"  \"tcs_accepted\"",[419,489,436],{"class":425},[419,491,492],{"class":439},"\"2024-01-01T00:00:00.000Z\"",[419,494,443],{"class":425},[419,496,498,501,503,506],{"class":421,"line":497},7,[419,499,500],{"class":432},"  \"id\"",[419,502,436],{"class":425},[419,504,505],{"class":439},"\"john12345\"",[419,507,443],{"class":425},[419,509,511,514,516,519],{"class":421,"line":510},8,[419,512,513],{"class":432},"  \"username\"",[419,515,436],{"class":425},[419,517,518],{"class":439},"\"johndoe\"",[419,520,443],{"class":425},[419,522,524,527,529,532],{"class":421,"line":523},9,[419,525,526],{"class":432},"  \"name\"",[419,528,436],{"class":425},[419,530,531],{"class":439},"\"John Doe\"",[419,533,443],{"class":425},[419,535,537,540,542,545],{"class":421,"line":536},10,[419,538,539],{"class":432},"  \"avatar\"",[419,541,436],{"class":425},[419,543,544],{"class":439},"\"https:\u002F\u002Fapp.flowfuse.com\u002Favatar\u002Fjohn-avatar\"",[419,546,443],{"class":425},[419,548,550,553,555,557],{"class":421,"line":549},11,[419,551,552],{"class":432},"  \"admin\"",[419,554,436],{"class":425},[419,556,479],{"class":432},[419,558,443],{"class":425},[419,560,562,565,567,569],{"class":421,"line":561},12,[419,563,564],{"class":432},"  \"createdAt\"",[419,566,436],{"class":425},[419,568,492],{"class":439},[419,570,443],{"class":425},[419,572,574,577,579],{"class":421,"line":573},13,[419,575,576],{"class":432},"  \"suspended\"",[419,578,436],{"class":425},[419,580,581],{"class":432},"false\n",[419,583,585],{"class":421,"line":584},14,[419,586,587],{"class":425},"}\n",[17,589,591],{"id":590},"automating-devops-pipelines-with-the-flowfuse-api","Automating DevOps Pipelines with the FlowFuse API",[10,593,594],{},"One of the most powerful features of the FlowFuse API is its ability to integrate directly with CI\u002FCD pipelines. This makes it possible to trigger builds, deployments, or pipeline stages automatically—either from scripts or directly within Node-RED flows—reducing manual effort and accelerating development cycles.",[10,596,597],{},"To trigger a pipeline stage, you will use the following endpoint:",[411,599,604],{"className":600,"code":602,"language":603},[601],"language-text","PUT \u002Fapi\u002Fv1\u002Fpipelines\u002F{pipelineId}\u002Fstages\u002F{stageId}\u002Fdeploy\n","text",[131,605,602],{"__ignoreMap":155},[10,607,608,609,612,613,616],{},"This requires two pieces of information: the ",[25,610,611],{},"pipeline ID"," and the ",[25,614,615],{},"stage ID",".\nBefore triggering a deployment, you first need to retrieve the list of pipelines for your application:",[411,618,621],{"className":619,"code":620,"language":603},[601],"GET \u002Fapi\u002Fv1\u002Fapplications\u002F{applicationId}\u002Fpipelines\n",[131,622,620],{"__ignoreMap":155},[10,624,625,626,629,630,632,633,636,637,640],{},"This request returns all pipelines for the given application, including their ",[25,627,628],{},"pipelineId"," and the stages associated with them. Once you identify the correct ",[25,631,628],{}," and ",[25,634,635],{},"stageId",", you can use them in the ",[131,638,639],{},"deploy"," request to trigger the stage automatically.",[97,642,644],{"id":643},"api-steps","API Steps",[10,646,647],{},"Before triggering a stage, we first need to retrieve the pipeline details for the application. This will give us both the pipeline ID and the stage ID required for deployment.",[10,649,650],{},[25,651,652],{},"Step 1: Get Your Application ID",[85,654,655,661,667],{},[40,656,657,658,59],{},"Navigate to your application in ",[25,659,660],{},"FlowFuse",[40,662,226,663,666],{},[25,664,665],{},"Settings"," page.",[40,668,669,670,673],{},"Copy the ",[25,671,672],{},"Application ID"," (you will need this in later steps).",[10,675,676],{},[25,677,678],{},"Step 2: Retrieve Pipelines for an Application",[85,680,681,686,729,744],{},[40,682,338,683,685],{},[25,684,341],{}," node to manually trigger the request.",[40,687,688,689,691,692],{},"Add an ",[25,690,327],{}," node and configure it as follows:",[37,693,694,702,720],{},[40,695,696,699,700],{},[25,697,698],{},"Method:"," ",[131,701,358],{},[40,703,704,707,713,715,716,719],{},[25,705,706],{},"URL:",[411,708,711],{"className":709,"code":710,"language":603},[601],"\u002Fapi\u002Fv1\u002Fapplications\u002F{applicationId}\u002Fpipelines\n",[131,712,710],{"__ignoreMap":155},[93,714],{},"Replace ",[131,717,718],{},"{applicationId}"," with the actual Application ID you copied in Step 1.",[40,721,722,725,726,728],{},[25,723,724],{},"Authentication:"," Enable ",[25,727,374],{}," and set it to use your API token from the environment.",[40,730,731,732,734,735,737,738,740,741,743],{},"Connect the ",[25,733,341],{}," node to the ",[25,736,327],{}," node, and then connect the ",[25,739,327],{}," node to a ",[25,742,381],{}," node.",[40,745,746],{},"Deploy the flow and click the Inject button to retrieve the pipelines.",[10,748,749],{},[158,750,751,752,59],{},"The response will return a list of pipelines, each containing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0YXR1c1R5cGUiOiJhdXRvIiwieCI6NTkwLCJ5Ijo0ODAsIndpcmVzIjpbXX1d",[10,758,759],{},[25,760,761],{},"Step 3: Identify the Stage",[85,763,764,767],{},[40,765,766],{},"Review the pipeline details returned from Step 2.",[40,768,769,770,612,772,774],{},"Note the ",[25,771,628],{},[25,773,635],{}," of the stage you want to trigger.",[10,776,777],{},[25,778,779],{},"Step 4: Trigger the Stage Deployment",[10,781,782,783,632,785,787,788,791],{},"Once you have the ",[131,784,628],{},[131,786,635],{},", you can trigger the deployment stage with a ",[131,789,790],{},"PUT"," request.",[85,793,794,800,840,846],{},[40,795,796,797,799],{},"Add another ",[25,798,341],{}," node to trigger the deployment.",[40,801,802,803,691,805],{},"Connect it to a new ",[25,804,327],{},[37,806,807,813,832],{},[40,808,809,699,811],{},[25,810,698],{},[131,812,790],{},[40,814,815,817,823,715,825,632,828,831],{},[25,816,706],{},[411,818,821],{"className":819,"code":820,"language":603},[601],"\u002Fapi\u002Fv1\u002Fpipelines\u002F{pipelineId}\u002Fstages\u002F{stageId}\u002Fdeploy\n",[131,822,820],{"__ignoreMap":155},[93,824],{},[131,826,827],{},"{pipelineId}",[131,829,830],{},"{stageId}"," with the values from Step 3.",[40,833,834,836,837,839],{},[25,835,724],{}," Use ",[25,838,374],{}," with your API token.",[40,841,842,843,845],{},"Connect the HTTP Request node to a ",[25,844,381],{}," node to view the response.",[40,847,848],{},"Deploy the flow and click Inject.",[10,850,851],{},"If successful, you will receive a JSON response confirming that the deployment stage has been triggered.",[411,853,855],{"className":413,"code":854,"language":415,"meta":155,"style":155},"{\"status\":\"importing\"}\n",[131,856,857],{"__ignoreMap":155},[419,858,859,862,865,868,871],{"class":421,"line":422},[419,860,861],{"class":425},"{",[419,863,864],{"class":432},"\"status\"",[419,866,867],{"class":425},":",[419,869,870],{"class":439},"\"importing\"",[419,872,587],{"class":425},[10,874,875],{},"The FlowFuse API allows you to deploy a specific stage of a pipeline. It does not automatically move to the next stage, but you can create a workflow that monitors the status of each stage and triggers the next one once the current stage is complete.\nIn the following flow, the development stage is deployed every day at 10 PM. After that, the workflow checks the status of the next stage, the staging instance, before proceeding.",[403,877],{":height":405,"flow":878},"W3siaWQiOiIxYWI5NDBlYjJlZjEwNzYwIiwidHlwZSI6Imh0dHAgcmVxdWVzdCIsInoiOiIzNzMyNmUyMGYyY2Y5ZmM1IiwibmFtZSI6IkRlcGxveSBEZXZlbG9wbWVudCBTdGFnZSIsIm1ldGhvZCI6IlBVVCIsInJldCI6InR4dCIsInBheXRvcXMiOiJpZ25vcmUiLCJ1cmwiOiJodHRwczovL2FwcC5mbG93ZnVzZS5jb20vYXBpL3YxL3BpcGVsaW5lcy97cGlwZWxpbmVJZH0vc3RhZ2VzL3tzdGFnZUlkfS9kZXBsb3kiLCJ0bHMiOiIiLCJwZXJzaXN0IjpmYWxzZSwicHJveHkiOiIiLCJpbnNlY3VyZUhUVFBQYXJzZXIiOmZhbHNlLCJhdXRoVHlwZSI6ImJlYXJlciIsInNlbmRlcnIiOmZhbHNlLCJoZWFkZXJzIjpbXSwieCI6MzgwLCJ5IjoyNjAsIndpcmVzIjpbWyIxYzEzYjBkNTA4OTEzZjZkIl1dfSx7ImlkIjoiMjkzMjIxZTJmYWZlZjlmZiIsInR5cGUiOiJodHRwIHJlcXVlc3QiLCJ6IjoiMzczMjZlMjBmMmNmOWZjNSIsIm5hbWUiOiJDaGVjayBTdGFnaW5nIEluc3RhbmNlIFN0YXR1cyIsIm1ldGhvZCI6IkdFVCIsInJldCI6Im9iaiIsInBheXRvcXMiOiJpZ25vcmUiLCJ1cmwiOiJodHRwczovL2FwcC5mbG93ZnVzZS5jb20vYXBpL3YxL3Byb2plY3RzLyR7aW5zdGFuY2VJZH0vc3RhdHVzIiwidGxzIjoiIiwicGVyc2lzdCI6ZmFsc2UsInByb3h5IjoiIiwiaW5zZWN1cmVIVFRQUGFyc2VyIjpmYWxzZSwiYXV0aFR5cGUiOiJiZWFyZXIiLCJzZW5kZXJyIjpm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IjoyNTUsInkiOjMyMCwid2lyZXMiOltbIjFjMTNiMGQ1MDg5MTNmNmQiXV19XQ==",[17,880,882],{"id":881},"conclusion","Conclusion",[10,884,885],{},"The FlowFuse API puts you in control of your Node-RED infrastructure through code. Instead of managing instances manually, you can automate repetitive tasks, integrate with existing tools, and build custom workflows that fit your exact needs.",[10,887,888],{},"Whether you're managing a handful of instances or thousands of edge devices, the API scales with you. It's straightforward to get started—generate a token, make your first API call, and gradually automate more of your workflow as you go.",[10,890,891],{},"The real value comes from the time you save and the consistency you gain. Let the API handle the routine work while you focus on building great Node-RED applications.",[10,893,894,895,900],{},"Start today by generating your first API token and making a call — you’ll see how quickly FlowFuse can automate your Node-RED operations. ",[228,896,899],{"href":897,"rel":898},"https:\u002F\u002Fapp.flowfuse.com",[232],"Sign up for free"," and put your industrial workflows on autopilot.",[902,903,904],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":155,"searchDepth":429,"depth":429,"links":906},[907,908,913,916],{"id":19,"depth":429,"text":20},{"id":79,"depth":429,"text":80,"children":909},[910,911,912],{"id":99,"depth":446,"text":100},{"id":183,"depth":446,"text":184},{"id":306,"depth":446,"text":307},{"id":590,"depth":429,"text":591,"children":914},[915],{"id":643,"depth":446,"text":644},{"id":881,"depth":429,"text":882},"md",{"navTitle":5,"excerpt":919},{"type":7,"value":920},[921],[10,922,12],{},true,"\u002Fblog\u002F2025\u002F08\u002Fflowfuse-node-red-api",{"title":5,"description":12},"blog\u002F2025\u002F08\u002Fflowfuse-node-red-api","ox-gL4bbt6I3HY7XFj1-QexoUijJx30PLbgR2iiOxeA",1780132428109]