Try a trigger now
curl --request POST \
--url https://api.avazal.com/v1/triggers.run \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '<string>'})
};
fetch('https://api.avazal.com/v1/triggers.run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.avazal.com/v1/triggers.run"
payload = { "id": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"runId": "<string>"
}{
"issues": [
{
"_tag": "Pointer",
"path": [
"<string>"
],
"message": "<string>"
}
],
"message": "<string>",
"_tag": "HttpApiDecodeError"
}{
"message": "<string>",
"_tag": "KeyRequired"
}{
"feature": "gmail",
"_tag": "FeatureOff",
"message": "<string>"
}{
"message": "<string>",
"_tag": "TriggerNotFound"
}{
"action": {
"tool": "<string>",
"input": {}
},
"message": "<string>",
"_tag": "AskFirst"
}{
"message": "<string>",
"_tag": "Unsupported"
}Triggers
Run Trigger
Try a trigger now
POST
/
v1
/
triggers.run
Try a trigger now
curl --request POST \
--url https://api.avazal.com/v1/triggers.run \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"id": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: '<string>'})
};
fetch('https://api.avazal.com/v1/triggers.run', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.avazal.com/v1/triggers.run"
payload = { "id": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"runId": "<string>"
}{
"issues": [
{
"_tag": "Pointer",
"path": [
"<string>"
],
"message": "<string>"
}
],
"message": "<string>",
"_tag": "HttpApiDecodeError"
}{
"message": "<string>",
"_tag": "KeyRequired"
}{
"feature": "gmail",
"_tag": "FeatureOff",
"message": "<string>"
}{
"message": "<string>",
"_tag": "TriggerNotFound"
}{
"action": {
"tool": "<string>",
"input": {}
},
"message": "<string>",
"_tag": "AskFirst"
}{
"message": "<string>",
"_tag": "Unsupported"
}Start one run of the trigger with its routes dropped, so only its owner is told. Refused inside a trigger’s own run.
Requires the
automations:write scope.