Skip to main content
GET
Get the end function code

Authorizations

X-API-KEY
string
header
required

Path Parameters

agentId
string
required
branchId
string
required

Response

200 - application/json

Get the end function code. Runs asynchronously after every conversation ends.

The code, syntax errors, and parameters for a branch's start or end special function.

code
string
required
errors
object[]
required
parameters
object[]
required
Last modified on November 4, 2026