v1
latestOpenAPI 3.1.02026-07-2624070.9 KB/groups/group_name/subscribers/:subscriber_id/assign
Assigns a subscriber to the group with the given name. If the group doesn't exist, it gets created. If multiple groups with the same name exist, the subscriber is assigned to the oldest group. [Rate limited]
post/groups/group_name/subscribers/{id}/assign
Path parameters
idinteger required
The ID of the subscriber to assign to the group
Request body
Response
200
Example response
{
"id": 1343965485,
"name": "John",
"email": "demo@mailerlite.com",
"type": "active",
"fields": [
{
"key": "email",
"value": "demo@mailerlite.com",
"type": "TEXT"
}
],
"date_created": "2016-04-04"
}