Auth:Documentation Index
Fetch the complete documentation index at: https://docs.ryzeapi.cloud/llms.txt
Use this file to discover all available pages before exploring further.
TokenAccount or TokenInstance on every route. Each call validates instance ownership.
This section covers the /api/profile/* routes for updating your own profile, looking up third-party profiles, and reading or updating WhatsApp privacy settings.
Endpoints
| Method | Path | Function |
|---|---|---|
| POST | /api/profile/account/:instance | Update picture / name / status |
| GET | /api/profile/getAccount/:instance | Get your own or a third-party profile |
| GET | /api/profile/getPrivacy/:instance | Get privacy settings |
| GET | /api/profile/privacy/:instance | Alias of /getPrivacy |
| POST | /api/profile/privacy/:instance | Update privacy |
Privacy structure
The API groups settings into three sub-objects:visibility, privacy, and permissions.
Accepted values per field
| Field | Values |
|---|---|
lastSeen / status / profile | all / contacts / contact_blacklist / none |
online | all / match_last_seen |
readReceipts | all / none |
callAdd | all / known |
groupAdd | all / contacts / contact_blacklist |
AccountProfileData model
Response from GET /getAccount:
Error envelope
Error reference (summary)
| Category | Message |
|---|---|
| Validation | At least one field must be provided (profilePicture, profileName, or profileStatus) |
| Validation | At least one privacy setting must be provided |
| Validation | Invalid <field> value: <value>. Valid values: ... |
| State | Instance is not connected to WhatsApp |
| Number | Number not found or not registered on WhatsApp |
| Number | invalid LID format |
| Failure | failed to update <field> privacy: <reason> |
Next
Update account
Change picture, display name, or status.
Update privacy
Adjust who sees what.