Create Group
curl --request POST \
--url https://api.example.com/api/v2/Group \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Group Management
Create Group
Create a new contact group
Create Group
curl --request POST \
--url https://api.example.com/api/v2/Group \
--header 'Content-Type: application/json' \
--data '
{
"GroupName": "<string>",
"ApiKey": "<string>",
"ClientId": "<string>"
}
'import requests
url = "https://api.example.com/api/v2/Group"
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', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ErrorCode": 123,
"ErrorDescription": "<string>",
"Data": "<string>"
}Create Group
Create a new contact group for organizing your contacts.curl -X POST "https://app.notify.ng/api/v2/Group" \
-H "Content-Type: application/json" \
-d '{
"GroupName": "New Group",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}'
const response = await fetch('https://app.notify.ng/api/v2/Group', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
GroupName: 'New Group',
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"
data = {
"GroupName": "New Group",
"ApiKey": "YOUR_API_KEY",
"ClientId": "YOUR_CLIENT_ID"
}
response = requests.post(url, json=data)
result = response.json()
print(result)
Request Body
string
required
Name for the new group
string
required
Your API key for authentication
string
required
Your client identifier for authentication
Response
number
Error code (0 for success)
string
Description of the result
string
Success message
Success Response
{
"ErrorCode": 0,
"ErrorDescription": "Success",
"Data": "success#New Group added successfully."
}
Error Response
{
"ErrorCode": 027,
"ErrorDescription": "Already exist"
}
Use Cases
- Contact organization: Create groups for different customer segments
- Targeted messaging: Organize contacts for specific campaigns
- Bulk operations: Manage large contact lists efficiently
- Integration: Sync groups with your CRM or marketing platform

