Skip to main content
PUT
/
api
/
v1
/
sip
/
alias
Add an alias to a SIP endpoint for an agent
const options = {method: 'PUT', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/sip/alias', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Query Parameters

agentId
string
required

Unique agent identifier

alias
string
required

Alias to add

Response

Alias added successfully