Select metrics and dimensions from the tables below to build your curl command.
curl -X POST https://api.oviond.com/v1/integrations/sendgrid/query \
-H "Content-Type: application/json" \
-d '{
"credentials": { "apiKey": "YOUR_API_KEY" },
"profile": { "accountId": "YOUR_ACCOUNT_ID" },
"dataView": "OVERVIEW",
"metrics": ["METRIC_ID_1", "METRIC_ID_2"],
"dimension": "DIMENSION_ID",
"dateRange": {
"current": { "startDate": "2025-01-01", "endDate": "2025-01-31" },
"previous": { "startDate": "2024-12-01", "endDate": "2024-12-31" }
},
"timezone": "UTC"
}'