To enable SMS/MMS sending from PortSIP PBX, you must generate a Telnyx API key.
Follow these steps on the Telnyx platform:
Sign in to your Telnyx account.
Navigate to Account Settings > Keys & Credentials.
Click Create API Key.
Copy and securely store the API key.
❗Important
The API key is shown only once at creation time.
Make sure to copy and save it securely—you will need it later when configuring SMS/MMS in PortSIP PBX.
❗Security Best Practice
Treat the API key as a sensitive credential.
If the key is compromised, revoke it immediately and generate a new one.
Create an SMS Profile
To enable SMS/MMS for your Telnyx numbers, you must first create a Messaging Profile and then assign it to your purchased numbers.
Step 1: Create a Messaging Profile
Sign in to your Telnyx account.
Navigate to Messaging > Programmable Messaging.
Click Add New Profile.
On the profile details page:
Enter a Profile Name (for example, PortSIP PBX SMS).
Click Manage Allowed Destinations.
Select at least one destination (country or region) where you plan to send SMS.
Click Set Destinations.
Click Save to create the messaging profile.
❗Important
After the profile is created, copy and save the Profile ID shown on the details page.
You will need this value later when configuring SMS in PortSIP PBX.
Step 2: Assign the Messaging Profile to Phone Numbers
Navigate to Numbers > My Numbers.
Click the My Numbers tab to view your purchased phone numbers.
Locate the Messaging Profile (or Required for SMS) column.
Click the field for the desired phone number.
Select the Messaging Profile you created earlier.
Save the changes.
Configure SMS with Telnyx Trunk in PortSIP PBX
Before configuring SMS in PortSIP PBX, ensure that a Telnyx SIP trunk has already been configured using one of the following guides:
Paste the copied PortSIP PBX SMS Webhook URL into the field
Send a webhook to this URL.
Click Save.
Verify the Configuration
At this point, the Telnyx SMS/MMS integration is complete.
You can now create outbound and inbound rules in PortSIP PBX to send and receive SMS/MMS messages using the Telnyx trunk, just as you would configure rules for outbound and inbound voice calls.