Skip to content

Returns the user's current access token.

GET
/api/calendar/token

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Responses

Success
Authorization
api_key
cURL
curl -X GET \
'http://localhost/api/calendar/token'

Samples

cURL
curl -X GET http://localhost/api/calendar/token
JavaScript
fetch("http://localhost/api/calendar/token")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/calendar/token");
Python
import requests
response = requests.get("http://localhost/api/calendar/token")
print(response.json())