How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lightspark Embedded Wallet Auth API

Endpoints for registering and verifying end-user authentication credentials (email OTP, OAuth, passkey) used to sign Embedded Wallet actions.

Lightspark Embedded Wallet Auth API is one of 22 APIs that Lightspark publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Embedded Wallet Auth. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 12 operations across 9 paths, and defines 46 schemas. It is described by OpenAPI 3.1.0, at version 2025-10-13.

Requests are made against a single base URL, https://api.lightspark.com/grid/2025-10-13.

12 operations 9 paths 46 schemas 3 DELETE4 GET5 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2025-10-13
Base URL
https://api.lightspark.com/grid/2025-10-13
Authentication
HTTP Basic, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 3

Lightspark Embedded Wallet Auth API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It accepts HTTP bearer tokens (AgentAuth). An API key is passed in the header as X-Grid-Signature (WebhookSignature). By default, every request must be authenticated.

  • BasicAuth — API token authentication using format :
  • AgentAuth — Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/{code}…
  • WebhookSignature — Secp256r1 (P-256) asymmetric signature of the webhook payload, which can be used to verify that the webhook was sent by Grid. To verify the signature: 1. Get t…

Paths & Operations 12

Across 9 paths, the API surfaces 12 operations — 3 DELETE, 4 GET, 5 POST. Each is listed below with its method, path, parameters, and response codes.

Embedded Wallet Auth 12

Endpoints for registering and verifying end-user authentication credentials (email OTP, OAuth, passkey) used to sign Embedded Wallet actions.

POST
/auth/credentials
Create an authentication credential
createAuthCredential 2 params body → 201202400401404500
GET
/auth/credentials
List authentication credentials
listAuthCredentials 1 param → 200400401500
DELETE
/auth/credentials/{id}
Revoke an authentication credential
revokeAuthCredential 3 params → 202204400401404500
POST
/auth/credentials/{id}/verify
Verify an authentication credential
verifyAuthCredential 3 params body → 200202400401404429500
POST
/auth/credentials/{id}/challenge
Re-issue an authentication credential challenge
challengeAuthCredential 1 param body → 200400401404429500
GET
/auth/sessions
List active sessions
listAuthSessions 1 param → 200400401500
DELETE
/auth/sessions/{id}
Revoke an authentication session
revokeAuthSession 3 params → 202204400401404500
POST
/auth/sessions/{id}/refresh
Refresh an authentication session
refreshAuthSession 3 params body → 201202400401404500
POST
/auth/delegated-keys
Create a delegated signing key
createDelegatedKey 2 params body → 201202400401404409500
GET
/auth/delegated-keys
List delegated signing keys
listDelegatedKeys 2 params → 200400401500
GET
/auth/delegated-keys/{id}
Get a delegated signing key
getDelegatedKeyById 1 param → 200401404500
DELETE
/auth/delegated-keys/{id}
Revoke a delegated signing key
revokeDelegatedKey 1 param → 204400401404500

Schemas 46

The contract defines 46 schemas that model the data the API accepts and returns. The most detailed are DelegatedKey (10 properties), AuthMethod (7 properties), PasskeyAssertion (5 properties), Error500 (4 properties). Each schema is shown below with its type and property counts.

DelegatedKeySignedRequestChallenge
202 response returned from the delegated-key endpoints. Stamp payloadToSign with the session API keypair of a verified credential on the delegated key's Embedd…
AuthMethodResponse
Strict wrapper around AuthMethod. Used directly as the registration response on POST /auth/credentials and inside AuthCredentialResponseOneOf for the EMAILOTP…
SmsOtpCredentialVerifyRequestFields
object
Verify an SMS-OTP credential via the same secure two-leg flow as email OTP. The client HPKE-encrypts the OTP code (together with its public key) under the otpE…
2 properties 2 required
PasskeyAuthChallenge
Extended AuthMethod shape returned for PASSKEY credentials from POST /auth/credentials/{id}/challenge. Includes the WebAuthn credentialId needed to target the…
EmailOtpCredentialVerifyRequestFields
object
Verify an email-OTP credential via the secure two-leg flow. The client HPKE-encrypts the OTP code (together with its public key) under the otpEncryptionTargetB…
2 properties 2 required
DelegatedKeyListResponse
object
1 property 1 required
PasskeyCredentialCreateRequestFields
object
4 properties 4 required
EmailOtpCredentialCreateRequestFields
object
1 property 1 required
SessionListResponse
object
1 property 1 required
OauthCredentialCreateRequestFields
object
2 properties 2 required
Error404
object
4 properties 3 required
Error429
object
4 properties 3 required
PasskeyAssertion
object
WebAuthn assertion returned by navigator.credentials.get(). In sandbox, Grid validates the assertion against the registered passkey credential so the client-si…
5 properties 4 required
AuthCredentialVerifyRequest
object
1 property 1 required
OauthCredentialVerifyRequest
DelegatedKeyCreateRequest
object
4 properties 3 required
Error401
object
4 properties 3 required
AuthCredentialVerifyRequestOneOf
SignedRequestChallenge
object
Common base for two-step signed-retry challenge responses on Embedded Wallet endpoints (credential registration or revocation, session refresh or revocation, w…
3 properties 3 required
AuthCredentialListResponse
object
1 property 1 required
EmailOtpCredentialCreateRequest
AuthSessionRefreshRequest
object
Request body for refreshing an active authentication session. The clientPublicKey is required on both steps of the signed-retry flow. On the initial call, Grid…
1 property 1 required
Error409
object
4 properties 3 required
OauthCredentialVerifyRequestFields
object
3 properties 3 required
OauthCredentialCreateRequest
DelegatedKeyStatus
string
Status of a delegated signing key. - PENDING: The delegated user exists but the policy-creation leg never completed. The key cannot sign. - ACTIVE: The policy…
AuthMethodType
string
The type of authentication credential. - OAUTH: OpenID Connect (OIDC) token issued by an identity provider such as Google or Apple. - EMAILOTP: A one-time pass…
AuthMethod
object
7 properties 6 required
AuthCredentialChallengeRequest
object
Request body for POST /auth/credentials/{id}/challenge. Required when re-challenging a PASSKEY credential — must carry clientPublicKey so Grid can bake it into…
1 property
PasskeyAttestation
object
4 properties 3 required
AuthSession
An authentication session on an Embedded Wallet internal account. Returned from GET /auth/sessions (list) and POST /auth/credentials/{id}/verify (on credential…
DelegatedKey
object
A delegated signing key for a card funding source backed by an Embedded Wallet internal account. Returned from POST /auth/delegated-keys (on activation), GET /…
10 properties 9 required
SmsOtpCredentialVerifyRequest
PasskeyCredentialVerifyRequestFields
object
2 properties 2 required
AuthCredentialResponseOneOf
Discriminated response shape returned from POST /auth/credentials/{id}/challenge. For EMAILOTP and SMSOTP credentials the body is a plain AuthMethod (wrapped a…
SmsOtpCredentialCreateRequestFields
object
1 property 1 required
DelegatedKeySpendingLimit
object
2 properties 2 required
PasskeyCredentialCreateRequest
SmsOtpCredentialCreateRequest
AuthCredentialCreateRequest
object
2 properties 2 required
AuthSignedRequestChallenge
202 response returned from Embedded Wallet Auth endpoints that require a signed retry — POST /auth/credentials (adding an additional credential), DELETE /auth/…
Error400
object
4 properties 3 required
AuthCredentialCreateRequestOneOf
Error500
object
4 properties 3 required
EmailOtpCredentialVerifyRequest
PasskeyCredentialVerifyRequest

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lightspark-embedded-wallet-auth-api-openapi.yml Raw ↑

Other APIs Lightspark publishes across the network.

Lightspark Agent Management API
Lightspark Agent Operations API
Lightspark API Tokens API
Lightspark Available UMA Providers API
Lightspark Cards API
Lightspark Contact Verification API
Lightspark Cross-Currency Transfers API
Lightspark Customers API
Lightspark Discoveries API
Lightspark Documents API
Lightspark Exchange Rates API
Lightspark External Accounts API
Where this information came from

This is an independent, third-party profile of Lightspark Embedded Wallet Auth API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.