{"id":26624,"date":"2024-02-14T14:00:42","date_gmt":"2024-02-14T05:00:42","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=26624"},"modified":"2024-04-19T10:26:02","modified_gmt":"2024-04-19T01:26:02","slug":"execute_bot_using_access_token","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/execute_bot_using_access_token\/","title":{"rendered":"Cloud BOT \/\u00a0Execute BOT (Using access token)"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.c-bot.pro\/en\/\"><i class=\"fas fa-book\"><\/i>&nbsp;Home<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\">User guide<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/\">BOT<\/a>  &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\">How to use the BOT editor<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\">Extension<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/\">Cloud BOT<\/a> &gt; Execute BOT (Using access token) <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized extension_icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_icon.png\" alt=\"\" class=\"wp-image-26256 extension_border\" width=\"75\" height=\"75\"><\/figure>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">App overview<\/h2>\n\n\n\n<p>Execute any BOT using the access token. To use it, the contract must have External Connections enabled.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\"<strong>Operation Procedure for Cloud BOT App Using Access Token<\/strong>\"<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/view_bot_list_using_access_token\/\"><img decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/04\/user_guide_ex_cloudbot_at_b_01_en_01-v2.png\" alt=\"\" class=\"wp-image-26667\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Reference the list of BOTs and obtain the <strong>BOT execution endpoint<\/strong> for the target BOT.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/execute_bot_using_access_token\/\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"277\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_at_b_b_en_02.png\" alt=\"\" class=\"wp-image-26627\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Use the BOT execution endpoint to execute the BOT. Obtain the <strong>Job reference endpoint <\/strong>from the execution results.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/refer_job_using_access_token\/\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"277\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_ban_rj_en_03.png\" alt=\"\" class=\"wp-image-26686\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Use the job reference endpoint to refer to the detailed information of the job.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Extended Feature URL<\/td><td>cbot-extension:\/\/cloud-bot:cloud-bot:execute-bot-using-credentials:1<\/td><\/tr><tr><td>Provider<\/td><td>Cloud BOT <span style=\"margin-left: 2px ; padding: 2px 7px; border:0px solid #000 ; background-color: #007bff ; border-radius: 5px ; color: #ffffff ; font-size: 0.7em;\" class=\"badge\">official<\/span><\/td><\/tr><tr><td>External communication<\/td><td>Yes<\/td><\/tr><tr><td>Version<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Screen description<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\"><strong><strong><strong>Input screen<\/strong><\/strong><\/strong><\/h3>\n\n\n\n<h4 id=\"outline__2_1_1\" class=\"wp-block-heading\"><strong><strong><strong>Request options<\/strong><\/strong><\/strong><\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"1025\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_exbot_at_en_01.png\" alt=\"\" class=\"wp-image-26634\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-black-color has-text-color\"><strong><strong><strong>Access token<\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_detail_item_body\">Specify an access token.<\/p>\n\n\n\n<p class=\"extension_detail_item_body\">\n<small>\n* The <strong>\"Execute\" privilege must be granted to the access token<\/strong> to be used.\n<\/small>\n<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong><strong><strong><strong><strong><strong><strong><strong>Secret key<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Specifies a secret key.<\/p>\n\n\n\n<p><strong><strong>BOT execution endpoint<\/strong><\/strong><\/p>\n\n\n\n<p>Specifies a BOT execution endpoint.<br><small>* The BOT execution endpoint can be obtained via \"<a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/view_bot_list_using_access_token\/\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/view_bot_list_using_access_token\/\" target=\"_blank\">View BOT list (Using access token)<\/a>\".<\/small><\/p>\n\n\n\n<p><strong><strong>Callback endpoint (Optional)<\/strong><\/strong><\/p>\n\n\n\n<p>Specifies the callback endpoint.<\/p>\n\n\n\n<p><strong><strong>Number of callback attempts<\/strong><\/strong><\/p>\n\n\n\n<p>Specifies the number of callback attempts.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h4 id=\"outline__2_1_2\" class=\"wp-block-heading\"><strong><strong><strong><strong>Input data settings<\/strong><\/strong><\/strong><\/strong><\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"902\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_exbot_at_en_02.png\" alt=\"\" class=\"wp-image-26635\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><strong>Input data<\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_detail_item_body\"><small>* Click <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/input_data_format\/\" target=\"_blank\" rel=\"noopener\">here<\/a> for information on the format of input data values.<\/small><\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\"><strong><strong><strong><strong>Result screen<\/strong><\/strong><\/strong><\/strong><\/h3>\n\n\n\n<h4 id=\"outline__2_2_1\" class=\"wp-block-heading\"><strong><strong><strong><strong>Bot started executing<\/strong><\/strong><\/strong><\/strong><\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"1753\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_exbot_at_en_s03.png\" alt=\"\" class=\"wp-image-26758\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Displays the results of the start of BOT execution.<\/p>\n\n\n\n<p><small>* <small>For asynchronous execution, the execution result is returned immediately upon the start of the BOT execution. The response code, status code, and status will reflect that the operation is in progress.<\/small><\/small><\/p>\n\n\n\n<p><small>* The Job reference endpoint is used in \"<a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/refer_job_using_access_token\/\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/refer_job_using_access_token\/\" target=\"_blank\">Refer job  (Using access token)<\/a>\".<\/small><\/p>\n\n\n\n<p>Please refer to the <a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/api_reference\/\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/api_reference\/\" target=\"_blank\">API reference<\/a> for each item.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; User guide &gt; BOT &gt; How to use the BOT editor &gt; Extension &gt; Cloud BOT &gt; Execute BOT (Using access token) App overview Execute any BOT using the access token. To use it, the contract must have External Connections enabled. \"Operation Procedure for Cloud BOT App Using Access Token\" Reference the list of BOTs and obtain the BOT execution endpoint for the target BOT. Use the BOT execution endpoint to execute the BOT. Obtain the Job reference endpoint from the execution results. Use the job reference endpoint to refer to the detailed information of the job. Extended Feature URL cbot-extension:\/\/cloud-bot:cloud-bot:execute-bot-using-credentials:1 Provider Cloud BOT official External communication Yes Version 1 Screen description Input screen Request options Access token Specify an access token. * The \"Execute\" privilege must be granted to the access token to be used. Secret key Specifies a secret key. BOT execution endpoint Specifies a BOT execution endpoint.* The BOT execution endpoint can be obtained via \"View BOT list (Using access token)\". Callback endpoint (Optional) Specifies the callback endpoint. Number of callback attempts Specifies the number of callback attempts. Input data settings Input data * Click here for information on the format of input data values. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"en_US","_original_post":"https:\/\/docs.c-bot.pro\/?p=26376","footnotes":""},"categories":[106],"tags":[119,12,110,114,122,109],"class_list":["post-26624","post","type-post","status-publish","format-standard","hentry","category-cloud_bot","tag-access-token","tag-api","tag-bot-editor","tag-cloud-bot","tag-execute-bot","tag-extention","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26624","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=26624"}],"version-history":[{"count":10,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26624\/revisions"}],"predecessor-version":[{"id":28221,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26624\/revisions\/28221"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=26624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=26624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=26624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}