Generate an Access Token
client_id
and client_secret
, in order to generate an Access Token for a Private App, you simply need to perform one call to the /oauth/token
endpoint using the client_credentials
grant.curl -u client_id:client_secret https://lnk.bio/oauth/token -d "grant_type=client_credentials"
{"access_token":"6eea87dd93d743ac108fa00af6685d7a294b4696","expires_in":3600,"token_type":"Bearer","scope":"basic"}
access_token
part and you can start authenticating your calls to the Lnk.Bio APIs adding the access_token in the Authorization: Bearer
header of your calls.curl -H 'Authorization: Bearer 6eea87dd93d743ac108fa00af6685d7a294b4696' https://lnk.bio/oauth/v1/me
Modified at 2024-04-16 07:45:01