curl --request POST \
--url https://api.comm.com/api/v1/sms/routing/routes/smpp-connections \
--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"
}
}
curl --request POST \
--url https://api.comm.com/api/v1/sms/routing/routes/smpp-connections \
--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"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
SmsRouteSmppConnectionResource
The response is of type object
.