cURL
curl --request POST \ --url https://connvo-dev.convex.cloud/api/run/matching/index/getQueueStatus \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "args": {} }'
{ "status": "success", "errorMessage": "<string>", "errorData": {}, "value": { "_creationTime": 123, "_id": "<string>", "availableFrom": 123, "availableTo": 123, "constraints": { "interests": [ "<string>" ], "roles": [ "<string>" ], "orgConstraints": "<string>" }, "createdAt": 123, "status": "waiting", "updatedAt": 123, "userId": "<string>", "estimatedWaitTime": 123, "matchedWith": "<string>", "potentialMatches": 123, "queuePosition": 123 } }
Calls a query at the path matching/index.js:getQueueStatus
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