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