Skip to main content
Read AutoPhish rates for a period

Authorizations

Authorization
string
header
required

An API service account's access token, from the client credentials grant.

Scopes

phishing:admin

AutoPhish activity and settings

Query Parameters

window
enum<string>

A period ending now: 7d, 30d, 90d or 12m. Defaults to 30d. Omit it to give from and to instead

Available options:
7d,
30d,
90d,
12m
from
string<date>

A custom period's first day, UTC. Give it with to, in place of window

Pattern: ^\d{4}-\d{2}-\d{2}$
to
string<date>

A custom period's last day, UTC, included. Today or later reads to now

Pattern: ^\d{4}-\d{2}-\d{2}$
groupBy
enum<string>
default:company

company for the whole company, team for a row per team. Defaults to company

Available options:
company,
team

Response

What was asked for.

company
null | object

Given when groupBy is company

teams
null | object

Given when groupBy is team