P
P
Pakat API
1.1.1
Search…
⌃K
Links

RESTFUL Tracker

post
https://in-automate.pakat.net/api/v2
/identify
Identify
Example
curl --request POST \
--url https://in-automate.pakat.net/api/v2/identify \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"attributes":{"customer":"true"}}'
post
https://in-automate.pakat.net/api/v2
/trackEvent
trackEvent
Example
curl --request POST \
--url https://in-automate.pakat.net/api/v2/trackEvent \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'ma-key: my-marketing-automation-key' \
--data '
{
"event": "cart_updated",
"email": "[email protected]",
"properties": {
"FIRSTNAME": "Ali",
"LASTNAME": "Ahmadi"
},
"eventdata": {
"id": "cart:1234",
"data": {
"total": 2800000,
"currency": "IRRIAL",
"url": "www.example.com",
"items": [
{
"name": "Black shoes",
"price": 90,
"quantity": 2,
"url": "www.example.com/black-shoes",
"image": "www.example.com/black-shoes.jpg"
},
{
"name": "White shirt",
"price": 100,
"quantity": 1,
"url": "www.example.com/shirt",
"image": "www.example.com/shirt.jpg"
}
]
}
}
}
'
Example
curl --request POST \
--url https://in-automate.pakat.net/api/v2/trackLink \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"properties":{"utm_source":"email","utm_campaign":"paka"}}'
post
https://in-automate.pakat.net/api/v2
/trackPage
trackPage
Example
curl --request POST \
--url https://in-automate.pakat.net/api/v2/trackPage \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{"properties":{"device":"mobile","browser":"chrome","scroll":"50%"}}'