Skip to main content
PUT
/
v1
/
profiles
/
{identifier}
/
name
Provide a name and avatar for this profile.
curl --request PUT \
  --url https://api.clicker.xyz/v1/profiles/{identifier}/name \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "avatarUrl": "<string>",
  "name": "<string>"
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

identifier
string
required

Profile UUID or wallet address

Body

application/json
avatarUrl
string | null

Url pointing to a jpeg or png image to use as the avatar for this profile. Images will be center-cropped to square and should be at least 120x120 and ideally at most 800x800 pixels. Maximum file size is 5MB. Pass null to remove. Profile must have a name set (either in this request or previously) to set an avatar.

name
string | null

The name of this profile. Must be 3-18 characters, unique (case-insensitive) per profile, and use only upper/lowercase letters, numbers or underscores. Do not include your domain-specific suffix (like .clicker.xyz). Pass null to remove the namespace entry entirely.

Required string length: 3 - 18

Response

No content - successful operation