The document callback data has an attribute documentName, which represents the name given to the document or the type, in case of any of those documents:
certificate
ein
postFormationDocuments
postIncorporationDocuments
other
The link attribute (inside the data object) will be a temporary link from Amazon S3 Bucket, that expires in 24 hours. We advise downloading the document as soon as the callback is received.
New document body:
{
"referralId": "EI5F2318",
"status": "new document",
"data": {
"documentName": "Operation Agreement - Awesome Company name. Single Member - Owner name.docx",
"documentType": "postFormationDocuments",
"createAT": "2022-06-20T18:29:18+00:00",
"link": "https://s3.ap-south-1.amazonaws.com/firstbase-prod.documents/ORFA0C06/postFormationDocuments_Operation%20Agreement%20Single%20Member.docx?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAYG5VXQ3XPOVDYGJL%2F20220620%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20220620T182918Z&X-Amz-SignedHeaders=host&X-Amz-Expires=86400&X-Amz-Signature=3fe83ae8276b7cd7e19006382df88004661cd9fcf6141afd598608245bd81e9f"
}
}