Skip to main content
PATCH
/
lead-sessions
/
{session_id}
Update Lead Session
curl --request PATCH \
  --url https://api.example.com/lead-sessions/{session_id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "status": "<string>",
  "clientName": "<string>",
  "clientEmail": "<string>",
  "brief": "<string>",
  "discoveryData": {},
  "suggestedProposalType": "<string>",
  "callbackUrl": "<string>",
  "providerChatId": "<string>",
  "proposalId": "<string>",
  "agentConversationId": "<string>",
  "shareLink": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

session_id
string<uuid>
required

Body

application/json

Update an existing lead session.

status
string | null
clientName
string | null
clientEmail
string | null
brief
string | null
discoveryData
Discoverydata · object
suggestedProposalType
string | null
callbackUrl
string | null
providerChatId
string | null
proposalId
string | null
agentConversationId
string | null

Response

Successful Response