Update automation
curl --request PUT \
--url https://api.bizzyco.ai/v1/automations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Auto-reply to inquiries",
"description": "Sends an auto-reply to new inquiries",
"triggerEvent": "message.received",
"triggerType": "event",
"cronExpression": "0 9 * * MON-FRI",
"condition": {},
"instructions": "Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.",
"enabled": true,
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"groupName": "Customer Support",
"groupMetadata": {
"purpose": "<string>",
"createdBy": "<string>",
"aiTaskId": "<string>",
"tags": [
"<string>"
]
},
"maxExecutions": 100,
"currentExecutions": 0,
"expiresAt": "2025-12-31T23:59:59Z",
"status": "active"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Auto-reply to inquiries',
description: 'Sends an auto-reply to new inquiries',
triggerEvent: 'message.received',
triggerType: 'event',
cronExpression: '0 9 * * MON-FRI',
condition: {},
instructions: 'Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.',
enabled: true,
groupId: '123e4567-e89b-12d3-a456-426614174000',
groupName: 'Customer Support',
groupMetadata: {
purpose: '<string>',
createdBy: '<string>',
aiTaskId: '<string>',
tags: ['<string>']
},
maxExecutions: 100,
currentExecutions: 0,
expiresAt: '2025-12-31T23:59:59Z',
status: 'active'
})
};
fetch('https://api.bizzyco.ai/v1/automations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bizzyco.ai/v1/automations/{id}"
payload = {
"name": "Auto-reply to inquiries",
"description": "Sends an auto-reply to new inquiries",
"triggerEvent": "message.received",
"triggerType": "event",
"cronExpression": "0 9 * * MON-FRI",
"condition": {},
"instructions": "Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.",
"enabled": True,
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"groupName": "Customer Support",
"groupMetadata": {
"purpose": "<string>",
"createdBy": "<string>",
"aiTaskId": "<string>",
"tags": ["<string>"]
},
"maxExecutions": 100,
"currentExecutions": 0,
"expiresAt": "2025-12-31T23:59:59Z",
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bizzyco.ai/v1/automations/{id}"
payload := strings.NewReader("{\n \"name\": \"Auto-reply to inquiries\",\n \"description\": \"Sends an auto-reply to new inquiries\",\n \"triggerEvent\": \"message.received\",\n \"triggerType\": \"event\",\n \"cronExpression\": \"0 9 * * MON-FRI\",\n \"condition\": {},\n \"instructions\": \"Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.\",\n \"enabled\": true,\n \"groupId\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"groupName\": \"Customer Support\",\n \"groupMetadata\": {\n \"purpose\": \"<string>\",\n \"createdBy\": \"<string>\",\n \"aiTaskId\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ]\n },\n \"maxExecutions\": 100,\n \"currentExecutions\": 0,\n \"expiresAt\": \"2025-12-31T23:59:59Z\",\n \"status\": \"active\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"triggerEvent": "<string>",
"cronExpression": "<string>",
"condition": {},
"instructions": "<string>",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"permissions": {},
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupName": "<string>",
"groupMetadata": {},
"maxExecutions": 123,
"currentExecutions": 123,
"expiresAt": "2023-11-07T05:31:56Z"
},
"meta": {
"pagination": {
"limit": 123,
"offset": 123,
"hasMore": true,
"total": 123
}
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}Automations
Update automation
Update an existing automation. Note: This endpoint accepts partial updates (same behavior as PATCH). All fields are optional.
PUT
/
v1
/
automations
/
{id}
Update automation
curl --request PUT \
--url https://api.bizzyco.ai/v1/automations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Auto-reply to inquiries",
"description": "Sends an auto-reply to new inquiries",
"triggerEvent": "message.received",
"triggerType": "event",
"cronExpression": "0 9 * * MON-FRI",
"condition": {},
"instructions": "Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.",
"enabled": true,
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"groupName": "Customer Support",
"groupMetadata": {
"purpose": "<string>",
"createdBy": "<string>",
"aiTaskId": "<string>",
"tags": [
"<string>"
]
},
"maxExecutions": 100,
"currentExecutions": 0,
"expiresAt": "2025-12-31T23:59:59Z",
"status": "active"
}
'const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Auto-reply to inquiries',
description: 'Sends an auto-reply to new inquiries',
triggerEvent: 'message.received',
triggerType: 'event',
cronExpression: '0 9 * * MON-FRI',
condition: {},
instructions: 'Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.',
enabled: true,
groupId: '123e4567-e89b-12d3-a456-426614174000',
groupName: 'Customer Support',
groupMetadata: {
purpose: '<string>',
createdBy: '<string>',
aiTaskId: '<string>',
tags: ['<string>']
},
maxExecutions: 100,
currentExecutions: 0,
expiresAt: '2025-12-31T23:59:59Z',
status: 'active'
})
};
fetch('https://api.bizzyco.ai/v1/automations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.bizzyco.ai/v1/automations/{id}"
payload = {
"name": "Auto-reply to inquiries",
"description": "Sends an auto-reply to new inquiries",
"triggerEvent": "message.received",
"triggerType": "event",
"cronExpression": "0 9 * * MON-FRI",
"condition": {},
"instructions": "Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.",
"enabled": True,
"groupId": "123e4567-e89b-12d3-a456-426614174000",
"groupName": "Customer Support",
"groupMetadata": {
"purpose": "<string>",
"createdBy": "<string>",
"aiTaskId": "<string>",
"tags": ["<string>"]
},
"maxExecutions": 100,
"currentExecutions": 0,
"expiresAt": "2025-12-31T23:59:59Z",
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bizzyco.ai/v1/automations/{id}"
payload := strings.NewReader("{\n \"name\": \"Auto-reply to inquiries\",\n \"description\": \"Sends an auto-reply to new inquiries\",\n \"triggerEvent\": \"message.received\",\n \"triggerType\": \"event\",\n \"cronExpression\": \"0 9 * * MON-FRI\",\n \"condition\": {},\n \"instructions\": \"Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours.\",\n \"enabled\": true,\n \"groupId\": \"123e4567-e89b-12d3-a456-426614174000\",\n \"groupName\": \"Customer Support\",\n \"groupMetadata\": {\n \"purpose\": \"<string>\",\n \"createdBy\": \"<string>\",\n \"aiTaskId\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ]\n },\n \"maxExecutions\": 100,\n \"currentExecutions\": 0,\n \"expiresAt\": \"2025-12-31T23:59:59Z\",\n \"status\": \"active\"\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"triggerEvent": "<string>",
"cronExpression": "<string>",
"condition": {},
"instructions": "<string>",
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"enabled": true,
"permissions": {},
"groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"groupName": "<string>",
"groupMetadata": {},
"maxExecutions": 123,
"currentExecutions": 123,
"expiresAt": "2023-11-07T05:31:56Z"
},
"meta": {
"pagination": {
"limit": 123,
"offset": 123,
"hasMore": true,
"total": 123
}
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"details": "<unknown>"
}
}Authorizations
API key authentication via Bearer token
Path Parameters
Automation UUID
Example:
"123e4567-e89b-12d3-a456-426614174000"
Body
application/json
Example:
"Auto-reply to inquiries"
Example:
"Sends an auto-reply to new inquiries"
Example:
"message.received"
Whether this automation is event-driven or scheduled
Available options:
event, scheduled Example:
"event"
Example:
"0 9 * * MON-FRI"
Show child attributes
Show child attributes
Example:
"Reply to the sender thanking them for their inquiry and let them know we will respond within 24 hours."
Example:
true
Example:
"123e4567-e89b-12d3-a456-426614174000"
Example:
"Customer Support"
Show child attributes
Show child attributes
Example:
100
Required range:
x >= 0Example:
0
Example:
"2025-12-31T23:59:59Z"
The status of the automation
Available options:
draft, pending_evaluation, evaluation_failed, code_generation_failed, pending_approval, active, paused, completed, expired, failed, archived Example:
"active"
Last modified on August 9, 2026
⌘I