POST
/
v1
/
hub
/
endpoints
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/hub/endpoints \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "username": "<string>",
  "password": "<string>",
  "client_company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sms_routing_plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "default_route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pricing_update_email": "jsmith@example.com",
  "allowed_ips": [],
  "tags": [],
  "tx": 1,
  "rx": 1,
  "trx": 1,
  "is_sending_allowed": true,
  "max_price": 0,
  "is_max_price_enabled": false,
  "min_margin": 123,
  "active_connections": {
    "tx": 123,
    "rx": 123,
    "trx": 123
  }
}'
"<string>"

Authorizations

Authorization
string
header
required

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

Body

application/json

SellerEndpointDataRequest

username
string
required
password
string
required
client_company_id
string<uuid>
required
sms_routing_plan_id
string<uuid>
required
id
string | null
name
string | null
default_route_id
string<uuid>
pricing_update_email
string<email> | null
allowed_ips
string[] | null
tags
string[] | null
tx
integer
default:1
rx
integer
default:1
trx
integer
default:1
is_sending_allowed
boolean
default:true
max_price
number
default:0
is_max_price_enabled
boolean
default:false
min_margin
integer | null
active_connections
object | null

Response

The response is of type string.