Log in to get all the resources and attributes. When you log in all the examples will be fully working with pre filled tokens.
You can can login to Movenium API with endpoint POST /login.
Endpoints
POST /loginLogin with your username and password in order to get access token. With access token you will be able to retrieve all resources.
POST /login
curl --request POST 'https://api.movenium.com/login' \ --form 'grant_type=password' --form 'username=<username>' \ --form 'password=<password>' \ --form 'client_id=openapi'
Response
{ "access_token": "<access_token>", "expires_in": 3600, "refresh_token": "<refresh_token>", "token_type": "Bearer", "scope": null, "user_id": "<logged in users id>" }
POST /login
curl --location --request POST 'https://api.movenium.com/login' \ --form 'grant_type=refresh_token' \ --form 'refresh_token=<refresh_token>' \ --form 'client_id=openapi'
Response
{ "access_token": "<access_token>", "expires_in": 3600, "refresh_token": "<refresh_token>", "token_type": "Bearer", "scope": null, "user_id": "<logged in users id>" }