Sandbox Account Setup

Modified on Sun, 2 Feb at 3:20 AM

If you want to test OTO's API and integration in a safe environment before going live, you can create a sandbox account. This allows you to simulate API calls without affecting real data.


Step 1: Create a Sandbox Account

  1. Visit OTO Sandbox Portal.
  2. Sign up for a new account using your credentials.
  3. Once registered, log in to your sandbox account to access API testing features.

Step 2: Get the Refresh Token

After creating your sandbox account, retrieve the refresh token as explained in this guide. This token will be required to authenticate API requests.


Step 3: Use the Staging API URL

In the sandbox environment, the API base URL differs from the production version. Instead of using:

https://api.tryoto.com

Use the staging API URL:

https://staging-api.tryoto.com

Everything else in the API integration remains the same, including endpoints and request structures.


Key Notes

  • Testing Environment: The sandbox is designed for testing only and does not affect live operations.
  • Refresh Token Usage: Ensure you use the correct refresh token from the sandbox account, not the production one.
  • API Requests: Use staging-api.tryoto.com in all API requests to interact with the test environment.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article