On this page
Provider accounts
Purpose
Each company sends its messages from its own account with the provider. A company has one account per channel, and a branch can have its own account that replaces the company's account for that branch's messages (MS2). Each tenant uses its own provider accounts and contracts.
Open the screen
- Menu: Messaging → Provider accounts.
- Route:
/msg/accounts
Required permissions
| Action | Key | Label |
|---|---|---|
| View | platform.sms_config.view | SMS Config - View |
| Add, edit and delete accounts, manage keys, send test messages and manage domains | platform.sms_config.update | SMS Config - Update |
Providers
| Channel | Provider | Main fields | Secret keys |
|---|---|---|---|
| SMS | SMS gateway (HTTPS) | Gateway model, Gateway address (https), Sender name | API key, Webhook secret |
| WhatsApp Cloud API (Meta) | Phone number ID | Access token, App secret, Verify token | |
| UltraMsg (WhatsApp) | Instance ID | Token, Webhook secret | |
| Own mail server (SMTP) | Server, Port, Security, Sender address | Password | |
| Platform mail relay | Sender address on a verified domain | — |
The gateway model fills in the technical settings for well-known gateways: Generic JSON gateway, plus Legacy gateway (model 1) and Legacy gateway (model 2) for the two gateways used in the old system. A field you leave empty takes the model's value, which appears faded in it. The gateway address must start with https. Where the gateway supports it, the key is sent in a request header rather than in the URL.
SMS and WhatsApp are available only if the channel is included in the subscription plan. A channel that isn't included shows not in your plan (MS8, P6).
Set up an account
Add an account
- Select New account.
- Choose the Channel and the Provider, and enter a Name.
- Choose the Branch: All branches for the company's account, or a branch for an account of its own.
- Fill in the provider's fields, enter the secret keys, then select Save.
- Copy the webhook address shown and enter it in the provider's dashboard, for delivery reports and replies. For Meta, also enter the same Verify token in the Webhook setup at Meta.
- Enter a Test recipient and select Send test message. Follow its status in the message monitor.
Secret keys
Keys are saved in the secrets store and are never shown again. The field shows either Stored (type to replace) or Not stored yet: type it here. Leave the field empty to keep the stored key, or type a new value to replace it.
New webhook address
New webhook address changes the routing token in the address. The old address stops working immediately, so update the address at the provider (MS6).
Provider balance
For SMS gateways that let you query the balance (OA-O-MSG-06):
- On the account, enter the Balance address (https) from the gateway's documentation. If needed, also enter a Balance query string (such as
apikey=), a Balance pattern (by default, the first number in the response) and a Low-balance threshold. - Save, then select Check balance. The balance appears on the account and in the Provider balance column.
- The system checks the balance of active accounts automatically every six hours. If the balance drops below the threshold, users with permission to update provider accounts get one notification. It isn't repeated until the balance goes back above the threshold.
WhatsApp and e-mail don't offer a balance query.
Mail sending domains
To send through the Platform mail relay, the sender address must be on a domain you own (MS8):
- Enter the domain (such as
mail.example.com) and select Add domain. - Add the record shown in the TXT record column at your domain's DNS provider. Also add the SPF and DKIM records that the relay's technical support gives you.
- Select the domain's row to verify it. Once the record is found, the status becomes Verified.
Business rules
- A company has one account per channel, and a branch has at most one account per channel.
- Provider notifications are accepted only if they arrive at the account's address with its signature or secret. Notifications that don't match are ignored (MS6).
- An inactive account doesn't send. Messages stay in the outbox until an active account is available.
- Sending rate: each account has a maximum number of messages per minute, set with Sending rate in the messaging settings (60 for SMS and WhatsApp, 120 for e-mail; 0 means no limit). Messages over the limit wait in the outbox for a minute, without counting as an attempt, and are then sent (MS11).
Common error messages
| Message | Cause | What to do |
|---|---|---|
| This company (or branch) already has an account for this channel. | Duplicate account | Edit the existing account |
| The subscription plan does not include this channel. | The channel isn't in the plan | Contact your service provider to upgrade the plan |
| Verify the sender domain first (DNS records). | The relay domain isn't verified | Complete the domain verification |
| Enter the provider secret {field}. | A required key hasn't been stored | Enter the key |
| Secrets cannot be changed here; they are managed in the secret store. | The secrets store is read-only | Contact technical support |
| This provider or account has no balance query. Enter the gateway's balance address first. | There's no balance address | Enter the balance address |
| The provider did not return a balance ({reason}). | The gateway refused the request, or its response didn't match the pattern | Check the key and the balance pattern |