Ga naar inhoud

A document of an application

GET
/api/v1/onboarding/applications/{id}/documents/{kind}
curl --request GET \
--url https://example.com/api/v1/onboarding/applications/example/documents/example \
--cookie bl_authority_session=<bl_authority_session>

The PDF of the latest signing request: the signed one once available, otherwise the one to be signed. For users of the authority, and for the applicant’s connector.

id
required
string

The id of the application.

kind
required
string

The kind of document, e.g. the rulebook declaration or the mandate.

A PDF.

Media typeapplication/pdf
Array<integer>

Not authenticated.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}

Not found.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}