POST
/
v1
/
sms
/
routing
/
routes
/
smpp-connections
/
{smpp}
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/sms/routing/routes/smpp-connections/{smpp} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "username": "<string>",
  "password": "<string>",
  "port": 123,
  "dlr_url": "<string>",
  "dlr_port": 123,
  "workers_count": 5,
  "workers_delay": 123,
  "system_type": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "url": "<string>",
    "username": "<string>",
    "password": "<string>",
    "port": "<string>",
    "dlr_url": "<string>",
    "dlr_port": "<string>",
    "workers_count": 123,
    "workers_delay": "<string>",
    "system_type": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "type": "SMPP"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

smpp
string<uuid>
required

The smpp ID

Body

application/json
url
string
required
username
string
required
password
string
required
port
integer
required
dlr_url
string | null
dlr_port
integer | null
workers_count
integer | null
Required range: 1 <= x <= 10
workers_delay
number | null
system_type
string | null

Response

SmsRouteSmppConnectionResource

data
object
required