MINDBODY API GetActivationCode tool





Site ID:


23 comments

This is a great help, been unsure about this API call for over a week. I owe you a coffee.

by Andrew on August 30, 2012 at 4:23 pm. #

Really appreciate you putting out tools to help out with our API!

Just to let everyone know, we also recently updated our own GetActivationCode tool available directly through the API Partner Portal at api.mindbodyonline.com.

by James Pullar on September 24, 2012 at 11:02 pm. #

Is password same as key? I keep getting error “Invalid sourcename or password”

by Fred on March 21, 2013 at 4:09 pm. #

yes the password field is the same as the key. Since I released this tool MINDBODY has added a tool on their API Partner Portal. You could try that. go to http://api.mindbodyonline.com and log in. On the left side is a grey box with the label API Toolbox. When you hover over it some buttons appear. Click the one that says Get Activation Code and enter your SiteID

by Devin on March 25, 2013 at 8:57 pm. #

Thanks bro 🙂

by MT on January 18, 2014 at 10:25 pm. #

I too owe you several beers. I went back and forth for weeks with support and she was no help. They don’t make it clear in the documentation that this request for AccessCode is needed.

by Bryan on June 30, 2014 at 8:26 pm. #

Thanks so much, that was really helpful. They should hire you to write their documentation.

by MBO Newb on August 6, 2014 at 4:33 am. #

Haha.. Glad to help! Hopefully we will see some improvements now that they are charging for API access.

by Devin on August 6, 2014 at 5:12 am. #

OMG Thanks a million for this! I am not familiar with SOAP and this was killing me. 🙂

by frank on October 7, 2014 at 7:57 pm. #

[…] Then you will have to generate an activation code, for which devin has also made a super-useful tool, located here. […]

by Creating your Mindbody Credentials | Media Zoo on October 15, 2014 at 4:00 pm. #

Don’t know if I had mentioned this to you, but I made a wordpress plugin using your API. Thanks for all your work.

-iLL

by Mike iLL on October 15, 2014 at 4:01 pm. #

Hi Mike I saw you developed a plugin for WordPress using my API wrapper. That is great! Mindbody doesn’t have the easiest API to work with so the more tools out there to help businesses easily integrate their site with Mindbody the better.

by Devin on October 16, 2014 at 1:17 am. #

Hi Devin,

I’m developing a site for a client using your mindbody-php-api to pull in a MindBody class schedule. I’d like to add a link to sign up for the class in each class row, much like how it is on the MindBody site. Do you have any examples of how to do this?

Thanks for putting the code out there, it has been a great help!

by Kelly on December 16, 2014 at 1:04 pm. #

Figured it out, the linkURL can be used for signing up.

Thanks again for sharing!

by Kelly on December 16, 2014 at 10:09 pm. #

Thanks to your blogs, i was able to access mindbody classes. But i am having a difficult time accessing the workshop data. Any help regarding workshop will be appreciated..

Thank you..

by debopriyo chakraborty on January 7, 2015 at 10:12 am. #

Hi, I haven’t worked directly on workshops with the API but I think you might be able to find what you’re looking for by using the Class Service’s GetEnrollments method. Something like

$enrollments = $mb->GetEnrollments(array(‘EndDate’=>date(‘c’, strtotime(‘today + 1 month’))));

by Devin on January 9, 2015 at 7:54 pm. #

(repeat post) where do I put this activation code or even the code to access the scheduler for mindbody? followed all instruction and now… no where to put them haha

by Josh on November 19, 2015 at 4:06 am. #

Devin,

Nice article BTW.
I need small help. I want to access all active classes using Jquery/Ajax. I found that they are using Complex Objects for calling their api. I am scratching my head for hours in figuring out “its proper JSON object”. A small sample would be a great help.
So, please help me in that. I am a .Net dev and not much comfortable in PHP. Javascript/Jquery are welcome.

Thanks in Advance
Amit

by Amit on July 3, 2015 at 1:15 pm. #

I´m almost getting. Crazy. I really can´t make it right for some reason.
I have this fixed
Source Name
Key
Site ID
I have to code from – MINDBODY API GetActivationCode tool

I keep getting error “Invalid sourcename or password” when I add the shortcode [mz-mindbody-show-schedule] in the page.
I´m not so good with HTML codes.

MINDBODY API GetActivationCode tool . . . ->
Where should I add this code into???
Do, I put it in her: ‘MB_API.php’ Keeps telling invalid.

require_once ‘MB_API.php’;
$mb = new MB_API(array(
‘SourceName’=>’YourSourceName’,
‘Password’=>’YourPassword’,
‘SiteIDs’=>array(‘YourSiteID’)
));

I really not a programmer, I said yes to help my box with getting the set up at at wordpress. Would love some help!! 🙂

by Pauline on October 23, 2015 at 5:57 pm. #

totally lost where the hell do I put these codes?

by Josh on November 19, 2015 at 4:04 am. #

Thanks so much for this!! you saved me alot of stress.. Seriously thanks!

by Will on May 17, 2016 at 9:55 am. #

Seriously, thank you SO much! Been trying to figure this out and you saved me.

by Arun on November 17, 2016 at 10:08 pm. #