generated an api_key model with an access_token string.