Skip to main content
PUT
/
api
/
public
/
instagram
/
automations
/
{id}
Update a comment automation
curl --request PUT \
  --url https://api.vambe.me/api/public/instagram/automations/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "name": "<string>",
  "conditionPrompt": "<string>",
  "keywords": [
    "<string>"
  ],
  "stageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dmInstruction": "<string>",
  "commentInstruction": "<string>",
  "promptContext": "<string>",
  "isFuture": true
}
'

Headers

x-api-key
string
required

API key required to authorize the request

Path Parameters

id
string
required

Comment automation id

Body

application/json
name
string | null
conditionPrompt
string | null
activationType
enum<string>
Available options:
ai_condition,
keywords
keywords
string[] | null
stageId
string<uuid> | null
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
dmInstruction
string | null
commentInstruction
string | null
promptContext
string | null
isFuture
boolean
type
enum<string>
Available options:
private,
comment,
delete,
multiple
mode
enum<string>
Available options:
intelligent,
lite

Response

Automation updated.