TikAPI is using a custom implementation of the OAuth 2.0 protocol.
TikAPI is using a custom implementation of the OAuth 2.0 protocol.
client_id required
redirect_uri required
access_token
,scope
will be included. You must set your application redirect links on Developer Dashboard.scope optional
Security Scheme Type | OAuth2 |
---|---|
implicit OAuth Flow | Authorization URL: https://tikapi.io/account/authorize Scopes:
|
state optional
country optional
email optional
After the user has authorized your application a redirection will occur at your specified redirection link and the query URL parameters will include:
access_token
which is the Account Key,scope
which is the list of allowed permissions, in case the user might have chosen to disallow some permissions.Also, you can see your current authorized users from your Developer Dashboard.
The Account Key doesn't normally expire, but it will be invalidated if the account session expires, or when the user chooses to revoke access.
Now for getting this user information and making API requests you should simply include this key in the request headers with the header name being X-ACCOUNT-KEY
.
Security Scheme Type | User Authorization Key |
---|---|
Header parameter name | X-ACCOUNT-KEY |