Installer.com Docs
API ReferenceWorkflows
PUT
/api/routers/{routerId}/workflow-actors/{actorId}/assign

Path Parameters

routerId*string
Formatuuid
actorId*string
Formatuuid

Request Body

application/json

Assign user to actor representative payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "http://localhost:8000/api/routers/497f6eca-6276-4993-bfeb-53cbbbba6f08/workflow-actors/497f6eca-6276-4993-bfeb-53cbbbba6f08/assign" \  -H "Content-Type: application/json" \  -d '{    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"  }'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "actorId": "d2f1b55c-8cee-4a0d-af57-aebaeff77518",
  "routerId": "c3d4372d-3cfa-4618-a60e-50a4c920823d",
  "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
  "status": "sent",
  "routingAvailabilityId": "f88ffc45-6c9a-4bef-bd3f-5d28bfc867fe",
  "assignedAt": "2019-08-24T14:15:22Z",
  "revokedAt": "2019-08-24T14:15:22Z",
  "cancellationReason": "TOO_LATE"
}