Total Access Docs
Openapi

List public holidays

GET
/api/v1/time-attendance/public-holidays

Authorization

BearerAuth
AuthorizationBearer <token>

JWT access token for REST API endpoints (user-facing apps).

Authorization: Bearer <jwt_access_token>

Tokens expire after 15 minutes. Use the refresh token to obtain a new one.

In: header

Query Parameters

year?integer
country?string
Default"ZA"

Response Body

application/json

curl -X GET "https://example.com/api/v1/time-attendance/public-holidays"
{  "success": true,  "data": [    {      "id": 0,      "name": "string",      "date": "2019-08-24",      "country": "string"    }  ]}