API requests
Vidzo.aiunknown
plain_text
a year ago
982 B
30
Indexable
Note: In all of them you need to send "Bearer Token" in Authorization header for a response. POST : https://backend.bharatmenu.com/api/make-tasks/ [It will automatically pull user from auth token sent in Authorization header] Sample Request: { "taskName": "Gym task", "description": "Gym daily keeps doctor away" } GET : https://backend.bharatmenu.com/api/get-tasks [It will pull automatically user from auth token sent in Authorization header or creates a new user with first time call] POST: https://backend.bharatmenu.com/api/make-reminder/ [It will create a reminder corresponsing to the taskId sent in POST request] Sample Request: { "phone_number": "+919023389953", "message": "Hi, Happy New year AWS", "reminder_time" : "2024-01-01T18:44:00Z", "taskId": 3 } GET: https://backend.bharatmenu.com/api/get_reminders/{taskId}/ [It will get all the reminders corresponding to taskId sent in URL above {taskId} ]
Editor is loading...
Leave a Comment