reference
Get & Update User
Retrieve or update the currently authenticated user's profile.
Published: March 22, 2026Updated: March 22, 2026
Get & Update User
Get Current User
GET /api/auth/v1/user
Authorization: Bearer <access-token>Update User
PATCH /api/auth/v1/user
Authorization: Bearer <access-token>
Content-Type: application/json
{
"name": "New Name",
"image": "https://example.com/avatar.png",
"metadata": { "key": "value" }
}SDK Example
// Get user
const { data: { user } } = await postbase.auth.getUser()
// Update user
await postbase.auth.updateUser({ name: 'New Name' })