Recruitment drives#

GET /api/events/{event_id}/recruitment#

Get a recruitment drive

Returns a recruitment drive’s totals, leaderboard, and recruit rows, freshly evaluated. A guild member’s session or sync token works. 404 if the event is not a recruitment drive.

Parameters

Name

In

Type

Required

Description

event_id

path

string (uuid)

yes

The event’s ID.

Response 200 — The drive’s totals, leaderboard, and recruit rows.

Model: RecruitmentDrive

Field

Type

Required

Description

event_id

string (uuid)

yes

title

string

yes

starts_at

string (date-time)

yes

ends_at

string (date-time)

yes

settles_at

string (date-time)

yes

reward_copper

integer

yes

The flat prize for winning the drive (most qualifying recruits, ties each win); not per recruit.

min_level

integer

yes

stay_days

integer

yes

totals

RecruitmentDriveTotals

yes

leaders

array of RecruitLeader

yes

recruits

array of DriveRecruit

yes

GET /api/recruitment/payouts#

List recruit payouts

Returns settled drives’ owed and already-paid totals per inviter, unpaid first. An officer must be signed in.

Response 200 — The settled drives’ payouts.

Model: array of RecruitPayout

Type: array of RecruitPayout

POST /api/recruitment/payouts/paid#

Mark a recruit payout paid

Marks an inviter’s qualified, unpaid recruits in a drive paid via the site. Idempotent: marking an already-paid inviter/drive does nothing. An officer must be signed in. Writes a recruitment.mark_paid audit row.

Request body

Model: RecruitPayoutMarkPaid

Field

Type

Required

Description

event_id

string (uuid)

yes

inviter

string

yes

Response 204 — The payout was marked paid.