Skip to main content
POST
Submit previously uploaded documents for scanning and extraction

Authorizations

Authorization
string
header
required

Bearer token for authentication. The token should be the one returned by the /user-tokens endpoint.

Headers

x-teal-authorisation-id
string<uuid>

Optional authorisation ID to associate with this request. If not provided, the system will attempt to resolve a valid authorisation for the user automatically.

Example:

"7f3b8c2a-1d4e-4f6a-8b8c-9a0b1c2d3e4f"

Body

application/json
files
object[]
required

Previously uploaded documents to extract.

Required array length: 1 - 12 elements
type
enum<string>
required

Target document type. Required.

Available options:
p45,
p60,
universal_credit

Response

OK — no files were extracted; see errors for details

documents
object[]
required

Successfully extracted documents

errors
object[]
required

Files that failed extraction