Create Sub-Group
curl --request POST \
--url https://api.example.com/api/v2/Group/{Id}/SubGroup \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group/{Id}/SubGroup"
payload = {
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({GroupName: '<string>', ApiKey: '<string>', ClientId: '<string>'})
};
fetch('https://api.example.com/api/v2/Group/{Id}/SubGroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Group Management
Create Sub-Group
Create a sub-group under an existing group
Create Sub-Group
curl --request POST \
--url https://api.example.com/api/v2/Group/{Id}/SubGroup \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group/{Id}/SubGroup"
payload = {
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({GroupName: '<string>', ApiKey: '<string>', ClientId: '<string>'})
};
fetch('https://api.example.com/api/v2/Group/{Id}/SubGroup', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Create Sub-Group
Create a sub-group under an existing parent group for hierarchical organization.curl -X POST "https://app.notify.ng/api/v2/Group/33/SubGroup" \
-H "Content-Type: application/json" \
-d '{
"GroupName": "Sub Group Name",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}'
const response = await fetch('https://app.notify.ng/api/v2/Group/33/SubGroup', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
GroupName: 'Sub Group Name',
ApiKey: 'YOUR_API_KEY',
ClientId: 'YOUR_CLIENT_ID'
})
});
const data = await response.json();
console.log(data);
import requests
url = "https://app.notify.ng/api/v2/Group/33/SubGroup"
data = {
"GroupName": "Sub Group Name",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}
response = requests.post(url, json=data)
result = response.json()
print(result)
Path Parameters
Request Body
Response
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "success#New Group added successfully."
}
Use Cases
- Hierarchical organization: Create nested group structures
- Department organization: Organize contacts by departments and teams
- Geographic grouping: Create location-based sub-groups
- Campaign segmentation: Create targeted sub-groups for specific campaigns

