Update the properties of a call
Changed onAdd, overwrite or remove custom properties on an already-existing call. Use this for data that becomes available after the call was created, e.g. an outcome your system validates a few minutes later. Merge semantics: a value adds or overwrites the property, null removes it, and properties left out are untouched. The patch is applied whole or not at all: a property Roark sets itself, or a value whose type differs from the type the project already stores that property as, rejects the request with a 400 and nothing is written. A 409 means another request created one of the properties with a different value type at the same moment; nothing was written. Optionally pass metrics to (re)score metrics over the updated properties, which triggers a billed metric collection job and requires the metric:create permission.
Request
- Base URLhttps://api.roark.ai
- URLhttps://api.roark.ai/v1/call/{callId}/properties
- AuthHTTP bearer
Path parameters
Request body
Example request
{
"properties": {
"partner_outcome": "apr_returned",
"delivered_apr": "21.99"
}
}Response
Properties updated on the call
Changes
- info
endpoint added
- info