Profile & Account
These are the account operations behind the dashboard's Profile page
(/profile): reading the signed-in user's profile, editing personal details and
the profile picture, changing the login password and the security password,
toggling password recovery by phone, and adding and verifying the email and
phone number.
All of them are sso_* operations on the gateway (plus
mysabay_chatbot_listChatBotByUser for the phone-verification messengers) and
act on the user identified by the bearer token.
Verified against app.web.cloud.sabay.com (commit bcd97ff4) and the testing
gateway schema on 2026-11-16.
GraphQL Gateway
https://cloud-gateway.sabay.com/graphql
Authentication
Every request must carry both headers. See Authentication for how to obtain a token.
| Header | Value |
|---|---|
service-code | cloud_user |
Authorization | Bearer {token} |
Replace {token} with your own access token. Never commit tokens to source
control.
Behavior common to every page
Every mutation in this section that changes the profile evicts the cached
sso_userProfile on success, so the profile is re-read. Errors are shown with
the server's message (see Authentication).
Except for sso_updateUserProfile, the mutations return String! in the
schema; the UI only checks that the value is truthy (the app's TypeScript types
declare some of them as boolean).
The sample responses in this section are generated from the schema: each value shows the field's type rather than real data.
Reference
| Page | Operations |
|---|---|
| Profile | sso_userProfile, sso_updateUserProfile, sso_updateUserProfilePicture |
| Security | sso_userChangePassword, sso_profileAddSecurityPassword, sso_profileUpdateSecurityPassword, sso_toggleProfileRecoveryOption |
| Verification | sso_updateProfileEmail, sso_verifyProfileEmail, mysabay_chatbot_listChatBotByUser, sso_addProfilePhone, sso_updateProfilePhoneCaptcha, sso_verifyProfilePhone |