Skip to main content
POST
/
api
/
run
/
core
/
track_user
/
run
Calls a mutation at the path core/track_user.js:run
curl --request POST \
  --url https://ardent-sandpiper-70.convex.cloud/api/run/core/track_user/run \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "args": {
    "baggage": {
      "trace_id": "<string>",
      "traffic_type": "external"
    },
    "session_id": "<string>",
    "visitor_id": "<string>"
  }
}
'
{
  "status": "success",
  "errorMessage": "<string>",
  "errorData": {},
  "value": "<unknown>"
}

Authorizations

Authorization
string
header
required

Token of the format "Bearer {token}" for normal authentication and "Convex {token}" for admin tokens.

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
any