Skip to main content
POST
/
user
/
update
Update User Profile
curl --request POST \
  --url https://ragapi.sno.ai/v1/user/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "profilePictureUrl": "<string>",
  "hasOnboarded": true
}
'
{
  "success": true
}
Updates the profile information for the currently authenticated user. Allowable fields include first name, last name, profile picture URL, and onboarding status.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Body

application/json
firstName
string
lastName
string
profilePictureUrl
string<url>
hasOnboarded
boolean

Response

Profile updated successfully

success
boolean