cURL
curl --request GET \ --url http://localhost:8000/api/telephony/lookup
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Look up an agent by its assigned phone number. Used by the agent worker for SIP dispatch.
The phone number to look up
Successful Response