v1

latestOpenAPI 3.1.02026-07-2624070.9 KB

/groups/group_name/subscribers

Add a new single 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 added to the oldest group. [Rate limited]

post/groups/group_name/subscribers

Request body

group_namestring

The name of the group to add the subscriber to

emailstring

email of new subscriber

namestring
resubscribeboolean

reactivate subscriber if value is true

autorespondersboolean

autoresponders will be sent if value is true

typestring

available values: unsubscribed, active, unconfirmed

Response

200

idinteger
namestring
emailstring
sentinteger
openedinteger
clickedinteger
typestring
{"stackTrail":"paths:/groups/group_name/subscribers:post:responses:200:content:application/json:schema:properties:date_subscribe","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/groups/group_name/subscribers:post:responses:200:content:application/json:schema:properties:date_unsubscribe","oasType":"schema","type":"unknown"}
date_createdstring

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"
}