Skip to main content
An API was set up in a full Salesforce sandbox for a client for testing to pull data so they could set up accounts on their platform by sharing with them the URL and access token. First test was successful, but the one after several days later showed that the access token had expired and I had to perform a POST to retrieve one for the client.

When I finally set up the integration user in the production environement, how do I generate an access token for my API such that it never expires since the client will need to continuously pull data every few days over the course of several weeks. To be having to generate a new access token each time seems inefficient.

Any information on how to set this up with best practices would be appreciated.
1 answer
0/9000