{
"status": 401,
"message": "Your account must be verified to perform this request. Please email success@klaviyo.com to verify your account."
}
I have getting the above response when using this API https://a.klaviyo.com/api/v1/email-template/SDSfDm/send.
I have already got the account verified mail from Klaviyo but still the same response message from the API.
this is my request
curl --location --request POST 'https://a.klaviyo.com/api/v1/email-template/SDSfDm/send' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=pk_****************************' \
--data-urlencode 'from_email=myMail@gmail.com' \
--data-urlencode 'from_name=Test' \
--data-urlencode 'subject=Your Weekly Summary' \
--data-urlencode 'to=e{ "email" : "example@mailinator.com", "name" : "Test" }]' \
--data-urlencode 'context={ "organization": {"name":"xxxxx","full_address":"xxxxx" } }'
Does anyone have any Idea on this ??