EndpointsAuth
Make token request for a third-party client
Path Parameters
client_reference*string
Format
uuidHeader Parameters
auth?|
Cookie Parameters
auth?|
Request Body
application/json
scope*array<>
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://api.hikka.io/auth/token/request/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "scope": [ "read:user-details", "update:user-details:email", "delete:user-details:image", "delete:user-details:cover", "update:user-details:password", "update:user-details:username", "update:user-details:description", "read:watchlist", "update:watchlist", "read:readlist", "update:readlist", "read:export-list", "read:client:list", "create:client", "read:client", "update:client", "verify:client", "delete:client", "read:collection", "create:collection", "update:collection", "delete:collection", "create:article", "update:article", "delete:article", "read:articles", "read:articles_top", "read:comment:score", "create:comment", "delete:comment", "update:comment", "create:edit", "update:edit", "close:edit", "accept:edit", "deny:edit", "read:favourite", "create:favourite", "delete:favourite", "read:favourite:list", "read:follow", "follow", "unfollow", "read:history", "read:notification", "seen:notification", "set:vote", "read:vote", "upload", "create:article", "update:article", "update:user-details", "user-details", "watchlist", "readlist", "export", "client", "collection", "article", "comment", "edit", "favourite", "follow-full", "notification", "vote", "all" ] }'{
"reference": "string",
"redirect_url": "string",
"expiration": 1686088809
}{
"message": "Example error message",
"code": "example_error"
}