cURL
curl --request GET \ --url https://supmaya.com/api/v1/agent/{agent} \ --header 'Authorization: Bearer <token>'
{ "id": 123, "name": "<string>", "questions": "<string>", "knowledge_base": "<string>", "booking_link": "<string>", "webhook_url": "<string>", "webhook_zapier": "<string>", "show_heading": true, "active": true, "customisation": {}, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Returns a single agent by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Agent ID
Agent