Skip to main content
PATCH
/
api
/
v3
/
users
/
me
Update current user profile
curl --request PATCH \
  --url https://paradigm.lighton.ai/api/v3/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": "ar",
  "agent_instructions": "<string>",
  "skip_help_step": true,
  "terms_accepted": true
}
'
{
  "profile": {
    "id": 123,
    "username": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com"
  },
  "company": {
    "id": 123,
    "name": "<string>",
    "login_method": "<string>"
  },
  "permissions": {
    "is_admin": true,
    "can_manage_documents": true,
    "can_manage_api_keys": true,
    "has_monitoring_permission": true
  },
  "settings": {
    "language": "<string>",
    "agent_instructions": "<string>",
    "skip_help_step": true
  },
  "compliance": {
    "terms_accepted": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

language
enum<string>
  • ar - Arabic
  • en - English
  • fr - French
  • de - German
Available options:
ar,
en,
fr,
de
agent_instructions
string | null
skip_help_step
boolean
terms_accepted
boolean

Response

200 - application/json

Serializer for GET /api/v3/users/me/ endpoint. Returns organized user profile data with logical grouping.

profile
object
required
company
object
required
permissions
object
required
settings
object
required
compliance
object
required