Open with AI
Get the current user
GET
/v1/me
const url = 'https://proficient-seahorse-829.eu-west-1.convex.site/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <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://proficient-seahorse-829.eu-west-1.convex.site/v1/me \ --header 'Authorization: Bearer <token>'Resolves the user this API key belongs to.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”The user the key acts as
Media typeapplication/json
object
id
required
string
email
required
string | null
created_at
required
number
Example
{ "id": "user_k970b359khfwwny0q8fjah1hc97gtcwm", "email": "ada@example.com", "created_at": 1748875980}