API ReferenceAccountUpdate profile
PUT/v2/account/profile

Update profile

Updates profile fields, including notification preferences (same object, not a separate resource). Send only the fields you want to change.

Stablescope: write API KeyLearn about API scopes →

Unknown fields are rejected

The request body is validated strictly — any field not listed below returns 400 VALIDATION_FAILED. At least one valid field must be sent.

Request

AuthorizationBearer YOUR_API_KEY
Content-Typeapplication/json

Parameters

FieldTypeRequiredDescription
namestringOptionalUp to 200 characters.
phonestringOptionalUp to 50 characters.
jobTitlestringOptionalUp to 200 characters.
companyNamestringOptionalUp to 200 characters.
companySizestringOptionalUp to 100 characters.
companyWebsitestringOptionalMust be a valid URL, up to 2,048 characters.
addressstringOptionalUp to 500 characters.
industrystringOptionalUp to 200 characters.
timezonestringOptionalIANA zone, up to 100 characters.
onboardingCompletedbooleanOptionalMarks onboarding as done.
professionstringOptionalUp to 200 characters.
goalstringOptionalUp to 1,000 characters.
notificationsobjectOptional{ emailNotifications?, campaignReports?, systemAlerts? } — any subset of booleans.
curl -X PUT "https://api.stynar.com/v2/account/profile" \
  -H "Authorization: Bearer esk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"jobTitle":"Founder","companyName":"Acme Inc","notifications":{"campaignReports":false}}'

Response

✓ 200 OK
200 response
{
  "userId": "usr_abc123",
  "name": "Alex Kim",
  "jobTitle": "Founder",
  "companyName": "Acme Inc",
  "notifications": {
    "emailNotifications": true,
    "campaignReports": false,
    "systemAlerts": true
  },
  "updatedAt": "2026-08-16T10:20:00Z"
}

Response fields

Errors

StatusCodeMeaning
✕ 401 UnauthorizedUNAUTHORIZEDMissing, malformed, unknown, revoked, or expired key.
✕ 403 ForbiddenAPI_ACCESS_DISABLEDAPI access is turned off for your account.
✕ 403 ForbiddenINSUFFICIENT_SCOPEThe key doesn't have the scope this endpoint requires.
✕ 404 Not FoundNOT_FOUNDUnknown route, or a resource that doesn't exist / isn't yours.
✕ 409 ConflictCONFLICTThe action can't be applied to the resource's current state.
✕ 429 Too Many RequestsRATE_LIMIT_EXCEEDEDPer-minute or per-second limit hit.
✕ 429 Too Many RequestsQUOTA_EXCEEDEDMonthly quota exhausted.
✕ 500 Internal Server ErrorINTERNAL_ERRORSomething broke on Stynar's end.
Full error reference →