Skip to main content
POST
/
v1
/
internal
/
tasks
/
notify-status-change
Send task status change notifications (email + in-app) without a user actor (internal)
curl --request POST \
  --url http://localhost:3333/v1/internal/tasks/notify-status-change \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "<string>",
  "taskId": "<string>",
  "taskTitle": "<string>",
  "oldStatus": "todo",
  "newStatus": "todo"
}
'

Headers

X-Internal-Token
string

Internal service token (required in production)

Body

application/json
organizationId
string
required

Organization ID

taskId
string
required

Task ID

taskTitle
string
required

Task title

oldStatus
enum<string>
required

Previous task status

Available options:
todo,
in_progress,
in_review,
done,
not_relevant,
failed
newStatus
enum<string>
required

New task status

Available options:
todo,
in_progress,
in_review,
done,
not_relevant,
failed

Response

Notifications sent