Agent/Agent Pin Cli
PUT /v1/agent/clis/pinned

Agent Pin Cli

Base URL https://api.{cluster}.{platform}.voiger.io
Request · cURL
curl -X PUT https://api.{cluster}.{platform}.voiger.io/v1/agent/clis/pinned \
  -H "Cookie: sid=$VOIGER_SESSION" \
  -H "x-workspace-code: your-workspace-code" \
  -H "x-csrf-token: $CSRF_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "cli": {
         "id": "47eb5f46-f7d1-49b9-86e9-6f3d65c7bfc7",
         "reference_id": "aceb5f46-f7d1-49b9-86e9-6f3d65c7bfc3",
         "type": "queue"
       }
     }'

Parameters

x-workspace-code string required in header
x-csrf-token string required in header

Response

cli▾
object
id
string
reference_id
string
type
string
phone
string
pinned
boolean