Notifications
Set email notification preferences
Replaces the set of event types the authenticated account receives by email. Every requested type must be in the available catalog, or the request is rejected with 400. An empty list disables all email notifications. Returns the updated preferences.
put/notifications/email/preferences
Request
- Base URLhttps://api.textla.com/v1
- AuthHTTP bearer
Request body
Example request
{
"$schema": "/v1/schemas/SetPreferencesInputBody.json",
"cadence": "daily",
"event_types": [
"campaign.sent"
],
"send_at": "08:00"
}Response
OK
Example response
{
"$schema": "/v1/schemas/Preferences.json",
"available_event_types": [
"campaign.sent",
"campaign.failed",
"team.invited",
"team.joined",
"credit.low"
],
"enabled_event_types": [
"campaign.sent"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.