GET /api/v2/public/rerequests/{token}#
The update page for a link: the organization’s branding, the form’s title, the applicant’s first name, the deadline, and the items asked for with their reasons and rules. Nothing else about the application. Items are withheld until identity is confirmed, when the request asks for that.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Responses
200 OK
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequests | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
404 REREQUEST_NOT_FOUND: the link opens nothing
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/answers#
Keep what the applicant has typed for the listed questions, and say which answers break a rule (`meta.issues`). Only listed items are accepted.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Request body application/json
| Field | Type | Description |
|---|
answers | object | |
Responses
200 OK
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequests | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
403 IDENTITY_REQUIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
422 ITEM_NOT_REQUESTED, or a validation error
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/dispute#
"This is not my application": the link stops working, reminders stop and the organization is told.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Request body application/json
Free-form JSON.
Responses
200 OK
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequests | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/documents#
Upload a file for a listed document (multipart: `document`, `policy_document_id`, and `declared_kind` where the page offers a choice of kinds). Held pending until the update is sent. At most 10 files per request.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Responses
201 Uploaded
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequest_documents | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
400 NO_FILE, UNSUPPORTED_FILE_TYPE, FILE_CONTENT_MISMATCH or EMPTY_FILE
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
403 IDENTITY_REQUIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
422 FILE_RULE, ITEM_NOT_REQUESTED or DECLARED_KIND_REQUIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
DELETE /api/v2/public/rerequests/{token}/documents/{document_id}#
Remove a file uploaded on this page and not yet sent.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
document_id required | path | string | |
Responses
204 Removed
No body.
403 IDENTITY_REQUIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
404 REREQUEST_NOT_FOUND or DOCUMENT_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/identity#
Confirm it is the applicant: their date of birth, or the last four digits of their phone number, as the page asks. Five attempts.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Request body application/json
| Field | Type | Description |
|---|
value | string | |
Responses
200 OK
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequests | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
422 IDENTITY_MISMATCH, or a validation error
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
429 TOO_MANY_ATTEMPTS
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/submit#
Send the update. The server recomputes the path from the stored answers and what was entered here, checks every listed item on it, and completes the update in one transaction.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Request body application/json
Free-form JSON.
Responses
200 OK
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
data required | object | |
type required | string one of rerequests | |
id required | string | |
attributes required | object | |
relationships | object | |
meta | object | |
included | array<object> | |
type required | string | |
id required | string | |
attributes required | object | |
meta | object | |
403 IDENTITY_REQUIRED
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
409 PATH_ENDS_WITHOUT_SUBMISSION
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
410 REREQUEST_EXPIRED, REREQUEST_COMPLETED or REREQUEST_WITHDRAWN: the link was valid and the request has ended
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
422 ANSWERS_INVALID, with `meta.issues`
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
GET /api/v2/public/rerequests/{token}/unsubscribe#
Stop reminders for this request (the List-Unsubscribe target). Answers `{ "ok": true }`.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Responses
200 OK
No body.
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |
POST /api/v2/public/rerequests/{token}/unsubscribe#
The same, for a mail client’s one-click unsubscribe (RFC 8058). No body is read.
Authentication: No credential
Parameters
| Name | In | Type | Description |
|---|
token required | path | string | |
Responses
200 OK
No body.
404 REREQUEST_NOT_FOUND
| Field | Type | Description |
|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object | |