profile.getEmail
Reads the person's email address, with explicit consent, for verified developers only.
Returns the account email only when the person agreed in a sheet that names your app and you as the developer, and your developer account is currently verified.
| Property | Value |
|---|---|
| Scope | profile.email |
| Who can use it | Verified developers only |
| Status | Available |
Parameters
None. Send no params, or an empty object.
Result
| Field | Type | Description |
|---|---|---|
email | string or null | The email, or null. |
reason | string | developer-not-verified when the email was withheld because your account is not verified. |
Errors
| Code | When |
|---|---|
4001 | The person said no, now or earlier. |
4200 | The phone cannot offer it, the scope is gated, or the app has no live listing. |
4290 | More than 30 requests in 10 seconds. |
See Error Codes for every code and how they reach your page.
Example
const r = await window.aksa.request({ method: "profile.getEmail" });
if (r.email) subscribe(r.email);Notes
- The grant is recorded on the server, listed in your Studio dashboard and logged. It is revocable in Settings.
- If your developer standing or the app's live status changes later, the email is withheld again.
- See User Identity And Email.
Used By
No starter app calls this method yet.
Ready To Build Or Ship?
Check your files, preview on an iPhone frame, and submit in the Developer Studio.