Skip to main content

Create DID Group

This request creates a DID group using the data passed in the query body.

post/didGroups

Sample Request

A sample POST request to create a DID group object:

curl -X POST \
'https://api.carrierx.com/conference/v1/didGroups' \
-H 'Content-Type: application/json' \
--data-binary '{"callFlowId":"1", "name":"Test DID group"}' \
-u '[your_user_name]:[your_password]'

Sample Response

200 status code with a serialized copy of the DID Group object:

{
"attributes": [],
"callFlowId": 1,
"description": "",
"id": 219,
"name": "Test DID group",
"state": -1,
"subscriberSid": "yIMW9.jKxffi2EyM.afDmeO.gke.9fe0"
}

Body Arguments

JSON representation of the fields and values of the DID Group object to be created.

Required fields to create a DID group are:

  • callFlowId
  • name

Refer to this table to view all fields that appear in the DID Group object.