Download OpenAPI specification:
Public API to access Grand Shooting event digest data.
All requests require an API key. You can obtain an API key from the admin dashboard.
Include your API key in the X-API-Key header or Authorization: Bearer <key>:
curl -H "X-API-Key: gs_live_xxxxxxxxxxxx" \
https://digest-api.grand-shooting.com/api/v1/digests
API keys can be scoped to a specific accountId. If your key is scoped, you will only see resources associated with that account.
Returns the complete list of digests configured for your account
{- "digests": [
- {
- "id": "digest-123",
- "name": "Daily Events Digest",
- "description": "Daily summary of stream events",
- "schedule": "0 9 * * *",
- "isActive": true,
- "createdAt": "2024-01-15T08:00:00.000Z"
}, - {
- "id": "digest-456",
- "name": "Weekly Summary",
- "description": "Complete weekly report",
- "schedule": "0 9 * * 1",
- "isActive": true,
- "createdAt": "2024-01-10T08:00:00.000Z"
}
], - "count": 2
}Returns complete details of a digest by its ID
| id required | string Example: digest-123 Digest ID |
{- "id": "digest-123",
- "name": "Daily Events Digest",
- "description": "Daily summary of stream events",
- "schedule": "0 9 * * *",
- "isActive": true,
- "accountId": "account-789",
- "templateId": "template-456",
- "eventFilters": {
- "applications": [
- "sourcing",
- "workflow"
], - "eventTypes": [
- "creation",
- "modification"
]
}, - "recipients": [
- "team@grand-shooting.com",
- "alerts@grand-shooting.com"
], - "createdAt": "2024-01-15T08:00:00.000Z",
- "updatedAt": "2024-01-20T10:30:00.000Z"
}{- "templates": [
- {
- "id": "template-123",
- "name": "Default Template",
- "description": "Default template for digests",
- "subject": "📊 Daily Digest - {{date}}",
- "isActive": true,
- "createdAt": "2024-01-01T00:00:00.000Z",
- "updatedAt": "2024-01-15T10:00:00.000Z"
}
], - "count": 1
}Returns digest usage statistics for the last 30 days.
Statistics include:
{- "period": "last_30_days",
- "runs": {
- "total": 90,
- "completed": 87,
- "failed": 3,
- "successRate": 97
}, - "emails": {
- "sent": 350,
- "delivered": 345,
- "bounced": 2,
- "failed": 3
}
}