cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/profiles/queries/getCurrentUserProfile \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "args": {} }'
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "_id": "<string>", "createdAt": 123, "displayName": "<string>", "languages": [ "<string>" ], "updatedAt": 123, "userId": "<string>", "age": 123, "bio": "<string>", "company": "<string>", "experience": "<string>", "field": "<string>", "gender": "male", "goals": "<string>", "jobTitle": "<string>", "linkedinUrl": "<string>" } }
Gets current user’s profile
Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.
Authorization: Bearer <user-token>
Convex executed your request and returned a result
success
error
Show child attributes