Sign inGet Started

Get a registration attachment

GET
/v1/compliance/attachments/{attachment_id}
const file = await bird.complianceAttachments.get("tca_01krdgeqcxet5s7t44vh8rt9mg");
console.log(file.filename, file.contentType, file.data.length);

Downloads the raw bytes of a registration attachment, returned with its own content type and a Content-Disposition header carrying its filename.

Parámetros

attachment_idstring

Attachment ID.