{"name":"OrderCreatedWebhook","description":"Webhook triggered when a new order is created","url":"https://example.com/webhook","event":"incoming_msg","securetoken":"abcd1234securetoken","policy":"retry","enabled":true}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.mottasl.ai/v1/webhook' \
--header'Content-Type: application/json' \
--data-raw'{
"name": "OrderCreatedWebhook",
"description": "Webhook triggered when a new order is created",
"url": "https://example.com/webhook",
"event": "incoming_msg",
"securetoken": "abcd1234securetoken",
"policy": "retry",
"enabled": true
}'