Get agent

Returns the agent identified by agent_id.

Path Parameters
  • agent_id
    Type: integer
    required

    Identifier of the agent.

Responses
  • application/json
Request Example for get/agents/{agent_id}/
curl https://chat.landbot.io/v1/agents/1/ \
  --header 'Authorization: YOUR_SECRET_TOKEN'
{
  "success": true,
  "agent": {
    "id": 42,
    "name": "Enemesio",
    "avatar": "https://octodex.github.com/images/dojocat.jpg"
  }
}