v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBAI Routines
Create an AI Routine
Create a new AI Routine that will run on the specified schedule.
Each scheduled run executes once using the routine owner's permissions, and every recipient receives the same result.
post/v1/ai/routines
Query parameters
userIdstring uuid
Requires an Organization API key. Target user membership ID.
Request body
Example request
{
"destination": {
"recipientEmails": [
"blob.ross@blobsrus.com",
"blob.the.builder@blobsrus.com"
],
"type": "email",
"userGroupIds": [
"550e8400-e29b-41d4-a716-446655440000"
]
}
}Response
Routine created successfully
Example response
{
"id": "880e8400-e29b-41d4-a716-446655440003"
}