How to create direct links to tasks?

Hello!

There are 2 different links for tasks:

1. If subdomain is enabled for account, then it looks like "https://%subdomain%.insight.ly/tasks/taskdetails/%ID%"
2. "https://crm.na1.insightly.com/details/Tasks/%ID%" otherwise.

There are no redirects, so both incompatible between themselves.

Is there a way to detect what format of links I should use, using API?

Call GET /Instance always returns subdomain even it not used.

0

Comments

2 comments
  • Hello Ivan,

     
    If you are using our Insightly Classic web version, the first link looks right. If you are using our New Insightly Experience, you should use the second link.
     
    Hope that helps! 
     
    0
    Comment actions Permalink
  • You're right. But the problem is to understand which web version I need to use: I have OAuth integration with several users. And I don't know which web version they uses.

    Is there a way to detect it using only API?

    0
    Comment actions Permalink

Please sign in to leave a comment.