This endpoint returns all bookings happening today in your organisation. This can be helpful to quickly identify where people currently are expected to be.
The API endpoint listens for GET requests, identifies which users are in the same organisation as the requester and returns data on all users bookings happening during the day of the request.
First grab your API key from your profile page. If you don't see it, you'll need to double check with a WiggleDesk Admin that your account has been given access and that the steps outlined in our 'Getting started' page have been followed.
WiggleDesk's API can be tested with httpie which is a basic http client written in Python.
You can install httpie using pip:
pip install httpie
You can get a list of all your upcoming bookings by running this command in your command line / terminal (remember to swap out 'YOUR_SECRET_TOKEN' with your secret token:
http https://wiggledesk.com/api/users_in_office/ "Authorization: token YOUR_SECRET_TOKEN"
It should return a json array like this (Assuming there are any current bookings):
HTTP/1.1 200 OK
Coming SoonPublished June 27, 2022
WiggleDesk is the easiest way to roll out and manage hybrid working in your organisation.
Get set up in 10 minutes, more info here.