Subscribers

All endpoints require authentication.

GET /subscribers?page=2

Retrieve a list of subscribers

GET /subscribers/:id

Retrieve a subscriber by it’s ID. The ID can be the id in the database or the subscriber email.

POST /subscribers

Create a new subscriber.

{
    "email": "[email protected]",
    "first_name": "Richard",
    "last_name": "Hendricks",
    "email_status": "active",
    "opt_in": true,
}

PUT /subscribers/:id

Update a subscriber.

{
    "first_name": "Richard",
    "last_name": "Hendricks",
}

DELETE /subscribers/:id

Delete a subscriber.

{
    "first_name": "Richard",
    "last_name": "Hendricks",
}