API referenceGET
Get alert settings
Read the email alert settings for new relevant mentions, including the cadences the current plan allows.
GET
https://ai.redreplier.com/ai-app/api/v1/alert-settingsRead the email alert settings for new relevant mentions, including the cadences the current plan allows.
Bearer Token (RedReplier API token)
Parameters
This endpoint does not take path or query parameters.
Request body
This endpoint does not require a JSON body.
Response
Returns alert settings for the token account.
enabled(boolean): Whether email alerts are enabled.cadenceMinutes(number): Configured alert cadence in minutes.minIntervalMinutes(number): Fastest cadence allowed by the current plan.availableCadences(number[]): Cadence values available to the current plan.
Notes
minIntervalMinutes is the fastest cadence allowed by the current plan.
Errors
400 Bad Request: Invalid input, URL, UUID, enum, query parameter, or body.401 Unauthorized: Missing or invalid Bearer token.404 Not Found: The resource does not exist for the token account.500 Internal Server Error: Unexpected server error.
Example request (curl)
curl --request GET \
--url https://ai.redreplier.com/ai-app/api/v1/alert-settings \
--header 'Authorization: Bearer redreplier_test_1234567890'200
{
"enabled": true,
"cadenceMinutes": 240,
"minIntervalMinutes": 60,
"availableCadences": [60, 240, 720, 1440]
}