(1) Visit https://api.momentumiot.com/swagger/index.html, scroll down, and find "Authentication" in the list of endpoints.
(2) Expand "Authentication" and click on "Try it out."
(3) Replace the values for "emailaddress" and "password" with your Momentum login credentials. Leave the "role" field blank. Then click "Execute."After execution, you will receive a token in the response. Copy this token.
(4) Scroll back to the top of the page and click on "Authorize."
(5) In the value field, enter: Bearer {your_token}. (Replace {your_token}with the token you copied.) Click "Authorize" again to confirm. You now have access to use all available API endpoints.
Comments
0 comments
Article is closed for comments.