GET User Info

Get User Info

GET https://api.cakes.com/user/:user_id

This endpoint allows you to get user information.

Path Parameters

Name
Type
Description

user_id

string

user's id

Headers

Name
Type
Description

Authorization

string

bearer token

{    "user_name": "user's username",    
     "pets": [{id: pet id, name: pet name}],
     "created_at": "date and time of user id created"
}

Last updated