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
CallbackToken
POST
curl -i -X POST \
'https://matric-docs.redocly.app/_mock/openapi/api/v1/callback/agent_details?job_number=string' \
-H 'Content-Type: application/json' \
-H 'X-Callback-Token: YOUR_API_KEY_HERE' \
-H 'x-callback-token: string' \
-d '[
{}
]'