Creators

Get campaign end context

Preflight for ending a campaign: the cycle-aligned end dates behind endBasis prev, current and next, and every assignment with the facts needed to classify it against a candidate end date — validity span, the creator's latest settled payout window end, and whether settled windows overlap the row. cycleEndWarnings holds, per date, the warnings the end call would return (Highest Tier bonus tiers that end keeps from paying).

get/campaigns/{id}/end-context

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/campaigns/{id}/end-context
  • Auth: API key in header x-api-key

Path parameters

idstring required

Campaign ID with orgcamp_ prefix

Example:orgcamp_RwmraAffhMt9

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.