Step 1: Get Access Token

As a start please obtain your client_id and client_secret from Planky API keys

Get an access token

POST

/oauth/v2/token

Planky uses access tokens to authenticate and authorise API requests.To obtain your access token, please ensure you have created a Planky user account. The access token, which is valid for a limited time, is provided using an authorisation header with structure Authorisation: Bearer access_token. Upon expiration, calls to the API with that token will return the error code 401 Unauthorised and a new access token has to be recreated by repeating the steps above.

Keep your credentials secret

Do not share your client_id and client_secret with anyone.

Parameters

ParameterData typeRequired?Description
client_idstringyesOAuth client_id
client_secretstringyesOAuth client_secret
grant_typestringyesPlease set the grant to "client_credentials"

Request example:

Response example:

Was this article helpful?

Friendly Score UK Ltd.

41 Luke Street

London EC2A 4DP

Call us on +44 20 3996 3540

Company registered in England

Company number 09168668, ICO ZA111687

VAT registration number 206 9758 80

Authorised and Regulated by the Financial Conduct Authority. (FRN: 821100, 781963)