Skip to main content

LASSO REST API – Tip Sheet

Get tips on how to use the LASSO Rest API.

Updated over 2 months ago

LASSO REST API – Tip Sheet

Two Swagger URLs

Workforce

Financial Mgmt. & Inventory

Taking the API for a spin…

Give it a try, fetch a list of airports. We recommend using Postman to make these test calls. The Swagger “Try” feature currently does not work properly in the Workforce Swagger documentation.

Note, cURL examples in the Workforce Swagger documentation are missing a portion of the correct url, “api/v1”. Please be sure your URL contains these values as shown in the following API URL examples.

https:// {your-LASSO-subdomain}.api.lasso.io/api/v1/airports

If your credentials or the URL are incorrect, you may receive HTML back (see screenshot). When these two items are correct, you will always receive a JSON payload.

Financial Mgmt & Inventory API URL example:

https:// {your-LASSO-subdomain}.api.lasso.io/api/nx/v1/invoices

Notes:

  • Observe the difference in the API base URL between Workforce and Financial Mgmt & Inventory.

  • The same API key is valid for both sets of API calls.

Keys to Success in Postman:

  1. Use API Key as the Auth Type

  2. Make sure you have LASSO-APIKEY as the Key

  3. Paste the API key provided by LASSO in the “Value” field.

Additional Tips:

Regarding the event creation, try to add these two fields to your payload:

hide_client

boolean
title: Hide client

hide_name

boolean
title: Hide name

These settings will hide the client name and/or the event name when inviting crew.

Did this answer your question?