Skip to main content
PATCH
/
profile
Update Profile
curl --request PATCH \
  --url https://api.example.com/profile \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "profile": {
    "companyName": "",
    "slogan": "",
    "logoUrl": "<string>",
    "name": "",
    "email": "<string>",
    "phone": "<string>",
    "website": "<string>",
    "location": "",
    "providerType": "freelancer",
    "workAreas": [
      "<string>"
    ],
    "role": "Fullstack Developer",
    "seniority": "Junior",
    "weeklyHours": 40,
    "availability": "<string>",
    "teamSize": 123,
    "orgDescription": "<string>",
    "orgServices": [
      "<string>"
    ],
    "orgClients": "<string>",
    "companyTaxId": "<string>",
    "agencyMargin": 123,
    "rateCards": [
      "<unknown>"
    ],
    "teamMembers": [
      "<unknown>"
    ],
    "yearsOfExperience": 123,
    "portfolioUrl": "<string>",
    "githubUrl": "<string>",
    "linkedinUrl": "<string>",
    "skills": [
      "<string>"
    ],
    "certifications": [
      "<string>"
    ],
    "bio": "<string>",
    "relevantProjects": [
      {}
    ],
    "taxRate": 0,
    "taxName": "VAT",
    "paymentInfo": "<string>",
    "paymentMethods": [
      "<string>"
    ],
    "clientPaymentLinkUrl": "<string>",
    "bankDetails": "<string>",
    "customValidityNote": "<string>",
    "customOperationalNote": "<string>",
    "demoMode": true,
    "apiKey": "<string>",
    "openaiApiKey": "<string>",
    "aiProvider": "gemini",
    "customClauses": [
      {
        "id": "<string>",
        "title": {},
        "content": {},
        "titleEs": "<string>",
        "titleEn": "<string>",
        "contentEs": "<string>",
        "contentEn": "<string>"
      }
    ],
    "translationsEn": {},
    "telegramChatId": "<string>",
    "uiLanguage": "<string>",
    "theme": "<string>",
    "themeStyle": "<string>",
    "onboardingProgress": {},
    "proposalDefaults": {}
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "user_type": "provider",
  "email_verified": false,
  "profile": {},
  "effective_tier": "free",
  "is_admin": false,
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "team_role": "<string>",
  "team_name": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Schema for updating user profile.

name
string | null
profile
UserProfile · object

User profile schema matching frontend UserProfile type.

Response

Successful Response

Schema for user response.

id
string<uuid>
required
email
string
required
created_at
string<date-time>
required
name
string | null
user_type
string
default:provider
email_verified
boolean
default:false
profile
Profile · object
effective_tier
string
default:free
is_admin
boolean
default:false
team_id
string<uuid> | null
team_role
string | null
team_name
string | null