Sign Up
HomeGuidesVerbsAPI ReferenceClient SDKsTutorialsChangelog
HomeGuidesVerbsAPI ReferenceClient SDKsTutorialsChangelog
    • Introduction
  • REST Call Control
  • REST Platform Management
  • Webhooks
    • GETNew Call
    • POSTNew Call
    • POSTClient Authentication
    • POSTNew Client Tool Request
  • Websocket API
Sign Up
LogoLogo
REST Platform ManagementCarriers

POST
https://api.jambonz.cloud/v1/ServiceProviders/:ServiceProviderSid/VoipCarriers
POST
/v1/ServiceProviders/:ServiceProviderSid/VoipCarriers
1curl -X POST https://api.jambonz.cloud/v1/ServiceProviders/ServiceProviderSid/VoipCarriers \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "service_provider_sid": "6072f617-6151-4c15-8eb9-74a4967ab701",
6 "name": "my carrier"
7}'
Try it
201Created
1{
2 "sid": "9d26a637-1679-471f-8da8-7150266e1254"
3}
Was this page helpful?
Previous

get all carriers for an account

Next
Built with
<Error>This endpoint is only availble with an Admin or Service Provider API key</Error>
create a carrier as a service provider
This endpoint is only availble with an Admin or Service Provider API key

Authentication

AuthorizationBearer

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

Path parameters

ServiceProviderSidstringRequired

Request

This endpoint expects an object.
service_provider_sidstringRequiredformat: "uuid"
namestringRequired
descriptionstringOptional
account_sidstringOptionalformat: "uuid"
application_sidstringOptionalformat: "uuid"
e164_leading_plusbooleanOptional
requires_registerbooleanOptional
register_usernamestringOptional
register_sip_realmstringOptional
register_passwordstringOptional
tech_prefixstringOptional
inbound_auth_usernamestringOptional
inbound_auth_passwordstringOptional
diversionstringOptional
is_activebooleanOptional
smpp_system_idstringOptional
smpp_passwordstringOptional
smpp_inbound_system_idstringOptional
smpp_inbound_passwordstringOptional
smpp_enquire_link_intervalintegerOptional

Response

service provider successfully created
sidstring

Errors