POSThttps://api.fyno.io/v1/FYXXXXXXXX/live/event
Path Parameters
Body
View in API Reference
Request
$curl -X POST https://api.fyno.io/v1/FYXXXXXXXX/live/event \
> -H "Authorization: Bearer " \
> -H "Content-Type: application/json" \
> -d '{
> "callback": {
> "custom_id": "ID001",
> "custom1": "EV001",
> "custom2": "P001",
> "enable": true,
> "allowlist_url": [
> "WebhookURL1",
> "WebhookURL2"
> ]
> },
> "data": {
> "placeholder_key_1": "placeholder_value_1",
> "placeholder_key_2": "placeholder_value_2"
> },
> "event": "event_name",
> "to": {
> "discord": "101XXXXXXXXXX7XXXXX",
> "email": "abcde@fghi.com",
> "inapp": "12345",
> "push": "ExponentPushToken[XXXXX]",
> "slack": "CXXXXXXXXXX",
> "sms": "919879XXXXXX",
> "teams": "General",
> "voice": "919879XXXXXX",
> "whatsapp": "919879XXXXXX"
> }
>}'
Response