Introduction
Getting Started
To develop and integrate an application using theStretch APIs, you'll need to do the following:
- Create a developer account.
- Request a client id and client secret for development and live.
- Write your application, using the sandbox for development and testing.
- Change api url and client id to live.
Creating a Developer Account
Before you can log in to the developer portal, you must have developer account.
To create a developer account
- Fill out the form for a developer account.
- Click Submit.
- You can then log in to your developer account from this link
Using sandbox
The sandbox has a permanent subscriber owner account that you can log into if you need to change the settings of the sample business to match the settings used by the business for which you are developing your application. Optionally, you can also create a mock client account in the sandbox, and log into that account to emulate the behavior of the business owner's clients. You can use this account to act as a client who makes and cancels appointments, buys products from the sample online store in the sandbox, and so on.
To log in to the sandbox as a subscriber owner
- Go to API Stretch developer's portal.
- Click Log In.
- Enter your username(phone or email) and password, and click Log In. -Once logged in, refer the details on screen to use the Sandbox site.
To create a client account to test application behavior
Go to Mindbody developer's portal.
On the upper right corner, click Log In.
Use your username and password to log into your developer account.
Once logged in, refer the details on screen to use the Mindbody Sandbox site.
In the Create an Account box, enter an email address and then click Next.
Note that entering an email address is optional, but if you plan to test email behavior, you need to add a real email address here.
Fill in the Contact Information fields and the Account Information fields.
Check the checkbox to agree with the terms and then click Create Account.
Private Sandbox Sites
You may purchase a private sandbox site if the free public sandbox site is not meeting your testing needs. For more information, please reach out to Contact API Support.