Skip to main content
PATCH
/
x
/
profile
Update profile
curl --request PATCH \
  --url https://api.example.com/x/profile \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "account": "<string>",
  "name": "<string>",
  "description": "<string>",
  "location": "<string>",
  "url": "<string>"
}
'
10 credits per call · All plans from $0.00012/credit
curl -X PATCH https://xquik.com/api/v1/x/profile \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "account": "myxaccount",
    "name": "New Display Name",
    "description": "Building cool things",
    "location": "San Francisco",
    "url": "https://example.com"
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Body

account
string
required
X username or account ID of your connected account to act as.
name
string
Display name. Maximum 50 characters.
description
string
Profile bio. Maximum 160 characters.
location
string
Profile location. Maximum 30 characters.
url
string
Website URL. Must be a valid URL.

Response

success
boolean
Always true on success.
{
  "success": true
}
Related: Update Avatar and Update Banner to change profile images.