Get profile
GET
/api/user/profile
const url = 'https://hitkeep.com/api/user/profile';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/user/profile \ --cookie hk_token=<hk_token>Returns authenticated user profile.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”User profile
Media type application/json
object
avatar_url
string
display_name
string
email
string format: email
given_name
string
id
string format: uuid
last_name
string
Example generated
{ "avatar_url": "example", "display_name": "example", "email": "hello@example.com", "given_name": "example", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "last_name": "example"}