Loading
Cart Total
$0.00
-
Your shopping cart is empty
Loading
Hello! Log in Your Account
New customer? Start here
SIP Trunks
Storefronts
Customer Management
VoIP Bundle (Subscriptions)
SIP Account Management
Audio Management
Phone Numbers & Call Routing
Phone Calls & CDR Data
VoIP Phone Short Code
eFax Management
Voicemails & Mailboxes
Caller ID
SIP Trunks
Wallboard Statistics
VoIP Phone Provisioning
Call Queueing
Phone Books
VoIP Phone Speed Dial
Text (SMS) Messaging
A Trunk Authentication is a method of authorizing calls into the system. This can either be by IP, or username/password
Become a ResellerFilter:
* You will be charged every time this command is run.
Gets a list of all of the authentication methods for the given trunk
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Trunk to be queried
200 Response
{
"result" : [
{
"created_on" : "2023-06-02",
"ip" : "255.255.255.255",
"password" : "secret",
"type" : "ip",
"updated_on" : "2023-06-02",
"username" : "pete_plumber1",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
}
],
"status_code" : 200,
"status_message" : "OK"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
Gets the details of a specific authentication method for the given trunk
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Trunk to be queried
auth_uuid
String
True
The UUID of the Trunk Authentication method to be queried
200 Response
{
"result" : {
"created_on" : "2023-06-02",
"ip" : "255.255.255.255",
"password" : "secret",
"type" : "ip",
"updated_on" : "2023-06-02",
"username" : "pete_plumber1",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 200,
"status_message" : "OK"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
409 Response
{
"result" : {},
"status_code" : 409,
"status_message" : "Conflict"
}
Creates a new authentication method for the given trunk
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Trunk to be updated
POST body
Name
Type
Required
ip
String
True
If type is 'ip', this is the IP Address we will use to authenticate incoming calls.
password
String
True
If type is 'sipuser', this is the SIP Password we will use to authenticate incoming calls.
type
String
True
The type of authentication method. Either 'ip' or 'sipuser'.
username
String
True
If type is 'sipuser', this is the SIP Username we will use to authenticate incoming calls.
JSON all-fields example:
{
"ip" : "255.255.255.255",
"password" : "secret",
"type" : "ip",
"username" : "pete_plumber1"
}
201 Response
{
"result" : {
"created_on" : "2023-06-02",
"ip" : "255.255.255.255",
"password" : "secret",
"type" : "ip",
"username" : "pete_plumber1",
"uuid" : "31347d42-00bd-44a5-9b5c-20dc4197a2f6"
},
"status_code" : 201,
"status_message" : "Created"
}
400 Response
{
"result" : {},
"status_code" : 400,
"status_message" : "Bad Request"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}
409 Response
{
"result" : {},
"status_code" : 409,
"status_message" : "Conflict"
}
Deletes the specified trunk authentication method from the given trunk
Back to top
Request Details
Response Details
URL and Query String Parameters
Name
Type
Required
uuid
String
True
The UUID of the Trunk to be updated
auth_uuid
String
True
The UUID of the Trunk Authentication method to be deleted
204 Response
{
"result" : {},
"status_code" : 204,
"status_message" : "No Content"
}
404 Response
{
"result" : {},
"status_code" : 404,
"status_message" : "Not Found"
}