Download an attachment

Request

GET https://api.company-information.service.gov.uk/transactions/{transaction_id}/insolvency/attachments/{attachment_id}/download

Path parameters

Parameter name Value Description Additional
transaction_id string

The transaction unique reference

Required
attachment_id string

The unique attachment id

Required

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

For OAuth 2 authorisation, the following scopes are required:

Scope Description
https://api.company-information.service.gov.uk/company/*/insolvency.write-full Grants full Insolvency Practitioner access
https://identity.company-information.service.gov.uk/user/profile.read User profile read permission

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

The file will begin to download

attachment download
404 Not Found

attachment not found on transaction