Public API
Analytics

Delivery counts for one app and environment.
These routes are the public API. Send Authorization: Bearer with a workspace server API key. The key can act on every app in the workspace. A route that names an app uses that app id. environment is development or production.
GET /api/v1/public/apps/{app}/environments/{environment}/analytics
The analytics were found.
Path
app— App id in this workspace.environment—developmentorproduction.
Query
from(date)to(date)
Responses
200ANALYTICS_FETCHED— The analytics were found.targeted(integer, required)delivered(integer, required)failed(integer, required)skipped(integer, required)opened(integer, required)openRate(string, required)
401INVALID_API_KEY— The API key is invalid.404APP_NOT_FOUND— The app could not be found.422VALIDATION_FAILED— The request contains invalid fields.429RATE_LIMIT_EXCEEDED— Too many requests. Please try again later.500SERVER_ERROR— Something went wrong. Please try again.
