Firstbase
  • Welcome
  • Incorporation API
    • Overview
    • Environment
    • Authentication
    • Name Check
      • Request
      • Response
        • Response for Successful
        • Response for Failed
    • Incorporation Order
      • Request
        • User
        • Company
        • Holders
        • Parent Companies
      • Response
        • Response for Successful
        • Response for Failed
          • Unavailable company
          • LLC - Wrong count percent
    • Fetch Order By External Id
      • Request
      • Response
        • Response for Successful
        • Response for Failed
          • Order not found
    • States of Incorporation
      • Request
      • Response
    • Countries
      • Request
      • Response
    • Industries
      • Request
      • Response
    • Webhook
      • Request
      • Response
      • Callback
        • Order call
        • Document call
    • Company Info
Powered by GitBook
On this page
  • New document body:
  • Document remove:

Was this helpful?

  1. Incorporation API
  2. Webhook
  3. Callback

Document call

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"
  }
}

Document remove:

{
  "referralId": "EI7876FF",
  "status": "document remove",
  "data": {
    "documentName": "ein document.pdf",
    "documentType": "ein"
  }
}
PreviousOrder callNextCompany Info

Last updated 2 years ago

Was this helpful?