Sign inGet Started

Get the voice settings

GET
/v1/voice/settings
const settings = await bird.voice.settings.get();
console.log(settings.inbound_configuration.route.type);
Respuesta200
{
  "inbound_configuration": {
    "route": {
      "type": "reject"
    }
  }
}

Returns the voice settings for your workspace.

inbound_configuration.route is what happens to calls for every Bird number that has no inbound route of its own. Verified caller IDs receive no calls, so it never applies to them. It is "reject" until you change it.

Carga de respuesta

inbound_configuration
object
obligatorio

What happens to a call arriving for any of your Bird numbers that has no inbound route of its own.

Mostrar atributos secundarios
inbound_configuration.route
object
obligatorio

The workspace's default inbound route. Defaults to "reject".

Mostrar atributos secundarios
inbound_configuration.route.type
string
obligatorio

Refuses the call. Setting it is how you stop a number answering without giving it up. It is also the default inbound route of a new workspace.

Value: reject