Return to developer resources

Automate inviting office users to start booking your spaces

API - Adding Users

With hundreds of employees it can quickly become time consuming giving them access whenever someone joins. It's easy to automate adding users with our API.



Our create_membership_invitation endpoint automates the invitations of new users to WiggleDesk.

If you have thousands of users it can incrementally add more overhead to your onboarding teams when getting them set up with internal services. WiggleDesk saves time by automating the provision of access to your spaces.


The API endpoint listens for POST requests containing an email addresses of users that you'd like to invite.

Shortly after (usually a few seconds), an email will be sent to the email provided, with an invitation to join your organisation's WiggleDesk account.

The invited user can then finalise their account settup either by creating a username/password or clicking 'sign on with Microsoft / Google'.

This is equivilent to inviting a user via our 'Manage Users' page:

Automating office access

Before We Begin

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

Access API Via Code

The below example uses HTTPIE to illustrate how to connect to this endpoint. Simply swap out 'YOUR_SECRET_TOKEN' with your secret token and 'EXAMPLE@EXAMPLE.COM' with the email address of the user that you'd like to invite.

http POST "Authorization: token YOUR_SECRET_TOKEN" email_invited=EXAMPLE@EXAMPLE.COM


A successful response will return something like this:

HTTP/1.1 201 Created


Content-Length: 119

Content-Type: application/json

Date: Tue, 14 Jun 2022 09:24:17 GMT


Referrer-Policy: same-origin

Server: Google Frontend

Vary: Accept


X-Content-Type-Options: nosniff

X-Frame-Options: SAMEORIGIN


"email_invited": "",

"url": ""


Access API Via Zapier

Coming Soon: Example of how we can listen to new users being added to a Teams directory and automatically inviting them to WiggleDesk.

Published June 18, 2022

Tagged Adding Users API

What is WiggleDesk?

WiggleDesk is the easiest way to roll out and manage hybrid working in your organisation.

Get set up in 10 minutes, more info here.