I want API for get access token key in php API
You should implement the OAuth app authorization flow to get an access token, and optionally a refresh token. You can find information on that in the OAuth Guide and authorization documentation.