Has the Track API Endpoint been DEPRECATED? If so, is there another alternative or perhaps I’m not seeing it in the new API versions? This options is so powerful and I’m using it in a ton of scenerios.
Any updates on the Track API would be appreciated?
Ok, I see the new event has been changed to Create Event using the new API. Hopefully someone can help me out as I am terrible with APIs. I’m using Integromat using the custom API. Can anyone tell me what I’m doing wrong as far as the Error Messages
JSON Param
{
"data": {
"type": "event",
"attributes": {
"profile": {
"email ": "email@email.com"
},
"metric": {
"name": "User Logged In"
},
"properties": {
"email": "email@email.com"
},
"time": "{{now}}"
}
}
}
-
status
400
-
code
invalid
-
title
Invalid input.
-
detail
At least one profile identifier is requiredAny email must be valid. This request failed with reason: missing valid identifier.
Video Here -
I figured it out:
{
"data": {
"type": "event",
"attributes": {
"profile": {
"$email": "{{1.email}}"
},
"metric": {
"name": "User Logged In"
},
"properties": {
"email": "{{1.email}}"
},
"time": "{{now}}"
}
}
}
Hi
I’m glad you figured it out! Thanks so much for sharing your solution, it’s so helpful for other members to see a full-cycle problem → solution like this!
For future reference or for anyone else that sees this thread, here’s our comparison guide that explains which new API endpoints correspond to each legacy endpoint:
Best,
Brian
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.