Skip to main content
POST
/
api
/
run
/
profiles
/
queries
/
getCurrentUserProfile
getCurrentUserProfile
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>",
    "age": 123,
    "bio": "<string>",
    "company": "<string>",
    "createdAt": 123,
    "displayName": "<string>",
    "experience": "<string>",
    "field": "<string>",
    "gender": "male",
    "goals": "<string>",
    "jobTitle": "<string>",
    "languages": [
      "<string>"
    ],
    "linkedinUrl": "<string>",
    "updatedAt": 123,
    "userId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
object | null