Jump to Content
Rently
API ReferenceDiscussions
v1.0

Log InRently
Log In
v1.0API ReferenceDiscussions

Discussions

Ask a Question

Using Smart Home API

Hi, I'm working on a python wrapper of your smart home API and had a question regarding the login route. I'm using the example request provided in the documentation with my own username and password (used in the Rently Smart Home app), but I am always getting a 401 unauthorized. Do you have an idea where the issue might be? Let me know if you need more info Request: curl --location --request POST 'https://app2.keyless.rocks/api/agents' \ --header 'Accept: Login-Success' \ --header 'Content-Type: application/json' \ --header 'Cookie: AWSALB=Het0/pG+DSE/hA3qxHuLlBHN8XfjSJqjGCcQaTqTpQ8w8amNJhKJ9JXpLnubYFx3KrQXR/1POdoI1NI121ogr6LFI+mg95EeyPpS0ylv0VsD88CszbFt9/Df4NwZ; AWSALBCORS=Het0/pG+DSE/hA3qxHuLlBHN8XfjSJqjGCcQaTqTpQ8w8amNJhKJ9JXpLnubYFx3KrQXR/1POdoI1NI121ogr6LFI+mg95EeyPpS0ylv0VsD88CszbFt9/Df4NwZ; request_method=POST' \ --data-raw '{ "username": "**********", "password": "**********", "grant_type": "password" }' Response: { "success": false, "message": "Username or password is incorrect" }
Posted by Kais B 2 months ago
  • Recent
  • Popular
  • Unanswered