v1
latestOpenAPI 3.0.32026-07-26120117318.1 KBAutomations
Create an automation
Creates a new automation for the authenticated project.
post/automations
Request body
Example request
{
"name": "Welcome Flow",
"caption": "Sends a welcome message to new users",
"status": "active",
"data": {
"type": "event",
"platform": "iOS",
"initiators": [
{
"uid": "2",
"type": "event"
}
],
"actions": {
"push": "nCRUE7SW",
"screen": "qUY7JXgF"
},
"segments": "A0SzRbM2vmmwixbpQxtI"
}
}Response
Automation created successfully.
Example response
{
"id": "auto-abc123",
"url": "/v4/automations/auto-abc123",
"name": "Welcome Flow",
"caption": "Sends a welcome message to new users",
"status": "active",
"data": {
"type": "event",
"platform": "iOS",
"initiators": [
{
"uid": "2",
"type": "event"
}
],
"actions": {
"push": "nCRUE7SW",
"screen": "qUY7JXgF"
},
"segments": "A0SzRbM2vmmwixbpQxtI"
}
}