Getting Started with Workleap API

This page will help you get started with Workleap API.

Get your API key

To access the Workleap API, your organization must first provision an API key. Right now, this is done through the provisioning section.

  1. Go to Settings > Provisioning.
  2. Select Connect next to API Provisioning.
  3. Create an organization management API Key if one doesn’t exist.
  4. You can do this from Settings > API or the API provisioning screen.

Notes:

You must be an administrator in your Workleap account to generate or receive the API key.

Use your API key

Once you have your key, add a workleap-subscription-key header of all API requests:

If the request you make requires a payload, make sure you set the content/type header to application/json.

Here's an example of a call that would fetch a user

curl --request GET 
--url [https://api.workleap.com/public/users/3dd16c42-38c8-4a5e-b77d-1a23440528bd](https://api.workleap.com/public/users/3dd16c42-38c8-4a5e-b77d-1a23440528bd) 
--header 'accept: application/json' 
--header 'workleap-subscription-key: SUBSCRIPTION-KEY'