Report Schedule

Create

Create a new Report Schedule record.

post/api/cp/report-schedule

Request body

idinteger

Id

account_idinteger

Account Id (references account.id)

namestring required

Name

emailstring email

Email

frequency'day' | 'week' | 'month'

Frequency

queryobject

Query

Example request

{
  "id": 12345,
  "account_id": 1,
  "name": "Example Name",
  "email": "user@example.com",
  "frequency": "day",
  "query": "Sample query text content"
}

Response

Successful response

statusstring

Operation status

Example response

{
  "id": 12345,
  "status": "OK"
}

Changes