Skip to main content
POST

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Headers

Grid-Wallet-Signature
string

Full API-key stamp built over the prior payloadToSign with the session API keypair of an existing verified authentication credential on the target internal account. Required on the signed retry.

Request-Id
string

The requestId returned in a prior 202 response, echoed back exactly on the signed retry so the server can correlate it with the issued challenge. Required on the signed retry when registering a credential; must be paired with Grid-Wallet-Signature, or with Grid-Wallet-Ownership-Signature on an EVM_WALLET credential's first retry.

Grid-Wallet-Ownership-Signature
string

The EVM wallet's signature over the payloadToSign of the first 202 for an EVM_WALLET credential. Required on that retry, with its requestId as Request-Id. The wallet's personal_sign (EIP-191) signature over the exact UTF-8 bytes of payloadToSign: the 0x-prefixed 65-byte result (r, s and v), as wallets and eth_sign libraries return it. Sign the string as given, without parsing, re-serializing or trimming it.

Pattern: ^0x[0-9a-fA-F]{130}$
Example:

"0x87f6856afaa7684bc6ecccef96246c155da984e7889dbdda1ae59940bdab8e676cd3055bd38ac073cd5710e3040f1ed08073ca026266caeb097213d52665c4c01b"

Body

application/json
type
enum<string>
required

Discriminator value identifying this as an email OTP credential.

Available options:
EMAIL_OTP
accountId
string
required

Identifier of the internal account that this credential will authenticate.

Example:

"InternalAccount:019542f5-b3e7-1d02-0000-000000000002"

email
string<email>

A new email address to register as a replacement credential.

Maximum string length: 255
Example:

"jane.new@example.com"

Response

An additional-credential setup leg's underlying wallet-provider activity is still in flight — a WalletOperationProcessing body with status: "PROCESSING". The client re-sends the byte-identical stamped retry (same Request-Id) until the credential is added; the backend also reconciles the activity to terminal on its own.

200 response returned by an Embedded Wallet operation that the wallet provider has accepted but not yet settled — a consensus- or approval-gated activity that is still in flight. It is not an error and needs no client action beyond patience: the backend reconciles the operation to its terminal state on its own. The client MAY re-send the byte-identical request to converge sooner; the request is idempotent and returns the settled success response once the operation completes.

status
enum<string>
required

Always PROCESSING. Marks a still-in-flight operation whose terminal result is not yet available.

Available options:
PROCESSING
Example:

"PROCESSING"

message
string

Human-readable explanation that the operation is still being processed and the same request may be retried.

Example:

"This login is still being processed. Retry the same request in a moment."