HTTP IN trunk settings reference#
This reference describes the fields available when creating or editing an HTTP IN trunk. The settings are grouped by the form sections shown in the DIDWW User Panel.
For configuration steps, see Create an HTTP IN trunk or Manage HTTP IN trunks.
General settings#
The General section identifies the trunk and defines how incoming SMS messages are delivered to your HTTP endpoint.
Field |
Availability |
Description |
|---|---|---|
Friendly name |
Required |
Unique name used to identify the trunk. For example,
|
HTTP Method |
Required |
HTTP method used to deliver messages: |
Validate HTTPS Certificate |
Optional |
Validates the TLS certificate of the destination server. Default: on. |
Follow redirect |
Optional |
Follows redirects when the server responds with a |
Request URL |
Required |
URL of your web server or application endpoint, in the format
|
Query Parameters |
Optional |
Key-value pairs added to the request URL. Click Add Parameter to add a pair. Each added pair requires a Key and a Value. Click × to remove a pair. |
Headers |
Optional |
Custom HTTP headers sent with the request. Click Add Header to add a header. Each added header requires a Key and a Value. Click × to remove a header. |
Body parameters#
The Body Parameters section defines the body of POST and PUT
requests.
Field |
Availability |
Description |
|---|---|---|
Body type |
Required for |
Format of the request body. See Body type values. |
Request body |
Required for JSON and RAW |
Content of the request body. For example,
|
Key and Value |
Required for HTML Multipart and HTML URL Encoded |
Body parameters sent as key-value pairs. Click Add Parameter to add a pair, or × to remove one. |
Value |
Body format |
Body fields |
|---|---|---|
JSON |
JSON object ( |
Request body |
HTML Multipart |
Key-value pairs ( |
Key and Value pairs |
HTML URL Encoded |
Key-value pairs ( |
Key and Value pairs |
RAW |
Raw, unformatted payload |
Request body |
Request variables#
You can use the following variables in the Request URL, Query Parameters, Headers, and request body to customize the request. Each variable is replaced with the corresponding value from the received SMS.
Variable |
Description |
Example |
|---|---|---|
|
The unique ID of the received message. |
|
|
The time the SMS was received, in UTC. |
|
|
The sender address. A phone number is shown in international format without the plus sign. Some senders use an alphanumeric sender ID instead of a phone number. |
|
|
The DID number that received the SMS, in international format without the plus sign. |
|
|
The raw text of the SMS message. For a long SMS sent in several parts, the complete, reassembled text. See Technical details. |
|
|
The SMS message text encoded in Base64. |
|
The variables box in the trunk form lists all variables except
{SMS_UUID}, which is also supported. For the request properties and the
DIDWW source IP addresses, see the Inbound SMS specification.
Trunk group settings#
The optional Trunk Group Configuration section assigns the trunk to an existing SMS trunk group.
Field |
Availability |
Description |
|---|---|---|
Assign to trunk group |
Optional |
Existing SMS trunk group to which the trunk is assigned. |
Priority |
Optional |
Priority of the trunk within the selected trunk group. It determines
the order in which trunks will be used. The system attempts to contact
the target SMS trunk with the highest-numbered priority first. Trunks
with the same priority are tried in a random order. Range: |