Triggers an email to relevant stakeholders. System automatically determines recipients and email content based on notification type. Includes throttling to prevent spam.
| Code | Description |
|---|---|
| 400 | Bad Request: body has wrong syntax or unable to handle request |
| 401 | Unauthorized: auth_token omitted or authentication failed |
| 403 | Forbidden: This action cannot be performed |
| 422 | Unprocessable Entity: body has wrong attributes |
| 500 | Internal Server Error |
| 429 | Rate limit exceeded (5 requests per hour) |
REQUEST
Content-Type: application/json
{
"notification_type": "free_ai_avatars_limit_reached"
}
RESPONSE
200 (OK)
{
"triggered": true
}
422 (Unprocessable Entity)
{
"error": "Unable to send notification - no recipients configured for this account"
}
| Param name | Description |
|---|---|
|
notification_type required |
Type of notification (e.g., free_ai_avatars_limit_reached). Backend automatically determines recipients. Validations:
|