Skip to main content
POST
/
api
/
run
/
users
/
mutations
/
updateUserInterests
updateUserInterests
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/users/mutations/updateUserInterests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "userId": "user_9f3c2ab457",
    "interests": [
      "software-engineering",
      "startups",
      "machine-learning"
    ]
  }
}'
{
  "status": "success",
  "errorMessage": "",
  "errorData": {},
  "value": null
}

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
string | null