This API is a legacy version. For newly integrated apps, we recommend using the Get the access token of an internal app API to obtain the access credential.
API call description
This API is used to obtain the access credential required for an internal app to call DingTalk open capabilities. Note the following when using it:- Call this API to obtain the access_token before the app starts or before you call an API for the first time.
- Cache the access_token yourself and store it separately by app dimension, because the access_token of each internal app is independent.
- We recommend setting the cache expiration time slightly less than 7200 seconds (for example, 7000 seconds) to implement an automatic refresh mechanism and prevent credential invalidation caused by time deviation.
- Do not call this API frequently to obtain the credential. Otherwise, the rate limiting policy may be triggered and affect service stability.