cURL
curl --request POST \ --url https://app.phonely.ai/api/get-agent \ --header 'Content-Type: application/json' \ --header 'X-Authorization: <api-key>' \ --data '{ "uid": "<string>", "agentId": "<string>" }'
{ "uid": "<string>", "agentId": "<string>", "name": "<string>", "country": "<string>", "businessPhoneNumber": "<string>" }
Retrieve agent information based on the provided user ID and agent ID
Successful response
The response is of type object.
object