Send the answered dialog messages back to the institution (ReplyDialog); the answer is either the next dialog step or the completed dialog, after which the result can be fetched
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/salary-declaration/{jobKey}/institutions/{domainStatusId}/dialog/reply
curl \
--request POST 'https://wyzio.app/api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/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)
{
"domainStatusId": 42,
"domain": "AHV_AVS",
"institutionIdRef": "string",
"institutionName": "string",
"state": "OPEN",
"fetchedDate": "2026-05-04T09:42:00Z",
"expectedAvailability": "2026-05-04T09:42:00Z",
"endUserInformation": "string",
"detailInformation": "string",
"responseId": "string",
"requestId": "string",
"notifications": [
{
"level": "WARNING",
"qualityLevel": "string",
"descriptionCode": "string",
"description": "string",
"stage": "STATUS"
}
],
"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"
}
]
}
]
}