User

Update current user profile

PUT
/api/user/profile

Updates the authenticated user profile fields (name, email, phone, designation, persona, automations, notification preferences, call forwarding). Returns 409 if the new email is already in use.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/api/user/profile" \  -H "Content-Type: application/json" \  -d '{    "fullName": "Alex Rep",    "email": "alex@acme.example",    "phoneNumber": "+14155550199",    "designation": "Senior Account Executive",    "callForwardingEnabled": true  }'
{  "user": {    "_id": "5f7b1c2e8a1d4e0012c3b4a5",    "email": "admin@acme.example",    "fullName": "Acme Admin",    "phoneNumber": "+14165550100",    "organizationId": "64a1b2c3d4e5f60012345678",    "accessRole": "ADMIN"  },  "persona": {    "position": "Leasing Manager",    "region": "Toronto",    "timezone": "America/Toronto"  }}