Knit API Documentation
Approve Signing Request
{{baseUrl}}/api/v1/managed-signing/requests/{requestId}/approveThis endpoint approves a pending signing request.
Headers
X-API-KEY: Your API key for authentication.Accept: Set toapplication/jsonto receive responses in JSON format.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
requestId | string | Yes | The local request ID |
Sample Request
curl --location -g --request POST '{{baseUrl}}/api/v1/managed-signing/requests/<local-request-id>/approve' \
--header 'X-API-KEY: {{apiKey}}' \
--header 'Accept: application/json'Sample Response
Sample Response
{
"statusCode": 200,
"message": "Signing request approved",
"data": {
"id": "<local-request-id>",
"businessId": "<business-id>",
"walletId": "<local-wallet-id>",
"network": "MATIC_MAINNET",
"type": "evm_tx",
"kind": "erc20_approve",
"status": "SIGNED",
"payload": {
"token": "0xToken",
"spender": "0xSpender",
"amount": "10"
},
"signature": "0x...",
"broadcast": false,
"createdAt": "2026-01-20T18:30:40.912Z",
"updatedAt": "2026-01-20T18:35:22.456Z"
},
"success": true
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Local request ID |
businessId | string | Your business ID |
walletId | string | Local wallet ID |
network | string | Target network |
type | string | Request type |
kind | string | Transaction kind |
status | string | Request status (updated to SIGNED) |
payload | object | Request payload |
signature | string | Generated signature |
broadcast | boolean | Broadcast flag |
createdAt | string | Creation timestamp |
updatedAt | string | Last update timestamp |
Notes
- Only requests with status
AWAITING_APPROVALcan be approved. - After approval, the status changes to
SIGNED. - If
broadcastwas set totrueduring creation, the transaction will be broadcast after signing.