/subscribers/(:id or :email)/groups

Changed on

Set the group membership for a subscriber

post/subscribers/{identifier}/groups

Request

  • Base URL
    https://api.mailerlite.com/api/v2
  • URL
    https://api.mailerlite.com/api/v2/subscribers/{identifier}/groups
  • Auth
    API key in header X-MailerLite-ApiKey

Path parameters

identifierstring required

ID or the subscriber's email

Request body

groupsinteger[]

List of group IDS

Response

200

successboolean

Example response

{
  "success": true
}

Changes