Retell custom-function webhook for powsoo_show_card
POST
/v1/retell/tools/show-card
Configured as the URL of the powsoo_show_card custom function on the Retell agent. Retell POSTs here when the LLM invokes the tool. We look up the SSE writer for the call_id, push the card to the widget, and hold this HTTP response open until the widget posts the user’s tap result back via POST /v1/sessions/:callId/results. Retell’s default webhook timeout is 2 minutes; we cut at 110s so we always respond first.
Request Body
object
name
string
args
call
required
object
call_id
required
string
Responses
200
Result string for the LLM
object
result
required
string
400
Malformed payload
object
ok
required
boolean
error
required
object
code
required
string
message
required
string
requestId
string
404
No widget connected for this callId
object
ok
required
boolean
error
required
object
code
required
string
message
required
string
requestId
string
504
Widget did not respond within the timeout window
object
ok
required
boolean
error
required
object
code
required
string
message
required
string
requestId
string