Skip to content

Commit 846f6e5

Browse files
committed
update info about serialization
1 parent 7c5020b commit 846f6e5

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

source/includes/partners/webhook_config/_index.md.erb

+13-2
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,22 @@ Renders a box with the icon of following types: 'info', 'error', 'warning', 'suc
131131
#### Error
132132
You can render a red alert error message with error field
133133

134-
135134
```json
136135
{
137136
"type":"error",
138137
"message": "Something wrong has happened",
139138
"required":"true"
140139
}
141-
```
140+
```
141+
142+
#### Serialization
143+
Id of the element will be passed in the webhook payload along with the user input value
144+
Please note that we serialize "_" to "-" so "id": "test_assessment" will result in the following webhook-data:
145+
146+
```json
147+
{
148+
"test-assessment": "123"
149+
}
150+
```
151+
152+

0 commit comments

Comments
 (0)