Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Create subscriber API #32

Open
MarshallAsch opened this issue Jun 5, 2019 · 0 comments
Open

Create subscriber API #32

MarshallAsch opened this issue Jun 5, 2019 · 0 comments
Labels

Comments

@MarshallAsch
Copy link
Member

MarshallAsch commented Jun 5, 2019

Edit this may be changed to use a mailing list platform like mailjet or mailgun

This is to manage the people on the mailing list to be called from the admin page created in #31.

GET /api/v1/subscribers?offset=0&limit=20 to get the paged list of people on the mailing list
DELETE /api/v1/subscribers/:subscriberId to remove them from the list
POST /api/v1/subscribers to manually add someone to the list.

Note that when manually adding someone to the list it will override the email verification stage.
The post request will take a JSON object something like:

{
    "email": "[email protected]"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant