Wallet Access

Create a wallet access policy

Create a role-based wallet access policy granting an agent, user, role, or platform app specific permissions on treasury wallets within a scope (org-wide, platform app, or single wallet). Requires Pro+ tier.

post/v1/treasury/wallets/access-policies

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/treasury/wallets/access-policies
  • Auth: HTTP bearer

Request body

scope_type'wallet' | 'platform_app' | 'org' required

Policy scope — org-wide, platform app, or single wallet

scope_idstring uuid nullable

Wallet or platform app UUID when scope_type is not org

principal_type'user' | 'agent' | 'role' | 'platform_app' required

Who receives the grant

principal_idstring required

User/agent UUID, role name, or platform app UUID

can_signboolean
can_view_balanceboolean
can_exportboolean
can_sendboolean
can_swapboolean
allowed_chainsstring[]

Chains this policy applies to (empty = all)

max_value_per_tx_ethstring

Max value per transaction in ETH

daily_limit_ethstring

Daily spend limit in ETH

conditionsobject

Additional JSON conditions (reserved for future enforcement)

expires_atstring date-time

Response

Policy created

idstring uuid
org_idstring uuid
scope_typestring
scope_idstring uuid nullable
principal_typestring
principal_idstring
can_signboolean
can_view_balanceboolean
can_exportboolean
can_sendboolean
can_swapboolean
allowed_chainsstring[]
max_value_per_tx_ethstring nullable
daily_limit_ethstring nullable
conditionsobject
is_activeboolean
expires_atstring date-time nullable
created_bystring uuid
created_atstring date-time
updated_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.