Continue execution (standby)
curl --request POST \
--url http://api.gu1.ai/automations/executions/{executionId}/continue \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/automations/executions/{executionId}/continue"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/automations/executions/{executionId}/continue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.gu1.ai/automations/executions/{executionId}/continue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.gu1.ai/automations/executions/{executionId}/continue"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.gu1.ai/automations/executions/{executionId}/continue")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/automations/executions/{executionId}/continue")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyAPI Reference
Continue execution (standby)
Retoma uma execução de automação pausada no gu1 por ID ou link de callback, com payload opcional mesclado ao snapshot de evento salvo.
POST
/
automations
/
executions
/
{executionId}
/
continue
Continue execution (standby)
curl --request POST \
--url http://api.gu1.ai/automations/executions/{executionId}/continue \
--header 'Authorization: Bearer <token>'import requests
url = "http://api.gu1.ai/automations/executions/{executionId}/continue"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://api.gu1.ai/automations/executions/{executionId}/continue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.gu1.ai/automations/executions/{executionId}/continue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://api.gu1.ai/automations/executions/{executionId}/continue"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.gu1.ai/automations/executions/{executionId}/continue")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.gu1.ai/automations/executions/{executionId}/continue")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyOverview
After a standby pause, continue the same execution. Optional JSON payload is merged onto the snapshot before the engine refreshes context from the database.POST by execution ID
POST https://api.gu1.ai/automations/executions/:executionId/continue
Content-Type: application/json
{ "payload": { ... } }
Authenticated with the org’s API key or session.
GET with token (email/SMS link)
GET https://api.gu1.ai/automations/executions/:executionId/continue?token=<callbackToken>
callbackToken must match the execution row. Returns an HTML confirmation page.
POST by automation ID
POST https://api.gu1.ai/automations/:id/continue
Content-Type: application/json
{ "payload": { ... } }.
Response (JSON routes)
200 —{ "success": true, "waiting"?: boolean, "executionId"?, "completed"?, "continuedToStep"?, ... }Was this page helpful?