An Organization is the highest level of hierarchy in Turnkey. It can contain many Users, Private Keys, and Policies managed by a Root Quorum. The Root Quorum consists of a set of Users with a consensus threshold. This consensus threshold must be reached by Quorum members in order for any actions to take place.
See Root Quorum for more information
Get Configs
Get quorum settings and features for an organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "configs": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
], - "quorum": {
- "threshold": 0,
- "userIds": [
- "string"
]
}
}
}
Get Suborgs
Get all suborg IDs associated given a parent org ID and an optional filter.
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for the parent Organization. This is used to find sub-organizations within it. |
filterType | string Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'OIDC_TOKEN' or 'PUBLIC_KEY' |
filterValue | string The value of the filter to apply for the specified type. For example, a specific email or name string. |
object (Pagination) |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "filterType": "string",
- "filterValue": "string",
- "paginationOptions": {
- "limit": "string",
- "before": "string",
- "after": "string"
}
}
Response samples
- 200
{- "organizationIds": [
- "string"
]
}
Create Sub-Organization
Create a new Sub-Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateSubOrganizationIntentV7) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Sub Organization
Deletes a sub organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteSubOrganizationIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "deleteWithoutExport": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Update Root Quorum
Set the threshold and members of the root quorum. This must be approved by the current root quorum.
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (UpdateRootQuorumIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "threshold": 0,
- "userIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Invitations allow you to invite Users into your Organization via email. Alternatively, Users can be added directly without an Invitation if their ApiKey or Authenticator credentials are known ahead of time.
See Users for more information
Create Invitations
Create Invitations to join an existing Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_INVITATIONS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateInvitationsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_INVITATIONS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Invitation
Delete an existing Invitation
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_INVITATION" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteInvitationIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_INVITATION",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "invitationId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Policies allow for deep customization of the security of your Organization. They can be used to grant permissions or restrict usage of Users and Private Keys. The Policy Engine analyzes all of your Policies on each request to determine whether an Activity is allowed.
See Policy Overview for more information
Get Policy
Get details about a Policy
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
policyId required | string Unique identifier for a given Policy. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "policyId": "string"
}
Response samples
- 200
{- "policy": {
- "policyId": "string",
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "notes": "string",
- "consensus": "string",
- "condition": "string"
}
}
List Policies
List all Policies within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "policies": [
- {
- "policyId": "string",
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "notes": "string",
- "consensus": "string",
- "condition": "string"
}
]
}
Create Policies
Create new Policies
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_POLICIES" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreatePoliciesIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_POLICIES",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Create Policy
Create a new Policy
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_POLICY_V3" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreatePolicyIntentV3) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_POLICY_V3",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Policy
Delete an existing Policy
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_POLICY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeletePolicyIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_POLICY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "policyId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Update Policy
Update an existing Policy
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_UPDATE_POLICY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (UpdatePolicyIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_UPDATE_POLICY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Remove Organization Feature
Removes an organization feature
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (RemoveOrganizationFeatureIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Set Organization Feature
Sets an organization feature
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (SetOrganizationFeatureIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Wallets contain collections of deterministically generated cryptographic public / private key pairs that share a common seed. Turnkey securely holds the common seed, but only you can access it. In most cases, Wallets should be preferred over Private Keys since they can be represented by a mnemonic phrase, used across a variety of cryptographic curves, and can derive many addresses.
Derived addresses can be used to create digital signatures using the corresponding underlying private key. See Signing for more information
Get Wallet
Get details about a Wallet
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
walletId required | string Unique identifier for a given Wallet. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "walletId": "string"
}
Response samples
- 200
{- "wallet": {
- "walletId": "string",
- "walletName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "exported": true,
- "imported": true
}
}
List Wallets Accounts
List all Accounts wirhin a Wallet
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
walletId required | string Unique identifier for a given Wallet. |
object (Pagination) |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "walletId": "string",
- "paginationOptions": {
- "limit": "string",
- "before": "string",
- "after": "string"
}
}
Response samples
- 200
{- "accounts": [
- {
- "organizationId": "string",
- "walletId": "string",
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
List Wallets
List all Wallets within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "wallets": [
- {
- "walletId": "string",
- "walletName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "exported": true,
- "imported": true
}
]
}
Create Wallet
Create a Wallet and derive addresses
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_WALLET" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateWalletIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_WALLET",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Create Wallet Accounts
Derive additional addresses using an existing wallet
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateWalletAccountsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Wallets
Deletes wallets for an organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_WALLETS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteWalletsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_WALLETS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Export Wallet
Exports a Wallet
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_EXPORT_WALLET" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ExportWalletIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_EXPORT_WALLET",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Export Wallet Account
Exports a Wallet Account
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ExportWalletAccountIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "address": "string",
- "targetPublicKey": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Import Wallet
Imports a wallet
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_IMPORT_WALLET" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ImportWalletIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_IMPORT_WALLET",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Init Import Wallet
Initializes a new wallet import
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_INIT_IMPORT_WALLET" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (InitImportWalletIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_INIT_IMPORT_WALLET",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Signers allow you to create digital signatures. Signatures are used to validate the authenticity and integrity of a digital message. Turnkey makes it easy to produce signatures by allowing you to sign with an address. If Turnkey doesn't yet support an address format you need, you can generate and sign with the public key instead by using the address format ADDRESS_FORMAT_COMPRESSED
.
Sign Raw Payload
Sign a raw payload
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (SignRawPayloadIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Sign Raw Payloads
Sign multiple raw payloads with the same signing parameters
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (SignRawPayloadsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Sign Transaction
Sign a transaction
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (SignTransactionIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_SIGN_TRANSACTION_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Private Keys are cryptographic public / private key pairs that can be used for cryptocurrency needs or more generalized encryption. Turnkey securely holds all private key materials for you, but only you can access them.
The Private Key ID or any derived address can be used to create digital signatures. See Signing for more information
Get Private Key
Get details about a Private Key
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
privateKeyId required | string Unique identifier for a given Private Key. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "privateKeyId": "string"
}
Response samples
- 200
{- "privateKey": {
- "privateKeyId": "string",
- "publicKey": "string",
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
], - "privateKeyTags": [
- "string"
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "exported": true,
- "imported": true
}
}
List Private Keys
List all Private Keys within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "privateKeys": [
- {
- "privateKeyId": "string",
- "publicKey": "string",
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
], - "privateKeyTags": [
- "string"
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "exported": true,
- "imported": true
}
]
}
Create Private Keys
Create new Private Keys
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreatePrivateKeysIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Private Keys
Deletes private keys for an organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeletePrivateKeysIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Export Private Key
Exports a Private Key
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ExportPrivateKeyIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Import Private Key
Imports a private key
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ImportPrivateKeyIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Init Import Private Key
Initializes a new private key import
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (InitImportPrivateKeyIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Private Key Tags allow you to easily group and permission Private Keys through Policies.
List Private Key Tags
List all Private Key Tags within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "privateKeyTags": [
- {
- "tagId": "string",
- "tagName": "string",
- "tagType": "TAG_TYPE_USER",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
Create Private Key Tag
Create a private key tag and add it to private keys.
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreatePrivateKeyTagIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Private Key Tags
Delete Private Key Tags within an Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeletePrivateKeyTagsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeyTagIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Update Private Key Tag
Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (UpdatePrivateKeyTagIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Users are responsible for any action taken within an Organization. They can have ApiKey or Auuthenticator credentials, allowing you to onboard teammates to the Organization, or create API-only Users to run as part of your infrastructure.
Get Oauth providers
Get details about Oauth providers for a user
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
userId | string Unique identifier for a given User. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "userId": "string"
}
Response samples
- 200
{- "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
Get User
Get details about a User
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
userId required | string Unique identifier for a given User. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "userId": "string"
}
Response samples
- 200
{- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
}
List Users
List all Users within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "users": [
- {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
Create Oauth Providers
Creates Oauth providers for a specified user - BETA
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateOauthProvidersIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Create Users
Create Users in an existing Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_USERS_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateUsersIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_USERS_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userTags": [
- "string"
]
}
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Oauth Providers
Removes Oauth providers for a specified user - BETA
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteOauthProvidersIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "providerIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Users
Delete Users within an Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_USERS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteUsersIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_USERS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Init OTP auth
Initiate an OTP auth activity
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_INIT_OTP_AUTH" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (InitOtpAuthIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_INIT_OTP_AUTH",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Oauth
Authenticate a user with an Oidc token (Oauth) - BETA
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_OAUTH" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (OauthIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_OAUTH",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
OTP auth
Authenticate a user with an OTP code sent via email or SMS
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_OTP_AUTH" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (OtpAuthIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_OTP_AUTH",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Update User
Update a User in an existing Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_UPDATE_USER" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (UpdateUserIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_UPDATE_USER",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
List User Tags
List all User Tags within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "userTags": [
- {
- "tagId": "string",
- "tagName": "string",
- "tagType": "TAG_TYPE_USER",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
Create User Tag
Create a user tag and add it to users.
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_USER_TAG" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateUserTagIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_USER_TAG",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete User Tags
Delete User Tags within an Organization
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_USER_TAGS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteUserTagsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_USER_TAGS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userTagIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Update User Tag
Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail.
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_UPDATE_USER_TAG" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (UpdateUserTagIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_UPDATE_USER_TAG",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Init Email Recovery
Initializes a new email recovery
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (InitUserEmailRecoveryIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Recover a user
Completes the process of recovering a user by adding an authenticator
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_RECOVER_USER" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (RecoverUserIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_RECOVER_USER",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Perform Email Auth
Authenticate a user via Email
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_EMAIL_AUTH_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (EmailAuthIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_EMAIL_AUTH_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Authenticators are WebAuthN hardware devices, such as a Macbook TouchID or Yubikey, that can be used to authenticate requests.
Get Authenticator
Get details about an authenticator
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
authenticatorId required | string Unique identifier for a given Authenticator. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "authenticatorId": "string"
}
Response samples
- 200
{- "authenticator": {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
}
Get Authenticators
Get details about authenticators for a user
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
userId required | string Unique identifier for a given User. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "userId": "string"
}
Response samples
- 200
{- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
]
}
Create Authenticators
Create Authenticators to authenticate requests to Turnkey
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateAuthenticatorsIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete Authenticators
Remove authenticators from a User
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteAuthenticatorsIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_AUTHENTICATORS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
API Keys are used to authenticate requests
See our CLI for instructions on generating API Keys
Create API Keys
Add api keys to an existing User
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_API_KEYS_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateApiKeysIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_API_KEYS_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Delete API Keys
Remove api keys from a User
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_DELETE_API_KEYS" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (DeleteApiKeysIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_DELETE_API_KEYS",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Who am I?
Get basic information about your current API or WebAuthN user and their organization. Affords Sub-Organization look ups via Parent Organization for WebAuthN or API key users.
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. If the request is being made by a WebAuthN user and their Sub-Organization ID is unknown, this can be the Parent Organization ID; using the Sub-Organization ID when possible is preferred due to performance reasons. |
Responses
Request samples
- Payload
{- "organizationId": "string"
}
Response samples
- 200
{- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string"
}
Create Read Only Session
Create a read only session for a user (valid for 1 hour)
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
parameters required | object (CreateReadOnlySessionIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": { }
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Create Read Write Session
Create a read write session for a user
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (CreateReadWriteSessionIntentV2) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Activities encapsulate all the possible actions that can be taken with Turnkey. Some examples include adding a new user, creating a private key, and signing a transaction.
Activities that modify your Organization are processed asynchronously. To confirm processing is complete and retrieve the Activity results, these activities must be polled until that status has been updated to a finalized state: COMPLETED
when the activity is successful or FAILED
when the activity has failed
Get Activity
Get details about an Activity
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
activityId required | string Unique identifier for a given Activity object. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "activityId": "string"
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
List Activities
List all Activities within an Organization
Authorizations:
Request Body schema: application/json
organizationId required | string Unique identifier for a given Organization. |
filterByStatus | Array of strings (ActivityStatus) Items Enum: "ACTIVITY_STATUS_CREATED" "ACTIVITY_STATUS_PENDING" "ACTIVITY_STATUS_COMPLETED" "ACTIVITY_STATUS_FAILED" "ACTIVITY_STATUS_CONSENSUS_NEEDED" "ACTIVITY_STATUS_REJECTED" Array of Activity Statuses filtering which Activities will be listed in the response. |
object (Pagination) | |
filterByType | Array of strings (ActivityType) Items Enum: "ACTIVITY_TYPE_CREATE_API_KEYS" "ACTIVITY_TYPE_CREATE_USERS" "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" "ACTIVITY_TYPE_CREATE_INVITATIONS" "ACTIVITY_TYPE_ACCEPT_INVITATION" "ACTIVITY_TYPE_CREATE_POLICY" "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" "ACTIVITY_TYPE_DELETE_USERS" "ACTIVITY_TYPE_DELETE_API_KEYS" "ACTIVITY_TYPE_DELETE_INVITATION" "ACTIVITY_TYPE_DELETE_ORGANIZATION" "ACTIVITY_TYPE_DELETE_POLICY" "ACTIVITY_TYPE_CREATE_USER_TAG" "ACTIVITY_TYPE_DELETE_USER_TAGS" "ACTIVITY_TYPE_CREATE_ORGANIZATION" "ACTIVITY_TYPE_SIGN_TRANSACTION" "ACTIVITY_TYPE_APPROVE_ACTIVITY" "ACTIVITY_TYPE_REJECT_ACTIVITY" "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" "ACTIVITY_TYPE_SET_PAYMENT_METHOD" "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" "ACTIVITY_TYPE_CREATE_POLICY_V2" "ACTIVITY_TYPE_CREATE_POLICY_V3" "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" "ACTIVITY_TYPE_UPDATE_USER_TAG" "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" "ACTIVITY_TYPE_CREATE_USERS_V2" "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" "ACTIVITY_TYPE_UPDATE_USER" "ACTIVITY_TYPE_UPDATE_POLICY" "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" "ACTIVITY_TYPE_CREATE_WALLET" "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" "ACTIVITY_TYPE_RECOVER_USER" "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" "ACTIVITY_TYPE_EXPORT_WALLET" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" "ACTIVITY_TYPE_EMAIL_AUTH" "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" "ACTIVITY_TYPE_INIT_IMPORT_WALLET" "ACTIVITY_TYPE_IMPORT_WALLET" "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" "ACTIVITY_TYPE_CREATE_POLICIES" "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" "ACTIVITY_TYPE_OAUTH" "ACTIVITY_TYPE_CREATE_API_KEYS_V2" "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" "ACTIVITY_TYPE_EMAIL_AUTH_V2" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" "ACTIVITY_TYPE_DELETE_WALLETS" "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" "ACTIVITY_TYPE_INIT_OTP_AUTH" "ACTIVITY_TYPE_OTP_AUTH" "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" Array of Activity Types filtering which Activities will be listed in the response. |
Responses
Request samples
- Payload
{- "organizationId": "string",
- "filterByStatus": [
- "ACTIVITY_STATUS_CREATED"
], - "paginationOptions": {
- "limit": "string",
- "before": "string",
- "after": "string"
}, - "filterByType": [
- "ACTIVITY_TYPE_CREATE_API_KEYS"
]
}
Response samples
- 200
{- "activities": [
- {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": null
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": null,
- "type": null,
- "rawId": null,
- "authenticatorAttachment": null,
- "response": null,
- "clientExtensionResults": null
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": null,
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
]
}
Policies can enforce consensus requirements for Activities. For example, adding a new user requires two admins to approve the request.
Activities that have been proposed, but don't yet meet the Consesnsus requirements will have the status: REQUIRES_CONSENSUS
. Activities in this state can be approved or rejected using the unique fingerprint generated when an Activity is created.
Approve Activity
Approve an Activity
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_APPROVE_ACTIVITY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (ApproveActivityIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_APPROVE_ACTIVITY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "fingerprint": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}
Reject Activity
Reject an Activity
Authorizations:
Request Body schema: application/json
type required | string Value: "ACTIVITY_TYPE_REJECT_ACTIVITY" |
timestampMs required | string Timestamp (in milliseconds) of the request, used to verify liveness of user requests. |
organizationId required | string Unique identifier for a given Organization. |
required | object (RejectActivityIntent) |
Responses
Request samples
- Payload
{- "type": "ACTIVITY_TYPE_REJECT_ACTIVITY",
- "timestampMs": "string",
- "organizationId": "string",
- "parameters": {
- "fingerprint": "string"
}
}
Response samples
- 200
{- "activity": {
- "id": "string",
- "organizationId": "string",
- "status": "ACTIVITY_STATUS_CREATED",
- "type": "ACTIVITY_TYPE_CREATE_API_KEYS",
- "intent": {
- "createOrganizationIntent": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}, - "rootUserId": "string"
}, - "createAuthenticatorsIntent": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
], - "userId": "string"
}, - "createUsersIntent": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "accessType": "ACCESS_TYPE_WEB",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": null,
- "attestationObject": null,
- "transports": [ ],
- "authenticatorAttachment": null
}, - "clientExtensionResults": {
- "appid": null,
- "appidExclude": null,
- "credProps": null
}
}, - "challenge": "string"
}
], - "userTags": [
- "string"
]
}
]
}, - "createPrivateKeysIntent": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "signRawPayloadIntent": {
- "privateKeyId": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createInvitationsIntent": {
- "invitations": [
- {
- "receiverUserName": "string",
- "receiverUserEmail": "string",
- "receiverUserTags": [
- "string"
], - "accessType": "ACCESS_TYPE_WEB",
- "senderUserId": "string"
}
]
}, - "acceptInvitationIntent": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "userId": "string",
- "attestation": {
- "id": "string",
- "type": "public-key",
- "rawId": "string",
- "authenticatorAttachment": "cross-platform",
- "response": {
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "authenticatorAttachment": "cross-platform"
}, - "clientExtensionResults": {
- "appid": true,
- "appidExclude": true,
- "credProps": {
- "rk": true
}
}
}, - "challenge": "string"
}
}, - "createPolicyIntent": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "target": "string"
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "disablePrivateKeyIntent": {
- "privateKeyId": "string"
}, - "deleteUsersIntent": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsIntent": {
- "userId": "string",
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationIntent": {
- "invitationId": "string"
}, - "deleteOrganizationIntent": {
- "organizationId": "string"
}, - "deletePolicyIntent": {
- "policyId": "string"
}, - "createUserTagIntent": {
- "userTagName": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsIntent": {
- "userTagIds": [
- "string"
]
}, - "signTransactionIntent": {
- "privateKeyId": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "createApiKeysIntent": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "deleteApiKeysIntent": {
- "userId": "string",
- "apiKeyIds": [
- "string"
]
}, - "approveActivityIntent": {
- "fingerprint": "string"
}, - "rejectActivityIntent": {
- "fingerprint": "string"
}, - "createPrivateKeyTagIntent": {
- "privateKeyTagName": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsIntent": {
- "privateKeyTagIds": [
- "string"
]
}, - "createPolicyIntentV2": {
- "policyName": "string",
- "selectors": [
- {
- "subject": "string",
- "operator": "OPERATOR_EQUAL",
- "targets": [
- "string"
]
}
], - "effect": "EFFECT_ALLOW",
- "notes": "string"
}, - "setPaymentMethodIntent": {
- "number": "string",
- "cvv": "string",
- "expiryMonth": "string",
- "expiryYear": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "activateBillingTierIntent": {
- "productId": "string"
}, - "deletePaymentMethodIntent": {
- "paymentMethodId": "string"
}, - "createPolicyIntentV3": {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}, - "createApiOnlyUsersIntent": {
- "apiOnlyUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userTags": [
- "string"
], - "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
]
}
]
}, - "updateRootQuorumIntent": {
- "threshold": 0,
- "userIds": [
- "string"
]
}, - "updateUserTagIntent": {
- "userTagId": "string",
- "newUserTagName": "string",
- "addUserIds": [
- "string"
], - "removeUserIds": [
- "string"
]
}, - "updatePrivateKeyTagIntent": {
- "privateKeyTagId": "string",
- "newPrivateKeyTagName": "string",
- "addPrivateKeyIds": [
- "string"
], - "removePrivateKeyIds": [
- "string"
]
}, - "createAuthenticatorsIntentV2": {
- "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
], - "userId": "string"
}, - "acceptInvitationIntentV2": {
- "invitationId": "string",
- "userId": "string",
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createOrganizationIntentV2": {
- "organizationName": "string",
- "rootEmail": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "rootUserId": "string"
}, - "createUsersIntentV2": {
- "users": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "userTags": [
- "string"
]
}
]
}, - "createSubOrganizationIntent": {
- "name": "string",
- "rootAuthenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}
}, - "createSubOrganizationIntentV2": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0
}, - "updateAllowedOriginsIntent": {
- "allowedOrigins": [
- "string"
]
}, - "createPrivateKeysIntentV2": {
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "updateUserIntent": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userTagIds": [
- "string"
], - "userPhoneNumber": "string"
}, - "updatePolicyIntent": {
- "policyId": "string",
- "policyName": "string",
- "policyEffect": "EFFECT_ALLOW",
- "policyCondition": "string",
- "policyConsensus": "string",
- "policyNotes": "string"
}, - "setPaymentMethodIntentV2": {
- "paymentMethodId": "string",
- "cardHolderEmail": "string",
- "cardHolderName": "string"
}, - "createSubOrganizationIntentV3": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "privateKeys": [
- {
- "privateKeyName": "string",
- "curve": "CURVE_SECP256K1",
- "privateKeyTags": [
- "string"
], - "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}
]
}, - "createWalletIntent": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "createWalletAccountsIntent": {
- "walletId": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initUserEmailRecoveryIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "recoverUserIntent": {
- "authenticator": {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
]
}
}, - "userId": "string"
}, - "setOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}, - "removeOrganizationFeatureIntent": {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
}, - "signRawPayloadIntentV2": {
- "signWith": "string",
- "payload": "string",
- "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "signTransactionIntentV2": {
- "signWith": "string",
- "unsignedTransaction": "string",
- "type": "TRANSACTION_TYPE_ETHEREUM"
}, - "exportPrivateKeyIntent": {
- "privateKeyId": "string",
- "targetPublicKey": "string"
}, - "exportWalletIntent": {
- "walletId": "string",
- "targetPublicKey": "string",
- "language": "MNEMONIC_LANGUAGE_ENGLISH"
}, - "createSubOrganizationIntentV4": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "emailAuthIntent": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "exportWalletAccountIntent": {
- "address": "string",
- "targetPublicKey": "string"
}, - "initImportWalletIntent": {
- "userId": "string"
}, - "importWalletIntent": {
- "userId": "string",
- "walletName": "string",
- "encryptedBundle": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
]
}, - "initImportPrivateKeyIntent": {
- "userId": "string"
}, - "importPrivateKeyIntent": {
- "userId": "string",
- "privateKeyName": "string",
- "encryptedBundle": "string",
- "curve": "CURVE_SECP256K1",
- "addressFormats": [
- "ADDRESS_FORMAT_UNCOMPRESSED"
]
}, - "createPoliciesIntent": {
- "policies": [
- {
- "policyName": "string",
- "effect": "EFFECT_ALLOW",
- "condition": "string",
- "consensus": "string",
- "notes": "string"
}
]
}, - "signRawPayloadsIntent": {
- "signWith": "string",
- "payloads": [
- "string"
], - "encoding": "PAYLOAD_ENCODING_HEXADECIMAL",
- "hashFunction": "HASH_FUNCTION_NO_OP"
}, - "createReadOnlySessionIntent": { },
- "createOauthProvidersIntent": {
- "userId": "string",
- "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}, - "deleteOauthProvidersIntent": {
- "userId": "string",
- "providerIds": [
- "string"
]
}, - "createSubOrganizationIntentV5": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "oauthIntent": {
- "oidcToken": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "createApiKeysIntentV2": {
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "userId": "string"
}, - "createReadWriteSessionIntent": {
- "targetPublicKey": "string",
- "email": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "emailAuthIntentV2": {
- "email": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}, - "invalidateExisting": true
}, - "createSubOrganizationIntentV6": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true
}, - "deletePrivateKeysIntent": {
- "privateKeyIds": [
- "string"
], - "deleteWithoutExport": true
}, - "deleteWalletsIntent": {
- "walletIds": [
- "string"
], - "deleteWithoutExport": true
}, - "createReadWriteSessionIntentV2": {
- "targetPublicKey": "string",
- "userId": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string"
}, - "deleteSubOrganizationIntent": {
- "deleteWithoutExport": true
}, - "initOtpAuthIntent": {
- "otpType": "string",
- "contact": "string",
- "emailCustomization": {
- "appName": "string",
- "logoUrl": "string",
- "magicLinkTemplate": "string",
- "templateVariables": "string",
- "templateId": "string"
}
}, - "otpAuthIntent": {
- "otpId": "string",
- "otpCode": "string",
- "targetPublicKey": "string",
- "apiKeyName": "string",
- "expirationSeconds": "string",
- "invalidateExisting": true
}, - "createSubOrganizationIntentV7": {
- "subOrganizationName": "string",
- "rootUsers": [
- {
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "apiKeys": [
- {
- "apiKeyName": "string",
- "publicKey": "string",
- "curveType": "API_KEY_CURVE_P256",
- "expirationSeconds": "string"
}
], - "authenticators": [
- {
- "authenticatorName": "string",
- "challenge": "string",
- "attestation": {
- "credentialId": "string",
- "clientDataJson": "string",
- "attestationObject": "string",
- "transports": [
- null
]
}
}
], - "oauthProviders": [
- {
- "providerName": "string",
- "oidcToken": "string"
}
]
}
], - "rootQuorumThreshold": 0,
- "wallet": {
- "walletName": "string",
- "accounts": [
- {
- "curve": "CURVE_SECP256K1",
- "pathFormat": "PATH_FORMAT_BIP32",
- "path": "string",
- "addressFormat": "ADDRESS_FORMAT_UNCOMPRESSED"
}
], - "mnemonicLength": 0
}, - "disableEmailRecovery": true,
- "disableEmailAuth": true,
- "disableSmsAuth": true,
- "disableOtpEmailAuth": true
}
}, - "result": {
- "createOrganizationResult": {
- "organizationId": "string"
}, - "createAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "createUsersResult": {
- "userIds": [
- "string"
]
}, - "createPrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "createInvitationsResult": {
- "invitationIds": [
- "string"
]
}, - "acceptInvitationResult": {
- "invitationId": "string",
- "userId": "string"
}, - "signRawPayloadResult": {
- "r": "string",
- "s": "string",
- "v": "string"
}, - "createPolicyResult": {
- "policyId": "string"
}, - "disablePrivateKeyResult": {
- "privateKeyId": "string"
}, - "deleteUsersResult": {
- "userIds": [
- "string"
]
}, - "deleteAuthenticatorsResult": {
- "authenticatorIds": [
- "string"
]
}, - "deleteInvitationResult": {
- "invitationId": "string"
}, - "deleteOrganizationResult": {
- "organizationId": "string"
}, - "deletePolicyResult": {
- "policyId": "string"
}, - "createUserTagResult": {
- "userTagId": "string",
- "userIds": [
- "string"
]
}, - "deleteUserTagsResult": {
- "userTagIds": [
- "string"
], - "userIds": [
- "string"
]
}, - "signTransactionResult": {
- "signedTransaction": "string"
}, - "deleteApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createApiKeysResult": {
- "apiKeyIds": [
- "string"
]
}, - "createPrivateKeyTagResult": {
- "privateKeyTagId": "string",
- "privateKeyIds": [
- "string"
]
}, - "deletePrivateKeyTagsResult": {
- "privateKeyTagIds": [
- "string"
], - "privateKeyIds": [
- "string"
]
}, - "setPaymentMethodResult": {
- "lastFour": "string",
- "cardHolderName": "string",
- "cardHolderEmail": "string"
}, - "activateBillingTierResult": {
- "productId": "string"
}, - "deletePaymentMethodResult": {
- "paymentMethodId": "string"
}, - "createApiOnlyUsersResult": {
- "userIds": [
- "string"
]
}, - "updateRootQuorumResult": { },
- "updateUserTagResult": {
- "userTagId": "string"
}, - "updatePrivateKeyTagResult": {
- "privateKeyTagId": "string"
}, - "createSubOrganizationResult": {
- "subOrganizationId": "string",
- "rootUserIds": [
- "string"
]
}, - "updateAllowedOriginsResult": { },
- "createPrivateKeysResultV2": {
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
]
}, - "updateUserResult": {
- "userId": "string"
}, - "updatePolicyResult": {
- "policyId": "string"
}, - "createSubOrganizationResultV3": {
- "subOrganizationId": "string",
- "privateKeys": [
- {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}
], - "rootUserIds": [
- "string"
]
}, - "createWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "createWalletAccountsResult": {
- "addresses": [
- "string"
]
}, - "initUserEmailRecoveryResult": {
- "userId": "string"
}, - "recoverUserResult": {
- "authenticatorId": [
- "string"
]
}, - "setOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "removeOrganizationFeatureResult": {
- "features": [
- {
- "name": "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY",
- "value": "string"
}
]
}, - "exportPrivateKeyResult": {
- "privateKeyId": "string",
- "exportBundle": "string"
}, - "exportWalletResult": {
- "walletId": "string",
- "exportBundle": "string"
}, - "createSubOrganizationResultV4": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "emailAuthResult": {
- "userId": "string",
- "apiKeyId": "string"
}, - "exportWalletAccountResult": {
- "address": "string",
- "exportBundle": "string"
}, - "initImportWalletResult": {
- "importBundle": "string"
}, - "importWalletResult": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "initImportPrivateKeyResult": {
- "importBundle": "string"
}, - "importPrivateKeyResult": {
- "privateKeyId": "string",
- "addresses": [
- {
- "format": "ADDRESS_FORMAT_UNCOMPRESSED",
- "address": "string"
}
]
}, - "createPoliciesResult": {
- "policyIds": [
- "string"
]
}, - "signRawPayloadsResult": {
- "signatures": [
- {
- "r": "string",
- "s": "string",
- "v": "string"
}
]
}, - "createReadOnlySessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "session": "string",
- "sessionExpiry": "string"
}, - "createOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "deleteOauthProvidersResult": {
- "providerIds": [
- "string"
]
}, - "createSubOrganizationResultV5": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "oauthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createReadWriteSessionResult": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV6": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}, - "deletePrivateKeysResult": {
- "privateKeyIds": [
- "string"
]
}, - "deleteWalletsResult": {
- "walletIds": [
- "string"
]
}, - "createReadWriteSessionResultV2": {
- "organizationId": "string",
- "organizationName": "string",
- "userId": "string",
- "username": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "deleteSubOrganizationResult": {
- "subOrganizationUuid": "string"
}, - "initOtpAuthResult": {
- "otpId": "string"
}, - "otpAuthResult": {
- "userId": "string",
- "apiKeyId": "string",
- "credentialBundle": "string"
}, - "createSubOrganizationResultV7": {
- "subOrganizationId": "string",
- "wallet": {
- "walletId": "string",
- "addresses": [
- "string"
]
}, - "rootUserIds": [
- "string"
]
}
}, - "votes": [
- {
- "id": "string",
- "userId": "string",
- "user": {
- "userId": "string",
- "userName": "string",
- "userEmail": "string",
- "userPhoneNumber": "string",
- "authenticators": [
- {
- "transports": [
- "AUTHENTICATOR_TRANSPORT_BLE"
], - "attestationType": "string",
- "aaguid": "string",
- "credentialId": "string",
- "model": "string",
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "authenticatorId": "string",
- "authenticatorName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "apiKeys": [
- {
- "credential": {
- "publicKey": "string",
- "type": "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
}, - "apiKeyId": "string",
- "apiKeyName": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "expirationSeconds": "string"
}
], - "userTags": [
- "string"
], - "oauthProviders": [
- {
- "providerId": "string",
- "providerName": "string",
- "issuer": "string",
- "audience": "string",
- "subject": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}
}, - "activityId": "string",
- "selection": "VOTE_SELECTION_APPROVED",
- "message": "string",
- "publicKey": "string",
- "signature": "string",
- "scheme": "string",
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}
}
], - "fingerprint": "string",
- "canApprove": true,
- "canReject": true,
- "createdAt": {
- "seconds": "string",
- "nanos": "string"
}, - "updatedAt": {
- "seconds": "string",
- "nanos": "string"
}, - "failure": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}
}
}