Skip to main content
POST
Re-score a call

Authorizations

Authorization
string
header
required

Use a public API key with the endpoint's required scope.

Headers

Idempotency-Key
string

Any unique value, up to 255 characters. A retry with the same key within 24 hours returns the first answer, with Idempotent-Replayed: true, instead of doing the work again.

Maximum string length: 255

Path Parameters

callId
string<uuid>
required

Call ID.

Query Parameters

workspace_id
string<uuid>

Workspace ID filter. Required for selected-workspace API keys and optional for all-workspace API keys. The value must be within the API key's accessible scope.

Body

application/json
reason
string
required

Why the call is re-scored. Kept in the scorecard change log.

Required string length: 1 - 500
scorecard_id
string<uuid>

The scorecard to score the call with. Omit it to re-score with the call's current scorecard. It must be a scorecard the key's company can use, and not archived. A key limited to some workspaces can only use custom scorecards of those workspaces. A scored call cannot be moved to an unscored scorecard (403).

replace
boolean
default:false

True replaces the existing evaluation. False keeps it and adds a second one.

Response

The call is being re-scored.

data
object
required