Zoho Desk KB - how to find article ID and category ID

Zoho Desk KB - how to find article ID and category ID

Hello

We plan to set up a specific article on some pages of our web app, and set up ASAP so that it opens directly the corresponding article. We found how to do this with javascript (thanks to https://www.zoho.com/desk/developers/asap/index.html )

Opening an article is OK with this javascript code:
  1. ZohoHCAsap.kbArticles.view(  );

This method seems to accept either an article ID or a permalink.
=> What is the recommended way to identify an article ? Moreover, how can we find an article's ID ?

This method opens the article in the assistant.
=> Is there a way to (pre)load the article without opening the assistant, so that it is the default article when the user clicks on the launcher to open the assistant ?

Opening the articles in a category is OK with this javascript code:
  1. ZohoHCAsap.kbArticles.list( { categoryId : categoryId } )

=> How can we find a category's ID ?

Regards, 

Ronan