Set up email notifications
Configure email notification settings. This endpoint allows carriers to manage how they receive notifications about various events.
Body
Required
-
email
string Email address for receiving notifications
-
notificationType
string Type of email notification
Responses
-
200 application/json
Email notifications configured successfully
-
401 application/json
Unauthorized. The request is missing valid authentication credentials.
-
400 application/json
Bad Request. The request is malformed or missing required parameters.
-
500 application/json
Internal Server Error. An unexpected error occurred on the server.
POST
/carrier/email-notifications
curl \
--request POST 'https://api.staging.glsnxt.com/ooh/carrier-connector/v1/carrier/email-notifications' \
--header "X-API-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"email":"string","notificationType":"string"}'
Request examples
{
"email": "string",
"notificationType": "string"
}
Response examples (200)
{
"status": "Email notifications have been set successfully"
}
Response examples (401)
{
"error": "Unauthorized"
}
Response examples (400)
{
"error": "Invalid request. Check parameters and try again."
}
Response examples (500)
{
"error": "Internal Server Error"
}