Overview
This article explains how to retrieve the available users (e.g. customers, drivers) on your MotionTools platform via API. You can use the information provided by this request for example in order to create a booking.
Prerequisites
- An API key has been created in the Dashboard.
Create a HTTP request to list users
-
Create the HTTP Request
- View the request and an example response in our API docs.
- For more information on how to interact with the API read Quickstart: API.
-
The response lists all available users. Each user object contains the id of the user and the related role e.g. Customer, Driver, Organization manager or Admin.
For more information on how to create new users via API read the API docs.
The user id can be used for other requests such as for creating a hailing booking via API.