Reports

Create Report Template

Create a new report template for scheduled or ad-hoc reports.

Requires:

  • Feature: reports.custom

Blocked by: Revoked workspace or domain.

post/reports/templates

Request

  • Base URL
    https://api.rebrandly.com/v1
  • URL
    https://api.rebrandly.com/v1/reports/templates
  • Auth
    API key in header apikey

Headers

Workspacestring
Example:workspace123abc

Workspace public ID

apikeystring required

API key for authentication

Request body

namestring required

Template name

descriptionstring

Template description

queryobject required

Query definition for the report

subscriptionsobject[]

Email subscriptions for the report

Response

Template created

idstring required

Template public ID

namestring required

Template name

descriptionstring

Template description

queryobject

Query definition for the report

lastExecutionTimestampstring date-time

Last time the report was executed

createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.