Creating a Number Group

Using the POST method with the Groups will create a new Group

POST https://api.telmetrics.com/v3/api/groups

The following sample request can be used to create a Group

curl -H "x-organization-token: {authorization_token}" \
     -X POST \
     "https://api.telmetrics.com/v3/api/groups" \
     -d '{
    "name": "ABC Company",
    "time_zone_id": "Central",
    "group_owner_id": 1235,
    "billing_group_id": 4455,
    "rich_data_type": "Basic",
    "dni_type": "channel"
    }'

If the request is handled successfully, the following response will be returned:

{
    "id": 11623277,
    "name": "ABC Company",
    "time_zone_id": "Central",
    "group_owner_id": 1235,
    "rich_data_type": "Basic",
    "dni_type": "channel",
    "billing_group_id": 4455,
    "tracking_javascript": "<script type=\"text/javascript\" src=\"#{dni-api-url}/sdk?identifier=24efb488-2675-41dd-8ad3-95233754290b\" async></script>",
    "status": "active",
    "created_datetime": "2018-04-11T17:03:06.3506886Z",
    "modified_datetime": "2018-04-11T17:03:06.3506886Z"
}