# Add subscriber to a group
# HTTP method: POST
https://api.sender.net/v2/subscribers/groups/{groupId}
Adds one or more subscribers to the specified group.
groupId string
required
Provide the group id
subscribers array
required
Array of email addresses that would be added to this group.
conditions string
Will be selecting all the subscribers at once. Won't work when sending together [subscribers] parameter.
trigger_automation boolean
This property by default its true. You ca send it as false if you want not to activate an automation.
Code snippets
Response example
{
"success": true,
"message": {
"subscribers_added_to_group": [
"[email protected]"
],
"non_existing_subscribers": [
"[email protected]"
]
}
}