{
"requestId": "<string>",
"state": "completed",
"agent": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"chats": [
"<string>"
],
"delivery": "pull",
"version": 2
},
"automation": {},
"replayed": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Agents
Create a scoped pull agent without enrolled chats
Requires agents:manage. Only API-owned pull agents of this exact key and number may be managed. New agents start with no chats; no callback URL is accepted. Stable Idempotency-Key and current versions are required.
{
"requestId": "<string>",
"state": "completed",
"agent": {
"id": "<string>",
"name": "<string>",
"enabled": true,
"chats": [
"<string>"
],
"delivery": "pull",
"version": 2
},
"automation": {},
"replayed": true
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
application/json