Record a batch of events
documentedBatch-record a collection of events.
POST /v2/{account_id}/events/batchesBatch APIno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.getdrip.com/v2/{{$account_id}}/events/batches" \
-X POST \
-u {{GETDRIP_API_KEY}}: \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "User-Agent: Drip-Integration (www.yourapp.com)" \
-d @- << 'EOF'
{
"batches": [{
"events": [{
"email": "{{$email}}",
"action": "{{$action}}",
"occurred_at": "{{$occurred_at}}",
"properties": {
"source": "{{$source}}",
"campaign": "{{$campaign}}"
}
}]
}]
}
EOF