Skip to main content
POST
Generate an activity & stage-change report

Authorizations

Authorization
string
header
required

Authenticate with a Bearer token: API key, OAuth token, or session token.

Body

application/json
segment_by
enum<string>
required

Dimension to group the report by:

  • team_member — one segment per recruiter
  • job — one segment per job
  • company — one segment per client/organization company
Available options:
team_member,
job,
company
period
enum<string>
default:custom

Convenience preset that derives the date range when date_from / date_to are omitted:

  • daily — the start of today through now
  • weekly — the trailing 7 days through now
  • monthly — the trailing 30 days through now
  • custom — use the explicit date_from / date_to values (required when custom).
Available options:
daily,
weekly,
monthly,
custom
date_from
string<date-time>

Start of the report window (ISO 8601). Required when period=custom. Applied to created_at for activities, candidates, tasks, and entered_at for stage changes / enrolled_at for campaign enrollments. Custom windows are limited to 2 years.

date_to
string<date-time>

End of the report window (ISO 8601). Required when period=custom. Custom windows are limited to 2 years.

team_member_ids
string<uuid>[]

Optional recruiter UUIDs to narrow the report. Affects both the aggregate totals and per-segment rows. Maximum 200 IDs. Get IDs from GET /v1/team-members.

Maximum array length: 200
job_ids
string<uuid>[]

Optional job UUIDs to narrow the report. Affects both the aggregate totals and per-segment rows. Maximum 200 IDs.

Maximum array length: 200
organization_company_ids
string<uuid>[]

Optional client/company UUIDs to narrow the report. When provided, only activity tied to jobs at these companies (or directly to these client companies) is counted. Maximum 200 IDs.

Maximum array length: 200
include
enum<string>[]

Optional sections to embed per segment. Values:

  • pipeline_snapshot — current candidate count per pipeline stage (for job / company segments)
  • job_breakdown — per-job candidates-sourced breakdown (for team_member segments)
  • crm_activities — fold client_activities and client_status_changes into the company segment metrics
Available options:
pipeline_snapshot,
job_breakdown,
crm_activities

Response

Activity report generated

success
enum<boolean>
required
Available options:
true
data
object
required