How to Set Up and Use Deel API Sandbox for Testing

Skip to main content
Table of Contents
< All Topics
Print

How to Set Up and Use Deel API Sandbox for Testing

Prerequisites

Before setting up the Deel API Sandbox, ensure you have the following:

  • A Deel account
  • Access to the Deel Developer Center
  • Basic knowledge of API calls and curl commands

Practical Steps

  1. Create a Deel account if you don’t already have one. Visit app.deel.com and complete the registration process.
  2. Log in to your Deel account and navigate to the Developer Center. This is typically found in the settings or developer menu.
  3. Create an API Sandbox environment by clicking the API Sandbox tab and selecting Create Sandbox. Enter a unique email address and password for your sandbox account.
  4. Copy and save your sandbox API Key or Access Token securely. Treat it like a password and avoid sharing it or committing it to version control.
  5. Note the sandbox API base URL: https://api-staging.letsdeel.com/rest.
  6. Use the curl command to make a test API call, replacing YOUR_API_KEY with your actual sandbox API key. Example: curl -X GET "https://api-staging.letsdeel.com/rest/contracts" -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json".
  7. Verify the API call is successful and that you’re receiving the expected response.

Verification

After completing the setup, verify the following:

  • Check the response from the API call to ensure it is successful.
  • Confirm that the sandbox API base URL (https://api-staging.letsdeel.com/rest) is used and not the production URL.
  • Ensure your API key is correctly formatted and included in the request headers.

Troubleshooting

If you encounter issues, follow these steps:

  • Double-check your API key and ensure it is correctly formatted.
  • Confirm you are using the sandbox URL and not the production URL.
  • Verify your API key is not expired or revoked.
  • Check the Deel API documentation for any changes or updates to endpoints or authentication methods.
  • Contact Deel Support for further assistance if the issue persists.

Limitations

The Deel API Sandbox has the following limitations:

  • The sandbox environment is for testing and does not reflect real data or business processes.
  • Sandbox API credentials are different from production credentials and cannot be used in production.
  • The sandbox environment may have limitations on the number of API calls or data volume.
  • Some endpoints may not be available in the sandbox environment.
  • The sandbox environment is not suitable for testing complex business processes or workflows.

Escalation

If you are unable to resolve the issue, follow these steps:

  • Contact Deel Support for further assistance.
  • Refer to the Deel API documentation for detailed information on endpoints, authentication, and error handling.
  • Use the Deel API Changelog to check for recent changes or updates to endpoints or authentication methods.
  • Consult the tool’s documentation if you are using a third-party tool or integration.
  • Provide detailed information to Deel Support if the issue is related to a specific endpoint or feature.

FAQs

What is the Deel API Sandbox?

The Deel API Sandbox is a separate testing environment where you can safely test API calls without affecting real data or production systems.

How do I create a Deel API Sandbox?

Log in to your Deel account, navigate to the Developer Center, and click on the API Sandbox tab. Select Create Sandbox and enter a unique email address and password for your sandbox account.

What is the sandbox API base URL?

The sandbox API base URL is https://api-staging.letsdeel.com/rest.

How do I test my API calls in the sandbox environment?

Use the curl command to make a test API call, replacing YOUR_API_KEY with your actual sandbox API key. Ensure you are using the sandbox URL and not the production URL.

What should I do if I get an error when using the sandbox?

Double-check your API key and ensure you are using the sandbox URL. If the issue persists, contact Deel Support for further assistance.

Methodology Note

This guide is based on official documentation reviewed with local AI screening, not hands-on testing. All steps and information are derived from the provided sources and do not include any invented features, statistics, or unsupported troubleshooting steps.