Devices
Register, recover, and inspect devices holding a key share.
Recover an embedded device
/v2/devices/recoverRecovers an embedded device for an existing account. This endpoint retrieves the device information including the share and signer details for a previously registered account.
Header Parameters
Request Body
Responses
stringBlockchain address of the signer
string <date-time>Device creation timestamp in ISO 8601 format
Register an embedded device
/v2/devices/registerRegisters a new device for an existing account by associating a share with the account. This is used when adding a new device to an account that already exists.
Header Parameters
Request Body
Responses
stringType of account (Smart Account or Externally Owned Account)
stringImplementation contract address (only for Smart Accounts)
stringOwner address of the account
Create a new embedded device
/v2/devices/createCreates a new account and registers the first device for it. This endpoint handles the complete setup of a new account with an embedded signer.
Header Parameters
Request Body
application/jsonstringType of account to create (Smart Account or Externally Owned Account)
Responses
stringType of account (Smart Account or Externally Owned Account)
stringImplementation contract address (only for Smart Accounts)
stringOwner address of the account
Initialize device registration or recovery
/v1/devices/initDetermines whether a user needs to register a new device or recover an existing one for a given chain.
Returns REGISTER if no account exists for the user on the specified chain, or RECOVER with the primary device share if an account already exists.
Header Parameters
Request Body
Responses
Register a device (v1)
/v1/devices/registerRegisters a new device for a user. If no account exists for the user on the given chain and address, a new account is created and the device is marked as primary. Otherwise, the device is added as a secondary device.
Header Parameters
Request Body
Responses
Get a device by ID
/v1/devices/{deviceId}Returns details for a specific device, including its decrypted share.
Use the special value primary as the device ID to retrieve the primary device for the authenticated user.
Path Parameters
Header Parameters
Responses
List devices for the authenticated user
/v1/devicesReturns a paginated list of devices belonging to the authenticated user across all their accounts.
Query Parameters
Header Parameters
Responses
Create a device for an existing account
/v1/devicesCreates a new device and associates it with an existing account. The share is encrypted and stored.