Skip to main content
GET
/
api
/
planning-periods
List budget planning periods for the organization
curl --request GET \
  --url https://app.solya.app/api/planning-periods \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "endDate": "2025-12-31",
      "id": "period-uuid-1",
      "isActive": false,
      "name": "FY2025 Budget",
      "startDate": "2025-01-01"
    },
    {
      "endDate": "2026-12-31",
      "id": "period-uuid-2",
      "isActive": true,
      "name": "FY2026 Budget",
      "startDate": "2026-01-01"
    }
  ],
  "total": 2
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Response

Successful response

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