Voucherify

Voucherify

Send event data to Voucherify

Configuration

OptionDescription
Application ID
Type: string
Required: True

Application ID can be found in Voucherify dashboard.

Secret Key
Type: string
Required: True

Secret Key can be found in Voucherify dashboard.

Custom Voucherify URL
Type: string
Required: True

Check your API region in Voucherify dashboard -> Project settings -> API endpoint. For example, if you are using a project with a URL: https://us1.api.voucherify.io, your Custom URL will be: https://us1.segmentio.voucherify.io. It also works for dedicated URLs.

Debug Mode
Type: boolean
Required: False

Will log configuration and request details

Using our REST API you can create this destination like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "destination",
"name": "Voucherify",
"inputs": {
"apiKey": {
"value": ""
},
"secretKey": {
"value": ""
},
"customURL": {
"value": ""
}
},
"enabled": true,
"template_id": "segment-voucherify-actions"
}'