Skip to main content
POST
/
v2
/
report-configs
Create
curl --request POST \
  --url https://api.example.com/v2/report-configs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "time": "08:00:00",
  "weekday": 4,
  "recipient_emails": [
    "<string>"
  ],
  "cc_emails": [
    "<string>"
  ],
  "is_enabled": true
}
'
{
  "created_at": "2023-11-07T05:31:56Z",
  "modified_at": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "is_enabled": true,
  "time": "<string>",
  "weekday": 123,
  "recipient_emails": [
    "<string>"
  ],
  "cc_emails": [
    "<string>"
  ],
  "last_sent_at": "2023-11-07T05:31:56Z",
  "object": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.api.stuut.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body for creating a report config.

report_type
enum<string>
required

Discriminator for report type

Available options:
integration_sync_report,
ar_aging_report
frequency
enum<string>
required

How often to send the report (DAILY, WEEKLY, MONTHLY)

Available options:
daily,
weekly,
monthly
time
string<time>
default:08:00:00

Time of day (HH:MM) in org timezone. Minutes must be 0 or 30.

weekday
integer
default:4

Day of the week (0=Monday, 6=Sunday). Only used by WEEKLY frequency.

Required range: 0 <= x <= 6
recipient_emails
string[]

Primary recipient email addresses

cc_emails
string[] | null

Optional CC email addresses (e.g., FDE team on failures)

is_enabled
boolean | null

Response

Successful Response

Report configuration response.

created_at
string<date-time>
required
modified_at
string<date-time> | null
required
id
string
required
report_type
enum<string>
required

Discriminator for report type

Available options:
integration_sync_report,
ar_aging_report
is_enabled
boolean
required
frequency
enum<string>
required

How often to send the report (DAILY, WEEKLY, MONTHLY)

Available options:
daily,
weekly,
monthly
time
string<time>
required

Time of day (HH:MM) in org timezone. Minutes must be 0 or 30.

weekday
integer
required

Day of the week (0=Monday, 6=Sunday). Only used by WEEKLY frequency.

recipient_emails
string[]
required

Primary recipient email addresses

cc_emails
string[] | null
required

Optional CC email addresses (e.g., FDE team on failures)

last_sent_at
string<date-time> | null
required

UTC timestamp of the last successful report send

object
string
required
read-only

String representing the object's type. Objects of the same type share the same value.