Knit API Documentation
Managed Signing API (Merchants)
The Managed Signing API provides merchant endpoints for creating and managing wallets with secure signing capabilities. These endpoints are used by merchants integrating managed signing via API keys.
Base URL
{{baseUrl}}/api/v1/managed-signingAuthentication
- Header:
X-API-KEY: <api-key> - IP Whitelist: Requests must originate from a whitelisted IP.
- Forwarded IP Header:
x-forwarded-forshould contain the client IP.
Conventions
- All IDs returned are local DB UUIDs (not Knit Core IDs).
- You must use local IDs in requests (path params and body filters like
walletId). businessIdis included in responses; Knit Core IDs anduserIdare never returned.- All request bodies use camelCase.
- All response keys are camelCase.
Supported Networks
Production Networks
ETHEREUM_MAINNETMATIC_MAINNETBSC_MAINNETBASE_MAINNET
Testnet Networks (Sandbox/Dev only)
MATIC_AMOY- Polygon Amoy testnet (commonly used for CPN testing)
Available Endpoints
Wallets
POST /wallets- Create a managed signing walletGET /wallets- List all managed signing walletsGET /wallets/{walletId}- Get a specific wallet
Policies
POST /policies- Create a policyPATCH /policies/{policyId}- Update a policyGET /policies- List all policiesGET /policies/{policyId}- Get a specific policy
Signing Requests
POST /requests- Create a signing requestPOST /requests/{requestId}/approve- Approve a signing requestGET /requests/{requestId}- Get a signing requestGET /requests- List signing requests
Audit
GET /audit- List audit events
Common Errors
| Status Code | Description |
|---|---|
| 401 Unauthorized | Invalid API key or IP not whitelisted |
| 403 Forbidden | Missing permission |
| 404 Not Found | Invalid local IDs |
| 400 Validation Error | Invalid request body or query parameters |
Notes
- All IDs used in requests and responses are local DB UUIDs.
- Knit Core identifiers are stored internally and are not exposed.
- If you need to filter requests by wallet or policy, always use the local IDs returned by this API.