Dark mode is now available in beta
cURL
curl --request POST \ --url http://localhost:3000/api/user/courses \ --header 'Content-Type: application/json' \ --header 'x-access-token: <api-key>' \ --data '{}'
{ "success": true, "data": [ { "_id": "688b024f7db6fe6e921399e3", "name": "Converssation 123", "history_count": 12 } ] }
Gets a list of all conversations associated with the authenticated user
JWT token passed in x-access-token header
Empty object for this endpoint
Successfully retrieved user courses
Indicates if the request was successful
Array of course objects matching the search criteria
Show child attributes
Was this page helpful?