POSThttps://core-api.heysadie.ai/transfer-reasons
name reason message assistantId phoneNumber extension isActive waitForResponse properties success data id createdAt updatedAt metadata timestamp version path error code details fieldCreate transfer reason
Create a new transfer reason for an assistant. Transfer reasons define when the assistant should hand over the call to a human. Use this when: - A caller wants to speak to a human for specific cases (e.g., special requests, escalations) - You want the assistant to have fallback logic for unhandled queries ⚠️ Make sure the number is reachable and properly configured for handling forwarded calls.
Try it in the API ExplorerExample request
curl -X POST "https://core-api.heysadie.ai/transfer-reasons" \
-H "Authorization: ApiKey YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"reason": "string",
"message": "string"
}'Authentication
Authenticate with an API key in the Authorization header using the ApiKey scheme — see Authentication for how keys work and where to get them.
AuthorizationstringrequiredAPI key in the ApiKey scheme: ApiKey YOUR_API_KEY. Tenant keys authorize their own tenant; organization keys can act on any tenant in the organization.
X-Tenant-Idstring (uuid)optionalRequired when authenticating with an organization key — selects the tenant the request acts on. Omit with tenant keys.
Request
Body application/json · required
namestringoptionalA friendly name for this transfer reason
reasonstringoptionalTrigger that causes the assistant to transfer the call (e.g., user wants to talk to a human)
messagestringoptionalWhat the assistant says before transferring the call
assistantIdstring (uuid)optionalThe assistant ID this rule applies to
phoneNumberstringoptionalPhone number to forward the call to
extensionstringoptionalExtension to dial automatically once the call connects. Leave blank to keep current behavior.
isActivebooleanoptionalWhether the transfer reason is active
waitForResponsebooleanoptionalWhether the assistant should wait for the caller's response before transferring (default: true)
propertiesanyoptionalResponses
successbooleanrequireddataobjectoptionalShow 12 child properties
idstringrequirednamestringrequiredreasonstringrequiredmessagestringrequiredassistantIdstringrequiredpropertiesanyrequiredphoneNumberstringrequiredextensionstring | nullrequiredisActiveboolean | nullrequiredwaitForResponseboolean | nullrequiredcreatedAtstring (date-time) | string (date) | number | nullrequiredupdatedAtstring (date-time) | string (date) | number | nullrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional400
successbooleanrequirederrorobjectoptionalShow 3 child properties
codeenumrequired"VALIDATION_ERROR"messagestringrequireddetailsobject[]optionalShow 2 item properties
fieldstringrequiredmessagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional401
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"UNAUTHORIZED"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional403
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"FORBIDDEN"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional404
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"RESOURCE_NOT_FOUND"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional500
successbooleanrequirederrorobjectoptionalShow 2 child properties
codeenumrequired"INTERNAL_SERVER_ERROR"messagestringrequiredmetadataobjectoptionalShow 3 child properties
timestampstringrequiredversionstringrequiredpathstringoptional