Synq
Skip to content
[ synq / docs ]Synq home

Approvals

The signing inbox: exact typed data a wallet signs.

Approvals are requests waiting for a wallet signature. The server returns the exact typed data (EIP-712) to sign, the signer address and which contract enforces the result. The signature is verified against the required signer; the app never approves on a login alone. The list is paged with an opaque cursor.

Routes#

GET /v3/approvals#

Requests waiting for this wallet's signature, across workspaces.

Route idapprovals.list
AuthSession (bearer or cookie)
Who may callprincipal
StatusIMPLEMENTED

Query parameters

FieldTypeRequiredNotes
cursorstring (max 200, min 1)no
limitinteger (min 1, max 100)no

Response (ApprovalPage)

FieldTypeRequiredNotes
itemsApprovalItem[]yes
nextCursorstring (max 200, min 1) or nullyes

Example response (synthetic fixture):

json
{
  "items": [
    {
      "requestId": "00000000-0000-4000-8000-000000000006",
      "workspaceId": "00000000-0000-4000-8000-000000000001",
      "workspaceName": "Example Studio",
      "purpose": "PAYOUT",
      "summary": "Pay 40 USDC to an allowlisted contractor",
      "amount": {
        "assetId": "arc-testnet:USDC",
        "symbol": "USDC",
        "chainId": 5042002,
        "decimals": 6,
        "units": "40000000"
      },
      "recipientHint": "0x3333…3333",
      "approvals": 1,
      "threshold": 2,
      "expiresAt": "2026-10-17T11:00:00.000Z"
    }
  ],
  "nextCursor": null
}

GET /v3/approvals/{requestId}#

Exact typed data to sign.

Route idapprovals.get
AuthSession (bearer or cookie)
Who may calla required signer
StatusIMPLEMENTED

Path parameters: requestId (UUIDs unless stated).

Response (SigningRequest)

FieldTypeRequiredNotes
requestApprovalItemyes
signerstring (max 16)yesThe wallet that must sign (display)
signerAddressstring (^0x[0-9a-fA-F]{40}$)yesFull address of the wallet that must sign; refuse to sign from any other
enforcedBystring (max 120)yesContract or service that enforces it
stepsSigningStep[] (min 1) (max 3)yes

Example response (synthetic fixture):

json
{
  "request": {
    "requestId": "00000000-0000-4000-8000-000000000006",
    "workspaceId": "00000000-0000-4000-8000-000000000001",
    "workspaceName": "Example Studio",
    "purpose": "PAYOUT",
    "summary": "Pay 40 USDC to an allowlisted contractor",
    "amount": {
      "assetId": "arc-testnet:USDC",
      "symbol": "USDC",
      "chainId": 5042002,
      "decimals": 6,
      "units": "40000000"
    },
    "recipientHint": "0x3333…3333",
    "approvals": 1,
    "threshold": 2,
    "expiresAt": "2026-10-17T11:00:00.000Z"
  },
  "signer": "0x1111…1111",
  "signerAddress": "0x1111111111111111111111111111111111111111",
  "enforcedBy": "Workspace Safe and its policy guard",
  "steps": [
    {
      "label": "Approve this payment",
      "typedData": {
        "domain": {
          "name": "Example",
          "version": "1",
          "chainId": 5042002
        },
        "types": {
          "Example": [
            {
              "name": "amount",
              "type": "uint256"
            }
          ]
        },
        "primaryType": "Example",
        "message": {
          "amount": "40000000"
        }
      }
    }
  ]
}

POST /v3/approvals/{requestId}/signature#

Submit a wallet signature; the server verifies the signer.

Route idapprovals.sign
AuthSession + Idempotency-Key (+ same origin for cookies)
Who may calla required signer
StatusIMPLEMENTED

Path parameters: requestId (UUIDs unless stated).

Request body (SignatureSubmit)

FieldTypeRequiredNotes
signaturesstring (^0x[0-9a-fA-F]{130}$)[] (min 1) (max 3)yes

Response (SignatureResult)

FieldTypeRequiredNotes
statusRECORDED, READY, SUBMITTED, REJECTEDyes
approvalsinteger (min 0)yes
thresholdintegeryes

Edit this page on GitHub