Authentication
Authentication on Frequency is done through OAuth 2.0 and supports 3 different authentication flows.
Authorization Code Flow
# We can use the code granted in the previous step like so:
curl https://www.frequencyapp.com/api/v1/oauth/token
-d client_id="APPLICATION_ID"
-d client_secret="APPLICATION_SECRET"
-d code="RETURNED_CODE"
-d grant_type="authorization_code"
-d redirect_uri="urn:ietf:wg:oauth:2.0:oob"{
"access_token": "de6780bc506a0446309bd9362820ba8aed28aa506c71eedbe1c5c4f9dd350e54",
"token_type": "bearer",
"expires_in": 7200,
"refresh_token": "8257e65c97202ed1726cf9571600918f3bffb2544b26e00a61df9897668c33a1"
}Client Credentials Flow
# We can use the code granted in the previous step like so:
curl https://www.frequencyapp.com/api/v1/oauth/token
-d client_id="APPLICATION_ID"
-d client_secret="APPLICATION_SECRET"
-d grant_type="client_credentials"{
"access_token": "de6780bc506a0446309bd9362820ba8aed28aa506c71eedbe1c5c4f9dd350e54",
"token_type": "bearer",
"expires_in": 7200,
"refresh_token": "8257e65c97202ed1726cf9571600918f3bffb2544b26e00a61df9897668c33a1"
}Password Flow
Personal Access Tokens
Last updated
Was this helpful?