Skip to navigation

Assign domain application handler

View as MarkdownOpen in Claude

Assigns an existing resource as the calling handler for a SIP Domain Application, so inbound SIP calls to that Domain Application run the resource. Use it when the Domain Application already exists and its handler should be a Fabric resource such as an AI Agent, Call Flow, or SIP Gateway. Use Create domain application to create and configure the SIP-facing Domain Application itself.

Currently only supports calling as a handler and automatically defaults to it.

Permissions

The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.

Learn more about API scopes.

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 the domain application.

Request

This endpoint expects an object.
domain_application_idstringRequiredformat: "uuid"
The id of the domain application you wish to assign a resource to.

Response

The request has succeeded and a new resource has been created as a result.
Application Addressobject
OR
Room Addressobject
OR
Call Addressobject

Errors

422
Unprocessable Entity Error
500
Internal Server Error