GET : /users
Get Details of all the Users
POST : /login
Login. Requires 'email' and 'password'. Returns a TOKEN
POST : /register
Register. Requires 'email', 'password', 'phone_number'.
[NEED ADMIN PERMISSION]
GET : /dashboard
GET DASHBOARD. Returns JSON with User Info.
POST : /add_contact
Add New Contact to Database.
Requires 'name', 'email', 'phone'
GET : /services
Shows all the Services.
[NEED ADMIN PERMISSION]
GET : /view_logs
See all the Logs
[NEED ADMIN PERMISSION]
GET : /contacts/all
View all the Contacts in the Database.
[NEED ADMIN PERMISSION]
GET : /contacts
View all the Contacts created by current User
GET : /schedules
View schedules by current User.
GET : /schedules/all
View all the Schedules.
[NEED ADMIN PERMISSION]
/track/<campaign_id>/<contact_id>
Log if the Email was seen