Voiceflow API parameters
This is the code I have that works with static values:
{
"sendWelcomeEmail": true,
"firstName": "Dan",
"tags": [
"Mila"
],
"identifiers": [
{
"type": "email",
"consent": {
"source": "Mila"
},
"channels": {
"email": {
"status": "subscribed"
}
},
"id": "dan+26@spacedroid.co.uk"
}
],
"country": "United Kingdom",
"countryCode": "GB"
}
But when I set the parameters and use this it does not:
{
"sendWelcomeEmail": true,
"firstName": first_name,
"tags": [
"Mila"
],
"identifiers": [
{
"type": "email",
"consent": {
"source": "Mila"
},
"channels": {
"email": {
"status": "subscribed"
}
},
"id": email_address
}
],
"country": "United Kingdom",
"countryCode": "GB"
}
Thank you so much!
Cheers,
Dan
