0

We have observed that if you call SFMC Auth API in succession, you get different access token each time and all are valid till expiry.

I wanted to know if there is some upper limit on number of valid access tokens per client. In our use case we want to maintain one access token per machine. Will there be an issue with scaling?

For reference Auth API:

POST https://{YOUR_SUBDOMAIN}.auth.marketingcloudapis.com/v2/token
{
    "grant_type": "client_credentials",
    "client_id": "xxxxxxxx",
    "client_secret": "xxxxxxxxxx",
    "account_id": "xxxxxxxxx"
}
1

1 Answer 1

0

The lifetime of a v2 access token is 20 minutes. Read HERE

I cannot find any official documents mentioning about REST API call limit. But it seems the Salesforce Support suggests not using more than 2,500 calls per minute

2
  • 2
    …but why would you want to flood the auth endpoint with token requests, for a token with 20 minute lifetime Jan 7, 2023 at 12:55
  • I did not say he should flood the auth token , just provide information for his consideration
    – Duc Le
    Jan 7, 2023 at 15:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .