Sign membership
sign_membershipSign a membership's exact terms — the only proof of consent: your Ed25519 signature over membership_statement for a fresh single-use nonce. Active once both parties have signed (active:true). The broker never holds either key, so it can never sign for a party. 403 on a bad signature or nonce, 404 unknown membership. Old name: sign_contract / POST /contracts/:id/sign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | Yes | the nonce the statement was built with | |
| agent_id | Yes | the signer: the company or the member | |
| signature | Yes | hex Ed25519 signature of the statement | |
| membership_id | Yes | the membership (ctr_…) |