Integrations

Connect an SMS provider

Configure a compatible SMS API, send a real test message, and troubleshoot provider credentials, sender IDs, limits, and delivery status.

Last updated

NioCRM sends SMS through an SMS account configured by your company. You connect your own provider API and pay that provider under your agreement with them. NioCRM does not provide a prepaid SMS wallet.

Supported provider APIs

The current built-in option is Generic HTTP. NioCRM does not include separate named integrations for specific SMS companies. A provider can be used when its API accepts the request format below. The provider must accept an HTTPS request with a bearer token and a JSON message payload.

If your provider requires a different authentication method or a different request format, its API is not compatible with the built-in adapter without an integration change.

Before you begin

  • Ask a workspace owner or an administrator with SMS account management access to configure the account.
  • Create or identify an API key in your SMS provider account.
  • Confirm your provider has approved the sender ID you plan to use and that your account can send to the required countries.
  • Get the provider's HTTPS API base URL and the message endpoint path.

Add the account in NioCRM

  1. Open Settings, then SMS Accounts.
  2. Enter an account name so your team can identify it, and choose Generic HTTP as the provider.
  3. Enter the sender ID exactly as it is registered with your provider.
  4. Enter the provider's HTTPS base URL and the endpoint path. The endpoint defaults to /messages. NioCRM joins the base URL and endpoint to form the request URL.
  5. Enter the provider API key and keep the account active. The API key is sent as a bearer token.
  6. Save the account.

Provider URLs must use HTTPS and cannot point to private or internal hosts.

Request format and provider response

NioCRM sends a POST request to the configured URL with this JSON shape:

{
"to": "+2348000000000",
"message": "Your message text",
"sender_id": "YourApprovedSender"
}

The destination and message values vary for each send. A successful HTTP response means the provider accepted the message. If the response contains an id or message_id field, NioCRM records that value with the send.

Test the connection

Use Test connection on the SMS account. This sends a real SMS with the message shown in the test form; it is not a connection-only check. The recipient must exactly match either your saved user phone number or your workspace phone number. Confirm the test message arrives, and check with your provider whether it is billable.

A successful test means the provider accepted the request. It does not confirm that the recipient's network delivered the message.

Troubleshooting

  • Missing credentials: Make sure the account has a base URL and API key. When editing an account, leave the API key field blank only if you want to keep the saved key.
  • Provider could not be reached: Check the HTTPS base URL, endpoint path, DNS, and provider availability. NioCRM uses a 10-second request timeout.
  • Provider rejected the message: NioCRM reports a general rejection for non-success HTTP responses and does not show the provider's response body. Check the provider dashboard and logs for authentication errors, account restrictions, insufficient balance, an unapproved sender ID, invalid recipient format, or country restrictions.
  • Test recipient is not allowed: Use the phone number saved on your user account or the phone number saved on your workspace.
  • Account inactive: Edit the SMS account and enable it before sending.
  • Daily limit reached: Your workspace has reached its configured SMS daily limit. Ask your workspace administrator about the limit.
  • Duplicate message: NioCRM blocks an identical template send to the same recipient for a short period. Check the recent send history before trying again.
  • Accepted but not received: Check the provider's delivery report, recipient number, sender ID approval, destination-country rules, and provider balance. NioCRM's immediate success result reflects provider acceptance, not final delivery.

Charges and usage limits

Your SMS provider controls message pricing, account balance, sender ID rules, and any charges for test messages. NioCRM does not collect those provider charges or add prepaid SMS credits. A separate workspace daily limit can block further sends even when the provider account has balance.

Protect and rotate your API key

NioCRM encrypts saved SMS account credentials in the application database and does not display them in the account list or edit form. Do not share your API key in messages or screenshots. If you think it was exposed, revoke or rotate it in your provider account, edit the NioCRM SMS account, enter the replacement key, save, and run a test message. If the API key field is left blank while editing, the existing key is kept.

When a provider changes its API

The built-in adapter uses bearer-token authentication, the JSON fields to, message, and sender_id, and a successful HTTP status to determine acceptance. If your provider changes its URL, update the base URL or endpoint as needed. If it changes its authentication scheme, payload fields, or response requirements, contact your NioCRM administrator to review an integration update; changing the account fields alone cannot alter the adapter's request format.

Article feedback

Was this article helpful?

0 people found this helpful

Keep learning