Open with AI
Get a user
GET
/v1/users/{id}
const url = 'https://proficient-seahorse-829.eu-west-1.convex.site/v1/users/user_k970b359khfwwny0q8fjah1hc97gtcwm';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/users/user_k970b359khfwwny0q8fjah1hc97gtcwm \ --header 'Authorization: Bearer <token>'Retrieves a user the caller shares a team with.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
User ID
string
Example
user_k970b359khfwwny0q8fjah1hc97gtcwmUser ID
Responses
Section titled “ Responses ”The user
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}User not found
Media typeapplication/json
object
error
required
string
Example
{ "error": "Render not found"}