Actions And Identityidentity.claim

identity.claim

Gives your own server a signed proof of the person's per-app identity.

Returns a claim signed by Aksa that carries only the per-app pseudonym, so your backend can verify who is calling without an Aksa login.

PropertyValue
Scopeprofile.basic
Who can use itVerified developers only
StatusAvailable

Parameters

None. Send no params, or an empty object.

Result

FieldTypeDescription
claimstring or nullThe signed claim. null while the server route is not active, or when it cannot be fetched.
signaturestringPresent with a claim.
verifyKeystringThe public key that checks the signature. Present with a claim.

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 c = await window.aksa.request({ method: "identity.claim" });
if (c.claim) await fetch("/your-backend", { method: "POST", body: JSON.stringify(c) });

Notes

  • It runs under the same consent as profile.get.
  • The server route is switched off until activation, so today the honest result is { claim: null }. Do not treat that as an error.
  • Your own backend needs a network origin declared in data.network.allow, and it is reviewed.

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.