Create a recipient event
A recipient event can be used for tracking campaign engagement and conversions. Events can also be recorded so communication can be triggered automatically.
Request
import requests
data = {
"name": "PURCHASE",\n "value": "24.99",\n "conversion": "true",\n "recipient_id": "12345",\n
}
response = requests.post("https://api-us1.stannp.com/v1/recipientEvents/create?api_key={API_KEY}", data=data)
print(response.text)
Response
{ "success": true, "data": 266 }