The Alphabet communications module gives you a single endpoint to dispatch alerts, notifications, and user messages across multiple delivery channels simultaneously. Instead of integrating separately with an email provider, an SMS gateway, and a push service, you send one request toDocumentation Index
Fetch the complete documentation index at: https://alphabet-06152314.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v1/communications/send with a channel list and the relevant addressing fields, and Alphabet routes the message to each enabled channel in parallel. Supported channels are Email, Sms, Push, InApp, and Webhook.
Key concepts
Channel — the delivery mechanism that carries a message to its destination. Each channel (Email, Sms, Push, InApp, Webhook) has its own transport implementation and requires its own addressing field in the request body.
Multi-channel dispatch — a single request can target multiple channels at once by listing them in the channels array. Alphabet dispatches to all specified channels and returns a per-channel result in the response, so you can see which deliveries succeeded and which failed.
Configuration — which channels are active is controlled by the Communication.EnabledChannels array in appsettings.json. Channels listed in your request but not present in EnabledChannels are skipped. Use GET /api/v1/communications/configuration to inspect the live configuration without restarting the server.
Both endpoints require the
AdminOnly authorization policy. Include a valid admin bearer token in the Authorization header for every request.Send a message
POST
/api/v1/communications/sendRequires: AdminOnly authorization policyRequest body
The message subject line. Used as the email subject for the
Email channel and as a title for other channels.The message body text. Set
isHtml to true to render this as HTML in email clients.Array of channel names to dispatch to. Valid values:
"Email", "Sms", "Push", "InApp", "Webhook". Only channels that appear in Communication.EnabledChannels in your configuration will be dispatched.Recipient email address. Required when
"Email" is in channels.Recipient phone number in E.164 format. Required when
"Sms" is in channels. Example: "+97455555555".Recipient user GUID. Required when
"InApp" is in channels. Messages are stored and delivered to this user inside the application.Device push token for the target device. Required when
"Push" is in channels. Pass null to omit.The URL Alphabet will POST the message payload to. Required when
"Webhook" is in channels. Pass null to omit.When
true, the body field is rendered as HTML in email clients. Has no effect on non-email channels.Example request
The following request sends a system maintenance notice over Email, SMS, and InApp simultaneously:Response
A successful request returns200 OK with a CommunicationBatchResponseDto body containing a per-channel dispatch result. If the dispatch fails entirely, the endpoint returns 400 Bad Request with a Problem Details payload describing the error.
Inspect configuration
GET
/api/v1/communications/configurationRequires: AdminOnly authorization policyCommunicationConfigurationDto containing:
- Enabled channels — the list of channels currently active on the server
- Default channel — the channel used when none is specified in the request
- Diagnostic logging — whether detailed channel dispatch logs are being written
400 Bad Request with a Problem Details body.
Next steps
Channel setup and configuration
Configure Email, SMS, Push, InApp, and Webhook channels with credentials and appsettings.json options.