Skip to content

agent_data_callback

Agent Data Callback

Request

Callback endpoint to receive agent data from the subscriber. The data will be sent to the WebSocket client identified by the job_number.

Security
CallbackToken
Query
job_numberstring(Job Number)required
Headers
x-callback-tokenstring or null(X-Callback-Token)
Any of:
string
Bodyapplication/jsonrequired
Array of any(Data)
POST
/api/v1/callback/agent_data
curl -i -X POST \
  'https://matric-docs.redocly.app/_mock/openapi/api/v1/callback/agent_data?job_number=string' \
  -H 'Content-Type: application/json' \
  -H 'X-Callback-Token: YOUR_API_KEY_HERE' \
  -H 'x-callback-token: string' \
  -d '[
    null
  ]'

Responses

Successful Response

Bodyapplication/json
any
Response
// No response example