API REFERENCE

Time Periods API

A time period is the billing or pay window that timesheets are filed against. Use this API to list and create periods, find the active one, and open or close a period.

Find the right period

GET /time-periods lists every period; GET /time-periods/current returns the one in effect now, which is what a timesheet usually attaches to. Create new windows with POST /time-periods.

Close and reopen

Lock a window once its time is final with POST /time-periods/{id}/close, and undo that with POST /time-periods/{id}/reopen if a correction is needed. Timesheets reference a period by its ID — see the Timesheets API.

Endpoints

Every endpoint links through to its full parameters, request and response schemas, and code samples.

GET/api/v1/time-periodsAlgaPSAList time periodsPOST/api/v1/time-periodsAlgaPSACreate time periodGET/api/v1/time-periods/{id}AlgaPSAGet time periodPUT/api/v1/time-periods/{id}AlgaPSAUpdate time periodDELETE/api/v1/time-periods/{id}AlgaPSADelete time periodPOST/api/v1/time-periods/{id}/closeAlgaPSAClose time periodPOST/api/v1/time-periods/{id}/reopenAlgaPSAReopen time periodGET/api/v1/time-periods/currentAlgaPSAGet current time period