Create Key
POST /keys
Creates a key for the given scheme and curve. Returns a new key entity.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Required Permissions
Keys:Create
Always Required.
Keys:Delegate
Required if delegateTo
is specified.
Request
scheme
A supported scheme
.
String
curve
A supported curve that's compatible with the chosen scheme
.
String
name
Name given to the key.
String (optional)
delegateTo
ID of the end user to delegate this key to upon creation. The key will be non-custodial and can only be used by the end user.
String (optional)
delayDelegation
Boolean (optional)
Example
Response
id
ID of the key.
String
scheme
Key scheme.
String
curve
Key curve.
String
publicKey
Hex-encoded value of public key.
String
status
Status of the key, can be one of Active
, Archived
.
String
custodial
Whether the wallet is owned by an end user (non-custodial), or by your organization (custodial).
Boolean
dateCreated
String
imported
true
if the key is imported.
Boolean (optional)
exported
true
if the key was already exported at least once.
Boolean (optional)
dateExported
String (optional)
200 Success
Last updated