Skip to main content

Configure the SMS interface

The SMS interface specifies how and where to forward SMS from devices under this service policy.

The following connections are available:

  • Web Portal (default) - Access SMS directly in the emnify Portal
  • Webhook - Configure a URL to receive SMS sent from your device
  • SMPP - Set up a direct SMPP connection to emnify

Webhook

You can use the SMS webhook to receive SMS and delivery notifications in your application.

Add webhook

Follow these steps to configure the webhook as your SMS interface.

  1. Log in to your emnify account.

  2. Navigate to your Device Policies.

  3. Under Service Policies, choose the policy you want to update and click Details.

  4. Find the SMS interface section. Select Webhook, then click Configure Webhook.

  5. Provide the URL for your webhook. Optionally, you can provide a secret key to prevent unauthorized access. Then, click Add Webhook.

info

When you want to send an SMS from the device to your application, your device should send the SMS to an invalid MSISDN with seven digits or less.

Delivery notification as received in Make (Integromat) webhook for SMS with ID: 46638644

Mobile originated SMS from the device as received in Integromat webhook

Edit webhook

  1. Log in to your emnify account.
  2. Navigate to your Device Policies.
  3. Under Service Policies, choose the policy you want to update and click Details.
  4. Find the SMS interface section.
  5. Click Edit to change the URL or delete the secret key.
  6. Review your changes, then click Save webhook.

SMPP

Short Message Peer-to-Peer (SMPP) is a protocol that the telecommunication industry uses to exchange SMS messages between short message service centers (SMSC) and external short messaging entities (ESME). Telematics platforms, SMS services, and operators often use SMPP to enable sending SMS to and from devices.

Configure SMPP as your SMS interface

  1. Log in to your emnify account.
  2. Navigate to your Device Policies.
  3. Under Service Policies, choose the policy you want to update and click Details.
  4. Find the SMS interface section and select SMPP.

When you select SMPP as your SMS interface, you're given a System ID and Password to access the emnify SMPP Server.

tip

For an example of integrating SMPP with a third-party application, see emnify SMS via SMPP integration with Gurtams' flespi and Wialon.

Reset the SMPP password

  1. Log in to your emnify account.
  2. Navigate to your Device Policies.
  3. Under Service Policies, choose the policy you want to update and click Details.
  4. In the SMS interface section under SMPP, click Reset Password.
warning

The SMPP password isn't displayed again, so store it in a safe place.