You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API to send email (refer sendgrid API)
GET /api/emails/:emailId - Get the email from id (used for the draft)
POST /api/emails/send - Send an email
PATCH /api/emails/:emailId- Update the drafted email before sending it.
DELETE /api/emails/:emailId - Delete the draft for the email.
Templates APIs
GET /api/templates - Get templates
POST /api/templates - Create a new template
PATCH /api/templates/:templateId - Update a template
DELETE /api/templates/:templateId - delete a template
Contacts API (subscribe/unsubscribe)
GET /api/contacts/:listId - Get all the contacts associated with the contact list of specific id
POST /api/contacts/:listId - Create a new contact
PATCH /api/contacts/:contactId - Update the contact's status (subscribe / unsubscribe )
DELETE /api/contacts/:contactId - Delete a contact
GET /api/contacts - Get all the contacts regardless of the contact lists.
APIs for the Dashboard (overview/stats)
GET /api/dashboard/stats - Get the stats data
This is a placeholder ticket for listing all high level APIs for the mail service. This should include the following:
The text was updated successfully, but these errors were encountered: