create a carrier as a service provider

<Error>This endpoint is only availble with an Admin or Service Provider API key</Error>

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
diversionstringOptional
is_activebooleanOptional
smpp_system_idstringOptional
smpp_passwordstringOptional
smpp_inbound_system_idstringOptional
smpp_inbound_passwordstringOptional
trunk_typeenumOptionalDefaults to static_ip

The type of trunk to create, see the guide for details

Allowed values:
inbound_auth_usernamestringOptional<=64 characters
username for an auth trunk
inbound_auth_passwordstringOptional<=64 characters
password for an auth trunk

Response

service provider successfully created
sidstring

Errors