vTiger CRM API Integration

Hello everyone,
we are evaluating the use of Bubble as an interface to our CRM (vTiger) using calls to the CRM APIs itself.
It is not clear to us how to query the APIs since the vTiger authentication system is based on a double call:

  1. A request (challenge) is made passing the username and a Token is returned;
  2. With this token you need to perform this transformation: “accessToken = md5(Token + [AccessKey])” where [AccessKey] is a code linked to the user, it can be seen as a password;
  3. Once you have obtained the accessToken you can call the login API which if successful returns a sessionId with an expiration date/time.
  4. This sessionId is used in subsequent calls until it expires. Once it expires you need to repeat the cycle from point 1 to point 3 to have a new sessionId

The other calls are either in the x-form-urlencoded format or directly get/post with parameters.
Is it possible to do this? I searched for instructions in the forum but I didn’t find anything useful.

Once we have passed this point we should then understand and monitor the WU consumption for all the planned activities as well as understand how to issue a pdf to print (it is part of the interface requirements that we must implement) but in this case we will open new threads if we are unable to do so.

Thanks in advance to anyone who can help us