Skip to Content
EIS
API Referencev1VoIP DSS

Create a DSS Trunk from a Preset

POST
/v1/voip/dss/trunks

Provision a DSS trunk using a visible preset and the supplied field values. Requires the trunksip_add authority.

The response includes an actionObject. Use its module, organization, object type, object identifier, and context to discover and execute the runtime actions available for the new trunk.

Request Body

application/json
  1. body
presetId*integer
Formatint64
Range1 <= value
idCustomer*integer
Range1 <= value
organizationId?integer

Organization identifier. Use 0 to resolve it from the authenticated user.

Formatint64
Range0 <= value
Default0
parameters?

Values for the configurable preset fields.

Response Body

DSS trunk provisioned successfully.

application/json
  1. response
presetId*integer
Formatint64
presetCode*string
label*string
status*string
data*

Public provisioning outputs. Sensitive or one-time values may be included.

actionObject*
Example Request
curl -X POST 'https://api.eis.it/v1/voip/dss/trunks' \  -H 'Content-Type: application/json' \  -d '{  "presetId": 1,  "idCustomer": 1}'
Example Response
{  "presetId": 0,  "presetCode": "string",  "label": "string",  "status": "string",  "data": {},  "actionObject": {    "moduleId": 1,    "organizationId": 1,    "objectType": "string",    "objectId": "string",    "context": {      "property1": "string",      "property2": "string"    }  }}