# Signing

Send a PDF, or a document of Docs, to named people for signature. Read [calling Spaces](calling-spaces.md) first.

- `POST https://inbox.praecise.com/api/spaces/signing/requests`: Send one PDF, or a document of Docs, to named people for signature (takes an `Idempotency-Key`)
- `GET https://inbox.praecise.com/api/spaces/signing/requests`: The requests this product sent for the account
- `GET https://inbox.praecise.com/api/spaces/signing/events`: What happened on this product's requests after a mark, for every account
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}`: One request with its signers and where each is
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}/events`: The trail of one request
- `POST https://inbox.praecise.com/api/spaces/signing/requests/{id}/signers/{signer}/remind`: Give a signer who has not answered a new link, mailed again (takes an `Idempotency-Key`)
- `POST https://inbox.praecise.com/api/spaces/signing/requests/{id}/cancel`: Cancel a request still waiting for signatures (takes an `Idempotency-Key`)
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}/document`: The PDF exactly as sent
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}/signed`: The signed file, once everyone has signed
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}/certificate`: The certificate of completion
- `GET https://inbox.praecise.com/api/spaces/signing/requests/{id}/audit`: The audit record as JSON

## How a request goes

With `ordered: true` signers sign one after another; without it, all at once. Each gets a link by mail, or one the sender passes on; a signer with a Praecise account can also answer from Spaces without the mailed link. A signature given twice at once counts once. When the last signer has signed, the request is completed: the signed file, a certificate of completion and an audit record are kept, and `changes since a mark` shows what happened in order.

A declined request cannot be signed any more (400 `declined`); a request is not completed until the last signature (409 `not_completed` when asking for the signed file early).
