GET
/
agent-documents
curl --request GET \
  --url https://app.phonely.ai/api/agent-documents \
  --header 'X-Authorization: <api-key>'
{
  "documents": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "name": "<string>",
      "active": true,
      "fileUrl": "<string>",
      "lastUpdatedBy": "<string>",
      "lastUpdatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-Authorization
string
header
required

Query Parameters

uid
string
required

User ID

agentId
string
required

Agent ID

Response

200
application/json

List of documents

The response is of type object.