Skip to main content

Provide Document Content - File or PDF

POST 

/v4/documents/{documentId/file

This endpoint provides file content for a document.
This method is a part of the Signature Request Creation Api Life Cycle.

Request

Path Parameters

    documentId stringrequired

    The unique identifier of the document.

Header Parameters

    Content-Type stringrequired

    The content type of the file.

    Content-Disposition stringrequired

    The content disposition of the file.

Body

The file content details for a document.

    file binary

Responses

The updated document with provided file content.

Schema

    _id string

    A unique string identifier for the document.

    appId appId (string)required

    The application identifier which is used to identify the application used.

    appEnv appEnv (string)required

    Possible values: [DEVELOPMENT, STAGING, PRODUCTION]

    The execution environment of the application where request are executed.

    externalId string

    An optional external identifier that can be used to reference the document from external systems.

    documentNature IGNISIGN_DOCUMENT_TYPE (string)required

    Possible values: [PDF, PDF_ENCRYPTED, FILE, DATA_JSON, DATA_XML, PRIVATE_FILE]

    Represents the type of document that can be signed to the Ignisign application.

    fileName string

    The name of the file associated with the document.

    fileSize number

    The size of the file associated with the document, in bytes.

    label string

    A user-friendly label to identify the document.

    description string

    A detailed, human-readable description of the document.

    mimeType string

    The MIME type of the file associated with the document, such as 'application/pdf' for PDF files.

    documentHash stringrequired

    The hash of the document

    status IGNISIGN_DOCUMENT_STATUS (string)required

    Possible values: [CREATED, PROVIDED, ARCHIVED]

    The current status of the document.

    signatureRequestId stringrequired

    The unique identifier of the signature request associated with the document.

    dataJsonContent string

    The JSON content stringify of the document

    relatedDocumentId string

    If the document have been generated from an other the unique identifier of the related document.

    relatedDocumentType IGNISIGN_DOCUMENT_TYPE (string)

    Possible values: [PDF, PDF_ENCRYPTED, FILE, DATA_JSON, DATA_XML, PRIVATE_FILE]

    Represents the type of document that can be signed to the Ignisign application.

    _createdAt date-time

    The date and time when the document was created, formatted as a string in ISO 8601 format.

Loading...