# Get mandate signing options

Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).

`POST /v1/mandates/{id}/versions/{version}/sign/options`

Returns WebAuthn request options whose challenge is the draft version's hash. Console session with mandate:sign; only a draft can be signed (409).

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Mandate id (mdt_...). |
| `version` | path | yes | Draft version number. |

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "challenge": "string",
  "timeout": 1,
  "rpId": "string",
  "allowCredentials": [
    {}
  ],
  "userVerification": "string",
  "challenge_id": "cha_01jd2x3k4m5n6p7q8r9s0t1v2w",
  "publicKey": {},
  "hash": "string"
}
```
