Auto Actions: Difference between revisions
Jump to navigation
Jump to search
| Line 627: | Line 627: | ||
'''Property key:'''<br> | '''Property key:'''<br> | ||
Settings > Properties > Access > propKey = secret_key_for_prop_XXXXXX | Settings > Properties > Access > propKey = secret_key_for_prop_XXXXXX | ||
Set the triggers you need, for example: | |||
Booking Field Contains: Message = XXX | |||
Set the webhook like this: | |||
URL = https://api.beds24.com/json/setBooking | |||
Custom Header = [leave empty] | |||
Body Data = | |||
{ | |||
"authentication": | |||
{ | |||
"apiKey": "my_very_secret_api_key", | |||
"propKey": "secret_key_for_prop_XXXXXX" | |||
}, | |||
"bookId": "[BOOKID]", | |||
"message": "[MESSAGE] - Append this message" | |||
} | |||
== Troubleshooting == | == Troubleshooting == | ||