Get access token

Generates an access token for API authentication.