Skip to main content
POST
/
v1
/
internal
/
tasks
/
notify-bulk-automation-failures
Send consolidated automation failure digest (email + in-app) for an org (internal)
curl --request POST \
  --url http://localhost:3333/v1/internal/tasks/notify-bulk-automation-failures \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "<string>",
  "tasks": [
    {
      "taskId": "<string>",
      "taskTitle": "<string>",
      "failedCount": 123,
      "totalCount": 123
    }
  ]
}
'

Headers

X-Internal-Token
string

Internal service token (required in production)

Body

application/json
organizationId
string
required

Organization ID

tasks
object[]
required

Array of failed tasks with counts

Response

Notifications sent