Skip to content

Postman Collection

Explore the Worklayer Public API from Postman

Preface

This Postman collection provides easy access to the endpoints of our public API. With it, you can explore and test the various functionalities offered by our service.

Getting Started

To get started, simply import this collection into your Postman app. You'll find a set of pre-built requests organized by resource type, making it easy to navigate and understand the API's capabilities. Before you start, you will need the following credentials from Taxfyle:

  • Machine Client ID
  • Machine Client Secret

Environment

The collection doesn't store any values, so your credentials stay out of it. Create a Postman environment, add these variables to it, and select it:

VariableValue
public_basehttps://api.worklayer.com for production, or https://api.staging-worklayer.com for staging
machine_client_idYour Machine Client ID
machine_client_secretYour Machine Client Secret

Put your credentials in the current value only, and set machine_client_secret to the secret type. Postman shares initial values with everyone who can access the environment.

Authentication

All of the endpoints require an access token. Run the Machine Client Auth request first. It gets a token and saves it in your environment as access_token, and the other requests use it. When the token expires, run Machine Client Auth again.

Usage

Feel free to experiment with the requests, modify the request bodies, and observe the responses. Each request is well-documented, providing details about the expected parameters, headers, and response structures.

If you encounter any issues or have suggestions for improvement, please don't hesitate to reach out to our support team or contribute to the collection directly.

Happy exploring!

Click here to downloadClick here to download

Last updated on November 9, 2026