/api/v1/users/me
GET
/api/v1/users/me
const url = 'https://example.com/api/v1/users/me';const options = {method: 'GET'};
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://example.com/api/v1/users/meResponses
Section titled “ Responses ”Default Response
Media type application/json
object
Example generated
{ "user": { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "email": "hello@example.com", "image": "example", "emailVerified": true, "banned": true }, "organizations": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Default Response
Media type application/json
object
message
required
string
Example generated
{ "message": "example"}