As a start please obtain your client_id and client_secret from Planky API keys
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
| Parameter | Data type | Required? | Description |
|---|---|---|---|
| client_id | string | yes | OAuth client_id |
| client_secret | string | yes | OAuth client_secret |
| grant_type | string | yes | Please 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)