Get SIP address

View as MarkdownOpen in Claude
Returns a SIP address by ID. #### Permissions The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Calling_, _Fax_, _Messaging_, or _Video_. [Learn more about API scopes](/docs/platform/your-signalwire-api-space).

Authentication

AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token. The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password. Example: ``` Authorization: Basic base64(project_id:token) ```

Path parameters

idstringRequiredformat: "uuid"
Unique ID of a SIP Address.

Response

The request has succeeded.
idstringformat: "uuid"
Unique identifier for the SIP address.
typeenum

The object type. Always sip_address.

resource_idstringformat: "uuid"
ID of the resource this address belongs to.
namestring

URL-safe name for the SIP address. Used to build its SIP URI.

display_namestring

Human-friendly label for the SIP address. Defaults to name.

contextstring

The Domain this address is grouped under — for example, public for your project’s default Domain.

uristring
Full SIP URI for this address.
userstring

SIP username used to reach this address. * accepts any username.

encryptionenum
SRTP encryption requirement for calls to this address.
codecslist of enums
Enabled codecs for calls to this address.
cipherslist of enums
Enabled SRTP ciphers for calls to this address.
ip_auth_enabledboolean
Whether IP authentication is enforced for this address.
ip_authlist of strings

Whitelisted IP/CIDR entries used when ip_auth_enabled is true.

calling_handler_resource_idstringformat: "uuid"
ID of the resource that handles inbound calls to this address.
created_atdatetime
Date and time when the SIP address was created.
updated_atdatetime
Date and time when the SIP address was last updated.

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error