Api to generate Token returns me error

It would be great if someone could help me in fetching locations from CMS mappedin via Rest API.

Like i tried to generate token with below details

Step 1: https://auth.mappedin.com/oauth/token
Step 2: Content-Type: application/json
Step 3:
{
“client_id”: “keyxxxxxxxxxxxxxxx”,
“client_secret”: “secretxxxxxxxxxxxx”,
“grant_type”: “client_credentials”
}

Error Msg i receive
{“error_msg”:“404 Route Not Found”}

The REST API URL you are using doesn’t exist.

Can you confirm if your map was created using Mappedin Maker https://app.mappedin.com/editor/ or Mappedin CMS https://cms.mappedin.com/en/dashboard?

it was under Mappedin CMS

also i was tring to fetch the all location via SDK but was not able to do that

There isn’t a REST API to download just locations, but it is possible to download a MVFv3 file (Mappedin Venue Format v3) that contains the location information. You can read about this here: MVF Locations | Mappedin

If you wish to do so, please contact Mappedin Support to request an appropriate API key and secret to do so using this form: Mappedin | Contact us

You can get the locations from Mappedin JS as well. Read our Enterprise Data Guide for instructions on how to do that.