{"createChatMessageInput":{"patient_user_id":3,"doctor_user_id":2,"type":"Medicine intake","message":"Can i take two medicines at a time"}}
Request
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'http://localhost:3000/graphql' \
--header'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImRldjEiLCJ1c2VySWQiOjQsInVzZXJfYXNzaWdubWVudCI6ImFkbWluIiwiaWF0IjoxNzI3MzYxMDk0LCJleHAiOjE3MjczNjQ2OTR9.Zckr61S0kHq7ZogL6aI7FTeF45rSMqZM74YQ1_MAqoA'
Responses
🟢200Success
application/json
Body
Example
{"data":{"createChatMessage":{"chat_id":1,"patient_user_id":3,"doctor_user_id":2,"type":"Medicine intake","message":"Can i take two medicines at a time"}}}