Skip to main content
POST
/
reviews
/
{reviewId}
/
assignees
Add assignee
curl --request POST \
  --url https://app2.freyavoice.ai/api/v2/reviews/{reviewId}/assignees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "success": true,
      "assignee": {
        "id": "<string>",
        "reviewId": "<string>",
        "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "assignedAt": "<string>",
        "userName": "<string>",
        "assignedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

reviewId
string<uuid>
required

Review ID

Body

application/json
workspaceId
string<uuid>
required

Workspace ID

userId
string<uuid>
required

User ID to assign

Response

Assignee added

success
enum<boolean>
required
Available options:
true,
false
data
object
required