/api/readers/v1/submit
Submit a reader envelope
`purpose: "enroll"` with a link code and the reader's subject links a person to the reader (`linked`); a sign-in code with the presented finger/hand approves the browser waiting on it (`approved`). A bad signature and an unknown reader answer the same 401.
Request body application/json
object
Responses 200 · 401 · 422 · 429 · 503
200 Success
ReaderOutcome
| assurance | string | On `approved` |
| message | string | |
| outcome * | string | linked | approved | refused | invalid_code | not_recognised | unavailable |
401 `refused`: reader not authorised, or its clock is off / replayed
Problem
| code * | string | Stable machine-readable code (snake_case) |
| detail | string | A sentence an app can show |
| error | object | string | Legacy member kept for existing clients (deprecated) |
| errors | object | Field → messages, for validation errors |
| instance | string | The request path |
| message | string | Legacy member of the mobile sign-in errors (deprecated) |
| request_id | string | |
| status * | integer | |
| title * | string | |
| type | string (uri) | A URI identifying the problem type (https://recordsender.com/problems/<code>) |
422 `invalid_code`, `not_recognised` or `refused`
Problem
| code * | string | Stable machine-readable code (snake_case) |
| detail | string | A sentence an app can show |
| error | object | string | Legacy member kept for existing clients (deprecated) |
| errors | object | Field → messages, for validation errors |
| instance | string | The request path |
| message | string | Legacy member of the mobile sign-in errors (deprecated) |
| request_id | string | |
| status * | integer | |
| title * | string | |
| type | string (uri) | A URI identifying the problem type (https://recordsender.com/problems/<code>) |
429 Problem details (429)
503 `unavailable`
Problem
| code * | string | Stable machine-readable code (snake_case) |
| detail | string | A sentence an app can show |
| error | object | string | Legacy member kept for existing clients (deprecated) |
| errors | object | Field → messages, for validation errors |
| instance | string | The request path |
| message | string | Legacy member of the mobile sign-in errors (deprecated) |
| request_id | string | |
| status * | integer | |
| title * | string | |
| type | string (uri) | A URI identifying the problem type (https://recordsender.com/problems/<code>) |