Analytics
Retrieve campaign analytics
Changed onRetrieves analytics for a program.
get/campaign/{id}/analytics
Request
- Base URLhttps://api.growsurf.com/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
GrowSurf program ID.
Query parameters
daysinteger
Last number of days to retrieve analytics for. Defaults to 365. Maximum 1825.
startDateinteger
Start date of the analytics timeframe as a Unix timestamp in milliseconds. Required if days is not set.
endDateinteger
End date of the analytics timeframe as a Unix timestamp in milliseconds. Required if days is not set.
Response
Campaign analytics returned.
Changes
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info