Client Credentials

The Client Credentials grant type is ideal for access to public data and self-management of your Under Armour API key. This grant type allows consumers to make requests on their own behalf, not that of a user; it therefore does not require user authorization. Some use cases include:

  • Exploring public workouts
  • Retrieving ActivityTypes

Technical Description

For this grant type the POST request to the access token endpoint ( should have the following parameters:

Param Value
grant_type client_credentials
client_id Client Application’s client ID
client_secret Client Application’s client secret


  • Unlike most of our API, requests to the access token endpoint are required by the specifications to have a content type of application/x-www-form-urlencoded.
  • The legacy endpoint URL is interchangeable.


This is a Python example of how to make a valid client credentials request.

import requests

url = ''

CLIENT_KEY = '<Your client key>'
CLIENT_SECRET = '<Your client secret>'

headers = {'Api-Key': CLIENT_KEY, 'Content-Type': 'application/x-www-form-urlencoded'}

data = {'grant_type': 'client_credentials', 'client_id': CLIENT_KEY, 'client_secret': CLIENT_SECRET}

response =, data=data, headers=headers)

response should return 200 and response.content should contain the new access token.

Notice you need to include your API_KEY in both the headers and in the data.

Use your own api key and secret pair when you try it.