SelfAssignEngagement allows an agent to assign an engagement to themselves.
POST/api/v1/engagements/conversations/:id/self-assign
Before assignment, validates that:
- The agent has an active unified agent profile
- The agent has a valid seat with access to the engagement's channel
- The organization has an active license for the channel
Errors
- NOT_FOUND: Engagement not found
- FAILED_PRECONDITION: Agent does not have channel access, no valid license, agent at capacity, or engagement already assigned
- PERMISSION_DENIED: Caller lacks self-assignment permission
Request
Responses
- 200
- default
A successful response.
An unexpected error response.