Skip to main content
API FAQ
Miles Dinsmore avatar
Written by Miles Dinsmore
Updated over a year ago

Getting Started

How do I get an API key?

Does one API key work for everything?

No, each environment will have a different key and each client will have a different key. You must request a key for each environment (both testing environments and client environments), and for each client.

Where can I find my organization, facility, and user IDs?

In addition to an API key, the following IDs are required to use our API endpoints:

  • Organization ID

  • Facility ID

  • User ID

You can retrieve these IDs by using the network logger on Google Chrome's developer console.

  1. Using Google Chrome, log into MJ Platform and select a location.

  2. Press Ctrl+Shift+I (or cmd+Shift+I on a Mac) to open Google Chrome's developer console.

  3. On the developer console, click the Network tab. This causes the developer console to log network activity.

  4. Within MJ Freeway, open the Locations menu and select a different location. This populates the network activity list in the developer console.

  5. View the IDs within the set_factility/ call in the network logger:

    1. In the Filter field, type set_facility.

      • If the field is not displayed, click the Filter button

    2. Under Name, click set_facility/. This opens the call's properties.

    3. Click the Preview tab.

    4. Click environment to view the facility ID, organization ID, and user ID.

How do I gain access to a client's production environment?

The API key you receive from applying for access through the portal grants you API access to our sandbox environment.

To request access to a client's production environment, see How to Receive an MJ Platform API Key.

How do I integrate with Leaf Data Systems?

Integration with Leaf Data Systems depends on the state in which you want to integrate:

  • Washington state: Leaf Data Systems Washington is a government track and trace software, which is separate from the client seed to sale system, MJ Platform. To request access, email APIsupport@leafdatasystems.com with your contact information and request.

  • Utah: Integration happens indirectly. We provide APIs to the MJ Platform, which in turn interacts with the state system. Go to our Partners Portal at partners.mjfreeway.com and apply for access.

  • Pennsylvania: Leaf Data Systems does not provide integration for Pennsylvania.

Who can I contact to discuss partnering with MJ Freeway?

Email marketing@mjfreeway.com with your request. Our team will consider your idea and respond with next steps.

Managing Accounts and API Keys

How do I manage and request keys I’ve received?

Log in to the Partners Portal and click KEYS on the top navigation bar. From there, you can view and copy your current keys, and you can request new keys.

How do I submit a request to change my API key?

Email partners@mjfreeway.com with the request. We will assess your request and notify you of the results.

General Questions

Can I receive login credentials for the MJ Platform generic partner test site?

No. The generic environment is populated with data to test the integration prior to using the client organization test site. When a client sponsors you, you can request user credentials from the client to the organization’s environment.

Is there a rate limit to API usage?

Yes. The rate limit is 100 API calls per minute with a maximum of 5,000 API calls per day.

How will I be notified if there is a change to the APIs or documentation?

The Partner Portal has a built-in messaging system that will alert you if there are any updates when you log in. MJ Freeway will also send an email alert to the address associated with your account.

Can I integrate with the legacy version of MJ Freeway, MJ Trackers?

MJ Freeway is no longer offering API integration with the Trackers products.

Did this answer your question?