# signing.envelopes.signAsMember

Sign as the assigned company signer from a signed-in Oatmilk session (dashboard only, never API keys or agents): consent, typed or drawn signature, name, and title are recorded with the document hash, time, IP address, and device.

`POST /api/v1/accounting/signing.envelopes.signAsMember`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required

Not available over MCP: A person's own e-signature, with their signed-in session.

## Fields

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `id` | string (ID) | Yes | The record's ID. |
| `recipientId` | string (ID) | Yes | The ID of one signer on a document. |
| `documentSha256` | string | Yes | SHA-256 hash as 64 lowercase hex characters. |
| `consent` | true | Yes |  |
| `consentVersion` | string | Yes | Matches ^[0-9a-z.-]{1,40}$. |
| `signature` | object | Yes |  |
| `signature.method` | "typed" | Yes |  |
| `signature.text` | string | Yes | 1–100 characters. |
| `signature.font` | string |  | at most 60 characters. |
| `signature.method` | "drawn" | Yes |  |
| `signature.image` | string | Yes | 40–400000 characters; Matches ^data:image\/png;base64,[A-Za-z0-9+/]+=*$. |
| `signedName` | string | Yes | 1–200 characters. |
| `signedTitle` | string |  | at most 200 characters. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/signing.envelopes.signAsMember \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "recipientId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
  "documentSha256": "9f2b5c1d7e3a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4e6f8a0b2c4d6e8f0a2b4c",
  "consent": true,
  "consentVersion": "example",
  "signature": {
    "method": "typed",
    "text": "example"
  },
  "signedName": "Synthetic Ventures Inc."
}'
```

Reference page: https://app.getoatmilk.com/docs/api/signing.envelopes.signAsMember
