Actions And Identityprofile.getEmail

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.

PropertyValue
Scopeprofile.email
Who can use itVerified developers only
StatusAvailable

Parameters

None. Send no params, or an empty object.

Result

FieldTypeDescription
emailstring or nullThe email, or null.
reasonstringdeveloper-not-verified when the email was withheld because your account is not verified.

Errors

CodeWhen
4001The person said no, now or earlier.
4200The phone cannot offer it, the scope is gated, or the app has no live listing.
4290More than 30 requests in 10 seconds.

See Error Codes for every code and how they reach your page.

Example

js
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.