Documentation Index
Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt
Use this file to discover all available pages before exploring further.
Update the followup settings for an action
PATCH https://services.leadconnectorhq.com/conversation-ai/agents/{agentId}/followup-settings
Autorizacion
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.
Path parameters
Body
dynamicChannelSwitching
boolean
default:"True"
required
Whether to dynamically switch channels for followups
Whether to respect working hours for followups
Working hours configuration for followups
dayOfTheWeek
number
default:"1"
required
Day of the week (0=Sunday, 1=Monday, etc.)
Time intervals for this day
startHour
number
default:"9"
required
Start hour (24-hour format)
startMinute
number
default:"0"
required
Start minute
endHour
number
default:"17"
required
End hour (24-hour format)
endMinute
number
default:"30"
required
End minute
Timezone to use for followups, contact or account Posibles valores: ‘contact’, ‘business’
Respuestas
success
boolean
default:"True"
required
Success status of the request
422 - Unprocessable Entity
Ejemplo
curl -X PATCH 'https://services.leadconnectorhq.com/conversation-ai/agents/YOUR_agentId/followup-settings' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28' \
-H 'Content-Type: application/json' \
-d '{
"actionIds": [
"edxcfghbnjkimd"
],
"followupSettings": {
"dynamicChannelSwitching": true,
"followUpHours": true,
"workingHours": [
{
"dayOfTheWeek": 1,
"intervals": []
}
],
"timezoneToUse": "contact"
}
}'