Request

PUT /pub/v1/integration/{code}/voip/bindings

Path parameters

Parameter name Value Description Additional
code string

Code of a system telephony module (Zadarma, etc.) or code of a custom telephony module (starts with "ext_")

Required

Request body

The resource sent in the request body is  Mappings of internal numbers with BRIX users set for a telephony module (Update the mappings of internal numbers and BRIX users in the telephony module). It contains the following writable properties:

{
    "bindings": [
        {
            "extension": "string",
            "userId": "uuid"
        }
    ]
}

Properties

Name Type Description Additional
bindings[] array

Map internal numbers with BRIX users

Optional
bindings[].extension string

Internal number linked with a BRIX user

bindings[].userId uuid

ID of the BRIX user linked with the internal number

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Model of the successful update of mappings

Model of the successful update of mappings (Update the mappings of internal numbers and BRIX users in the telephony module)
400 Bad Request

A system or custom telephony module must be used. The module has to be enabled

403 Forbidden

The user on whose behalf the data is requested must have the administrator’s permissions