Assign to Channel Group

/channelgroup
Full Url:
Arguments:
  • token (string, required),
  • did_id (int, required),
  • channel_group_id (int, required)
Info: Assign a phone number to a channel group. Pass channel_group_id of "none" to remove did from all channel groups
Example Success
{
"code": 200,
"status": "success",
"data": "Successfully set channel group"
}
Example Error
{
"code": 400,
"status": "error",
"data": "Invalid channel group id"
}