Skip to content

Post the user's card-tap result back to Retell via Powsoo

POST
/v1/sessions/{callId}/results

Widget POSTs here after the user interacts with a card. The backend matches the toolCallId against an in-flight Retell webhook and completes that held HTTP request with the JSON-stringified result. Latency target <50ms; this is the second half of the call hot path.

Parameters

Path Parameters

callId
required
string
>= 1 characters

Header Parameters

x-powsoo-session-token
string
>= 1 characters

Request Body

object
toolCallId
required
string
>= 1 characters
result
required
object
status
required
string
Allowed values: confirmed edited skipped
action
required
string
>= 1 characters
fields
object
key
additional properties
string
edited
Array<string>
default:

Responses

204

Result accepted

401

Missing or invalid session token

object
ok
required
boolean
error
required
object
code
required
string
>= 1 characters
message
required
string
>= 1 characters
requestId
string
>= 1 characters

404

Unknown callId or no matching pending tool call

object
ok
required
boolean
error
required
object
code
required
string
>= 1 characters
message
required
string
>= 1 characters
requestId
string
>= 1 characters