cURL
curl --request GET \ --url https://api.sendx.io/api/v1/rest/report/campaign/{campaignId} \ --header 'X-Team-ApiKey: <api-key>'
{ "campaignId": "sendx123", "linkStats": { "www.example.com": 123 }, "clickedContactCount": 230, "openedContactCount": 345, "repliedContactCount": 12, "clickedUniqueContactCount": 210, "openedUniqueContactCount": 320, "repliedUniqueContactCount": 11, "sentContactCount": 500, "unsubscribeContactCount": 10, "bounceContactCount": 5, "spamContactCount": 2, "emailRevenue": "$5000", "revenuePerRecipient": "$10", "currency": "USD" }
Retrieve the campaign report data based on the provided campaign id.
The ID of the campaign to retrieve the report data for
Type of integration for the report data (optional)
Get Report Data Successfully
Contains the report data for a given campaign
Was this page helpful?