Create an event to send a campaign
This API enables the management of event campaigns on the Experience CRM.
The campaigns need to be created first in the Experience CRM for the respective establishment.
With this API, you can trigger the delivery of an event campaign to a specific recipient. You can include tags in the request body that will be usable in the campaign.
In order for these tags to function, they should be integrated into the campaign before the utilization of the API.
Request
POST
https://interface.experience-hotel.com/api/xp-evenemential/create{
"event_name": "test-event",
"contact_identifier": "test@test.com",
"data": {
"tags": {
"guest-firstname": {
"value": "John"
},
"expiration-date": {
"value": "2024-09-12"
},
"vip-status": {
"value": "Gold"
}
}
}
}event_name
Required
The campaign event name. Can be found on the campaign in the CRM.
contact_identifier
Required
Email or Mobile phone of the recipient.
data
Optional
Object of data that can be used inside the campaign
tags
Optional
Object of tags to be used in the campaign. "tag-name": { "value":"xxxx" }
Last updated