Timekit developers

GET Retrieve a calendar

Get a specific calendar

Endpoint

GET https://api.timekit.io/v2/calendars/:id

Parameters

Name In Type Required Default Description
id path string yes Id of the calendar

Request examples

curl
curl --request GET \
  --url https://api.timekit.io/v2/calendars/c91c5d04-2a57-46c0-ab35-e489dadf132e \
  --header 'Content-Type: application/json' \
  --user :live_api_key_7nzvc7wsBQQISLeFSVhROys9V1bUJ1z7

Response examples

200

json
{
  "data": {
    "id": "c91c5d04-2a57-46c0-ab35-e489dadf132e",
    "name": "My personal calendar",
    "display_name": "My personal calendar",
    "description": "Notes to self, so I don't remember to to them.",
    "foregroundcolor": "#25d6be",
    "backgroundcolor": "#ea1cb8",
    "provider_id": "my-personal-google-calendar",
    "provider_access": "owner",
    "provider_primary": true,
    "provider_sync": true,
    "created_at": "2016-02-29T18:41:38+0100",
    "updated_at": "2016-06-02T23:00:03+0200"
  }
}

401

text
Invalid credentials.

404

json
{
  "error": {
    "message": "Resource Not Found",
    "status_code": 404
  }
}
Last edited 15 November 2017.