Jump to content

URL to a specific agent in WebApp?


jgx
 Share

Recommended Posts

On 9/23/2019 at 11:41 PM, jgx said:

Is there a URL syntax to navigate directly to a specific agent?   Instead of to the All Agents list.  

 

i.e. is there a parameter that can be added to the base UR:   https://portal.domotz.com/webapp/#/agent/dashboard

 

Sorry for the delay in getting back to you on this matter.

 

The direct link to access to a Specific Agent dashboard is the following:

 

https://portal.domotz.com/webapp/#/index.html?agentid=[AGENT_ID]

 

where [AGENT_ID] is the unique identifier of the Agent which can be retrieved using for example the Public API with the following call:

 

curl -X GET your-domotz-api-endpoint/public-api/v1/agent -H 'Accept: application/json' -H 'X-Api-Key: API_KEY'

 

(for more details, refer to the Public API documentation https://portal.domotz.com/developers under listAgents)

  • Upvote 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...