Skip to main content
Solved

REST API long duration access

  • 31 August 2022
  • 2 replies
  • 96 views

We have a project where the customer’s external system will be reading data from Acumatica via the REST Api regularly and often. Is there an alternative to using cookies, such as setting the connection up as a “known application” with a shared secret value?  So that their authentication comes with the request vs. having a login to get the cookie and then they have to store the cookie. 

I know that I can bump up the lifespan of a cookie, and maybe that’s my only option, but I’m curious if there is another way to grant access without the logon/logoff calls.

2 replies

Userlevel 7
Badge +5

Yes, Acumatica supports OAuth 2.0 authorization (token based)

 

Please see here:

https://help.acumatica.com/(W(50))/Help?ScreenId=ShowWiki&pageid=a8f71c44-9f5c-4af8-9d47-bc815c8a58e7

Userlevel 3
Badge

Dmitrii Naumov I need to put notes on every customer using API, Can we put the data using Access token or we need to login first?

 

Reply