cURL
curl --request POST \ --url https://api.sendx.io/api/v1/rest/events/revenue \ --header 'Content-Type: application/json' \ --header 'X-Team-ApiKey: <api-key>' \ --data '{ "identifier": "john.doe@example.com", "amount": 123.23, "source": "app", "time": 1669990400 }'
{ "event_id": "m3m2k3mnkjn23nkj3", "status": "success", "message": "Event created successfully." }
Records a revenue event, which can be attributed to campaigns, drips, workflows, or other sources of user interaction.
Revenue event recorded successfully.
The response is of type object.
object
Was this page helpful?