Escape curly braces in Webhooks doc
parent
fae714bceb
commit
7f270649b4
|
@ -46,7 +46,7 @@ cal.com/rick/quick-chat?metadata[user_id]=123
|
||||||
As a result, the webhook will be returned in this format:
|
As a result, the webhook will be returned in this format:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
{ <other event details>, metadata: { user_id: 123 } }
|
\{ <other event details>, metadata: \{ user_id: 123 \} \}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Custom Webhooks template variable list
|
## Custom Webhooks template variable list
|
||||||
|
@ -86,13 +86,13 @@ Customizable webhooks are a great way reduce the development effort and in many
|
||||||
### Example usage of variables for custom template:
|
### Example usage of variables for custom template:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
{
|
\{
|
||||||
|
|
||||||
"content": "A new event has been scheduled",
|
"content": "A new event has been scheduled",
|
||||||
"type": "{{type}}",
|
"type": "\{\{type\}\}",
|
||||||
"name": "{{title}}",
|
"name": "\{\{title\}\}",
|
||||||
"organizer": "{{organizer.name}}",
|
"organizer": "\{\{organizer.name\}\}",
|
||||||
"booker": "{{attendees.0.name}}"
|
"booker": "\{\{attendees.0.name\}\}"
|
||||||
|
|
||||||
}
|
\}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue