Update an automation
Changed onPartial update. status pauses (paused) or resumes (active) the automation. trigger, actions and limits are merged into the stored sections: keys you omit keep their value (new keywords keep the kinds, the scope and the match; a new dm.text keeps the public reply). public_reply.variations: [] or enabled: false turns the public reply off; limits.max_sends: null removes that limit. Another post_id, instagram_media_id or facebook_post_id moves the automation to that post. The platform never changes: a body that names another platform (or instagram_media_id on a Facebook automation, facebook_post_id on an Instagram one) answers 400 platform_immutable. A completed automation starts again when its limits or trigger change.
Request
- Base URLhttps://api.omnisocials.com/v1
- URLhttps://api.omnisocials.com/v1/automations/{id}
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"name": "Guide DM",
"platform": "instagram",
"trigger": {
"keywords": [
"guide"
]
},
"post_id": "1024",
"instagram_media_id": "17912345678901234",
"facebook_post_id": "104857600123456_987654321098765",
"actions": {
"dm": {
"text": "Here is the guide: https://example.com/guide"
},
"public_reply": {
"enabled": true,
"variations": [
"Sent you a DM!"
]
}
},
"limits": {
"max_sends": 500,
"stop_at": "2026-11-30T23:00:00.000Z"
}
}Response
Automation updated
Example response
{
"data": {
"id": "318",
"name": "Guide DM",
"post_id": "1024",
"instagram_media_id": "17912345678901234",
"facebook_post_id": "104857600123456_987654321098765",
"trigger": {
"keywords": [
"guide"
]
},
"actions": {
"dm": {
"text": "Here is the guide: https://example.com/guide"
},
"public_reply": {
"enabled": true,
"variations": [
"Sent you a DM!"
]
}
},
"limits": {
"max_sends": 500,
"stop_at": "2026-11-30T23:00:00.000Z"
},
"stats": {
"matched": 120,
"sent": 112,
"skipped": 6,
"failed": 2,
"last_event_at": "2026-10-21T15:00:12.000Z"
},
"created_at": "2026-10-20T14:32:10.000Z",
"updated_at": "2026-10-20T14:35:42.000Z"
}
}Changes
- warning
added the new
xenum value to the/response property for the response status - info
added the new
xenum value to the request property
- warning
- warning
added the new
facebookenum value to the/response property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- warning