Skip to content

Agent Details Callback

Request

HTTP callback endpoint to receive agent details from the subscriber.

If a WebSocket is already connected for this job_number, the data is sent immediately.

If NOT, we queue the data in pending_messages so it can be sent as soon as the WebSocket connects (avoids race conditions).

Security
BearerAuth
Query
job_numberstring(Job Number)required
Bodyapplication/jsonrequired
Array of objects(Agent Details)
POST
/api/v1/callback/emulator
curl -i -X POST \
  'https://matric-docs.redocly.app/_mock/openapi/api/v1/callback/emulator?job_number=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '[
    {}
  ]'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response example