Fetchply Docs
GET
/api/v1/agents/{id}

Returns detailed information about a specific chatbot agent.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fp_ prefix. Generate keys in your Fetchply dashboard under Settings > API Keys.

In: header

Path Parameters

id*string

The chatbot agent ID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://fetchply.com/api/v1/agents/string"
{
  "success": true,
  "data": {
    "id": "string",
    "name": "string",
    "url": "string",
    "status": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "modelId": "string",
    "welcomeMessage": "string"
  }
}
{
  "success": false,
  "error": "Invalid or missing API key"
}
{
  "success": false,
  "error": "Resource not found"
}
{
  "success": false,
  "error": "Rate limit exceeded"
}