curl--location--request POST 'http://localhost:3000/graphql' \
--header'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA'
Responses
🟢200Success
application/json
Body
Example
{"data":{"getChatMessages":[{"chat_id":2,"patient_user_id":2,"doctor_user_id":1,"type":"Medicine intake","message":"no"},{"chat_id":3,"patient_user_id":2,"doctor_user_id":1,"type":"Medicine intake","message":"Can i take two medicines at a time"}]}}