Answer the KLE dialog message of the incident (transmitted with an immediate synchronization)
Ask AI
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/swissdec/incidents/{incidentId}/dialog/reply
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/incidents/{incidentId}/dialog/reply' \
--header "Content-Type: application/json" \
--data '{"messages":[{"storyId":"string","standardDialogId":"string","creation":"2026-05-04T09:42:00Z","title":"string","description":"string","sections":[{"sectionId":"string","heading":"string","description":"string"}],"paragraphs":[{"id":42,"label":"string","sectionIdRef":"string","valueType":"STRING","value":"string","answerType":"STRING","answerDefault":"string","answerValue":"string","answerOptional":true,"problem":"string"}]}]}'
Request examples
# Headers
# Payload
{
"messages": [
{
"storyId": "string",
"standardDialogId": "string",
"creation": "2026-05-04T09:42:00Z",
"title": "string",
"description": "string",
"sections": [
{
"sectionId": "string",
"heading": "string",
"description": "string"
}
],
"paragraphs": [
{
"id": 42,
"label": "string",
"sectionIdRef": "string",
"valueType": "STRING",
"value": "string",
"answerType": "STRING",
"answerDefault": "string",
"answerValue": "string",
"answerOptional": true,
"problem": "string"
}
]
}
]
}
Response examples (200)
{
"groups": [
{
"domain": "AHV_AVS",
"insuranceId": "string",
"insuranceCompanyName": "string",
"state": "SUCCESS",
"endUserInformation": "string",
"detailInformation": "string",
"messages": [
"string"
],
"incidentIds": [
42
]
}
],
"incidents": [
{
"id": 42,
"staffId": 42,
"staffName": "string",
"staffAvsNumber": "string",
"domain": "AHV_AVS",
"state": "DRAFT",
"incidentDate": "2026-05-04",
"incapacityToWorkFrom": "2026-05-04",
"incidentScene": "string",
"description": "string",
"companyCaseId": "string",
"insuranceCaseId": "string",
"incidentCaseId": "string",
"testCase": true,
"withoutContract": true,
"processByDistributor": true,
"insuranceCode": "string",
"endUserInformation": "string",
"detailInformation": "string",
"insuranceId": "string",
"insuranceCompanyName": "string",
"customerIdentity": "string",
"contractIdentity": "string",
"createdDate": "2026-05-04T09:42:00Z",
"declaredDate": "2026-05-04T09:42:00Z",
"lastSyncDate": "2026-05-04T09:42:00Z",
"processState": "string",
"awaitedParts": "string",
"awaitedUntil": "2026-05-04T09:42:00Z",
"requestId": "string",
"responseId": "string",
"attachments": [
{
"id": 42,
"filename": "string",
"contentType": "string",
"createdDate": "2026-05-04T09:42:00Z",
"sentDate": "2026-05-04T09:42:00Z",
"storyId": "string"
}
],
"dialogMessages": [
{
"storyId": "string",
"standardDialogId": "string",
"creation": "2026-05-04T09:42:00Z",
"title": "string",
"description": "string",
"sections": [
{
"sectionId": "string",
"heading": "string",
"description": "string"
}
],
"paragraphs": [
{
"id": 42,
"label": "string",
"sectionIdRef": "string",
"valueType": "STRING",
"value": "string",
"answerType": "STRING",
"answerDefault": "string",
"answerValue": "string",
"answerOptional": true,
"problem": "string"
}
]
}
],
"dialogReplyPending": true
}
]
}