MngRetryAINotification¶
POST ai/notification/retry
Delivers a notification whose text is ready but whose channel was unavailable — typically the platform command behind the channel was not published on the bus at that moment.
Nothing is regenerated: the stored text is sent as is, so a retry costs nothing and cannot change what the manager approved.
Access Control¶
Allowed: admin.
Request¶
POST request
POST https://{broker_domain}/ai/notification/retry
Authorization: <JWT_TOKEN>
Content-Type: application/json
{ "id": "ntf_7c1…" }
{
"command": "MngRetryAINotification",
"extID": "1",
"data": { "id": "ntf_7c1…" }
}
await platform.MngRetryAINotification({ id });
Parameters¶
| Parameter | Type | Description |
|---|---|---|
id |
string | Notification id in state pending or approved |
Response Data¶
{
"id": "ntf_7c1…",
"state": "sent",
"delivery": [ { "channel": "notify", "ok": true, "response": null } ]
}
A failed attempt keeps the previous state and reports the reason per channel — for example
command_unavailable with the command that is missing.
Errors¶
| Code | Error | Description |
|---|---|---|
400 |
AI_INVALID_DATA |
The notification is in another state, has no text, or does not exist in this brand |
403 |
AI_ACCESS_DENIED |
The session is not an administrator |