Skip to main content
POST
/
documents
/
{documentId}
/
agents
Assign document to agents
curl --request POST \
  --url https://api.getarbol.com/v1/documents/{documentId}/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentIds": [
    "<string>"
  ],
  "isEnabled": true
}
'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": {}
  },
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.

Path Parameters

documentId
string
required

Document ID

Body

application/json
agentIds
string[]
required
Minimum array length: 1
isEnabled
boolean
default:true

Response

Document assigned