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>"
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>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
SellerEndpointDataRequest
The body is of type object
.
The response is of type string
.