Skip to main content
PUT
/
reviews
Upsert review
curl --request PUT \
  --url https://app2.freyavoice.ai/api/v2/reviews \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "callId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reviewAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reviewStatus": "No Review Status",
  "reviewTag": "Successful",
  "reviewNotes": "<string>"
}
'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "review": {
        "id": "<string>",
        "callId": "<string>",
        "workspaceId": "<string>",
        "reviewAssignee": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "reviewStatus": "No Review Status",
        "reviewTag": "Successful",
        "createdAt": "<string>",
        "updatedAt": "<string>",
        "reviewNotes": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
workspaceId
string<uuid>
required

Workspace ID

callId
string<uuid>
required

Call ID

reviewAssignee
string<uuid> | null

Assignee user ID (deprecated)

reviewStatus
enum<string>

Review status

Available options:
No Review Status,
Pending Review,
In Progress,
Completed,
Not Needed
reviewTag
enum<string> | null

Review tag

Available options:
Successful,
Technical Issue,
Wrong Number,
No Answer,
Needs Review,
reviewNotes
string | null

Review notes

Response

Review created or updated

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