List report templates
GET /site_reports/templates
Description
Returns a list of report templates available for Site Reports.
Templates define the structure, branding, and sections included in generated reports.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Account ID to filter templates. This parameter is required.
Responses
Section titled “ Responses ”List of report templates
object
Report template defining structure and branding for generated reports
object
Unique identifier for the template
Example
123e4567-e89b-12d3-a456-426614174000Display name of the template
Example
Site ReportDetailed description of what the template includes
Example
Comprehensive site performance and analytics reportCompany name displayed on the report
Example
WP EngineBrand color used in the report (hex format)
Example
#0ECAD4URL to the company logo
Example
https://storage.googleapis.com/crs-assets/logos/wpengine-logo.pngURL to template preview image
Example
https://storage.googleapis.com/crs-assets/previews/site-report-preview.pngList of sections included in this template
object
Example
coverExample
[ { "name": "cover" }, { "name": "overview" }, { "name": "usage" }, { "name": "themes" }]Timestamp when the template was created
Example
2024-01-15T10:30:00ZTimestamp when the template was last updated
Example
2024-03-20T14:45:00ZBad Request
object
A message regarding the error that occurred on the server
Example
Invalid Site: Name cannot be empty.(Optional) A URL where documentation regarding this specific error can be found
An array of error objects describing specific errors that arose when servicing the request
object
The name of the resource that was being processed when the error occurred
Example
Site(Optional) The specific field associated with the error
Example
name(Optional) A type associated with the error. invalid_value, access_error, value_unavailable
Example
invalid_value(Optional) A machine code relating to the error that occurred with the field and resource
Example
too_long(Optional) A human-readable message relating to the error that occurred with the field and resource
Example
Name is too long (maximum is 40 characters)Authentication Error
object
A message regarding the error that occurred on the server
Example
Bad Credentials(Optional) A URL where documentation regarding this specific error can be found
Not authorized
object
A message regarding the error that occurred on the server
Example
You don't have permission to perform that action(Optional) A URL where documentation regarding this specific error can be found
Not found
object
A message regarding the error that occurred on the server
Example
Not Found(Optional) A URL where documentation regarding this specific error can be found
Too many requests
Internal Server Error
object
A message regarding the error that occurred on the server
Example
An unexpected error occurred, please try again in a few minutesAn invalid response was received from an upstream server
Service unavailable