Get Nearby User API
The Get Nearby User API provides the list of users who are currently present within the given radius.
Get Nearby User API
GET
https://api.roam.ai/v1/api/search/users/
Query Parameters
Name | Type | Description |
---|---|---|
user_id | string | Filters nearby user data for the given user_id’s last known location. E.g.- 5d9450ace47bae6d70064a9b |
page_number | integer | Used to look through all pages of data. E.g.- 1 |
radius | integer | Search in the radius provided. E.g.- 10000 |
location | string | Origin location in [long, lat] format. E.g.- 12.98046, 80.16492 |
page_limit | integer | Number of objects to be returned in a page Default: 10 Accepts: 10-100 |
Headers
Name | Type | Description |
---|---|---|
Api-key | string | Auth-key E.g.- 33223kjhdcscijhb5sdbsdmjsdcbj5f |
Sample Request
Last updated