curl --request PUT \
--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",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"assignees": [
{
"id": "<string>",
"reviewId": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assignedAt": "<string>",
"userName": "<string>",
"assignedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
}Replaces all assignees with the provided list. Pass an empty array to remove all assignees.
curl --request PUT \
--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",
"userIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"success": true,
"data": {
"message": "<string>",
"result": {
"success": true,
"assignees": [
{
"id": "<string>",
"reviewId": "<string>",
"userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"assignedAt": "<string>",
"userName": "<string>",
"assignedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Review ID