get https://crazytel.io/api/v1/sip-trunks/
Retrieve SIP trunk details. If username or id is provided, returns details for a specific trunk.
Otherwise, returns all trunks associated with the account.
Parameters
username
: Optional. The username of the specific SIP trunk to retrieveid
: Optional. The ID of the specific SIP trunk to retrieve
Returns
List of SIP trunk objects containing details such as:
- ID
- Client account code
- Username
- Enabled status
- SIP domain
- Area code
- Caller ID number
- Description
- Other configuration flags
Raises
401
- If unauthorized500
- If there is an error communicating with the Crazytel API