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.
| Property | Value |
|---|---|
| Scope | profile.basic |
| Who can use it | Verified developers only |
| Status | Available |
Parameters
None. Send no params, or an empty object.
Result
| Field | Type | Description |
|---|---|---|
claim | string or null | The signed claim. null while the server route is not active, or when it cannot be fetched. |
signature | string | Present with a claim. |
verifyKey | string | The public key that checks the signature. Present with a claim. |
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 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.