Mzone API User authentication - Generate authentication token via MZone API

Mzone API User authentication - Generate authentication token via MZone API

How to Generate authentication token via MZone API

This guide serves to assist the creation of an authentication token via the MZone API.

Step 1 - Create the Client secret and ID


1.1 - An agent would've created the client secret and ID which is required for the creation of the token, see steps on the article - Mzone API User authentication - Client Secret and ID setup( link below).

Step 2 - Set up API call


2.1 - Open your API testing application (Postman is being used in this example).

2.2 - Open a new tab and insert the following URL https://login.mzoneweb.net/connect/token
Note: https://login.mzoneweb.net/connect/token is for the live Mzone environment. For staging use the following URL - https://login-stg.mzoneweb.net/connect/token


2.3 - Enter client details



grant_type:                password - Grant Type
response_type:          code id token - Value to be returned
client_id:                     mz-rastreo - Client ID( as described here: Mzone API User authentication - Client Secret and ID setup)
client_secret:              gj4o^iuUP-mcJn@!9*nTw*pc - Client Secret( as described here: Mzone API User authentication - Client Secret and ID setup)
username:                   itdinasa - Mzone username where the data being queried belongs to
password:                   Dinasa@123456 - Mzone password where the data being queried belongs to

Step 3 - Copy the returned results

3.1 - After you set up and press Send, you should get the results as shown in the example below:



3.2 - Copy the highlighted values above(inside of the double quotes ") which then you can use it as a bearer authentication code as shown below:










    • Related Articles

    • MZone API - Get Mzone Inbox Notifications using API

      Get Mzone Inbox Notifications using API This guide serves to assist users to retrieve Mzone notifications using the MZone 6 API Step 1 - get MZone token 1.1 use the link below for instructions to get the authorization token: Mzone API User ...
    • Creating a Child User Group in MZone: A Step-by-Step Guide

      Step 1: Logging into the MZone Parent Group Begin by accessing the MZone parent group using the designated credentials. This login provides you with access to the main account. Step 2: Creating a Child User Group Navigate to Configuration: After ...
    • How to Create A User on Mzone

      Log in to Mzone with Administrator Account 2. Go to "Configuration" and scroll to "Users" 3. Click on "Users" 4. Add User Description - You won't need to add a description manually because it will automatically be filled once you enter the name and ...
    • How To Get/Send Log Files on Mzone Fleetdrive

      These step-by-step instructions will guide you in collecting log files, which are often necessary for support purposes. Log files serve several key functions: Aid in troubleshooting and debugging software and hardware issues. Provide valuable ...
    • How to add the Chat option in Mzone UI

      In order to enable the chat feature in your MZone User(s) UI, follow these steps below: Go to the User Configuration >>Security>> Role Configuration Tab. Select an existing role to edit or add a new role to apply to the user(s). Select new "Add Role" ...