Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://nudgen.net/api/v1/campaigns/{id}/stats \ --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};fetch('https://nudgen.net/api/v1/campaigns/{id}/stats', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requestsurl = "https://nudgen.net/api/v1/campaigns/{id}/stats"headers = {"Authorization": "Bearer <token>"}response = requests.get(url, headers=headers)print(response.text)
{ "stats": { "totalSent": 123, "totalDelivered": 123, "totalOpens": 123, "totalClicks": 123, "ctr": 123, "totalFailed": 123, "totalSpamComplaints": 123, "totalHardBounces": 123, "totalSoftBounces": 123 } }
Personal Access Token created from Settings -> API Keys.
Campaign stats
Show child attributes