Hi need some help, i am trying to connect voiceflow to weweb via the api, its a post call and the issue i have is that i need to query this
curl --request POST
–url https://analytics-api.voiceflow.com/v1/query/usage
–header ‘accept: application/json’
–header 'authorization: VF.DM.####
–header ‘content-type: application/json’
–data ’
{
“query”: [
{
“name”: “interactions”,
“filter”: {
“projectID”: “653b6780b#######”
}
}
]
}
’
How do we do this in weweb, cannot figure it out.
I am getting this error "message: “Cannot read properties of null (reading ‘reduce’)”
Actually, i got this to work, had to use raw body.