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

Response

200
application/json

SmsRouteSmppConnectionResource

The response is of type object.