Document

A file (.pdf) that is used for signing.

Produce the details of a specific document in the system.

get
Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

documentIdstring · guidRequired

Document Id

Responses
200

Success

application/json
get
GET /api/Document/Get HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "documentId": "text",
  "bundleId": "text",
  "meta": "text",
  "displayName": "text",
  "estimatedSize": 1,
  "signedPDFDownloadUrl": "text"
}

Uploads a given document into the system to be attached to bundles. Domain must be preapproved in developer settings page.

post
Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

urlstringRequired

Publically accessible Url with a pdf - must be added to your developer domain whitelist

Responses
200

Success

application/json
post
POST /api/Document/UploadUsingURL HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
  "documentId": "text",
  "bundleId": "text",
  "meta": "text",
  "displayName": "text",
  "estimatedSize": 1,
  "signedPDFDownloadUrl": "text"
}

Uploads a given document into the system to be attached to bundles.

post
Authorizations
Body
filestring · binaryOptional
tenantIdstring · guid · min: 1Required

FuseSign Tenant Id

metastring | nullableOptional

Metadata to attach to document for later use

Responses
200

Success

application/json
post
POST /api/Document/Upload HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 109

{
  "file": null,
  "tenantId": "64508922-a491-41ef-a050-95069643f0bb",
  "meta": "90532409-fef2-4fc8-bfdf-6c6f4fd182a9"
}
{
  "documentId": "text",
  "bundleId": "text",
  "meta": "text",
  "displayName": "text",
  "estimatedSize": 1,
  "signedPDFDownloadUrl": "text"
}

List all documents which have been uploaded which are not yet connected to a bundle.

get
Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

Responses
200

Success

application/json
get
GET /api/Document/ListPending HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
  {
    "documentId": "text",
    "bundleId": "text",
    "meta": "text",
    "displayName": "text",
    "estimatedSize": 1,
    "signedPDFDownloadUrl": "text"
  }
]

Download the pdf document in its current state (signed or unsigned)

get
Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

bundleIdstring · guidRequired

Bundle Id

documentIdstring · guidRequired

Document Id

Responses
200

Success

application/octet-stream
Responsestring · binary
get
GET /api/Document/Download HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binary

If the target document is not attached to a bundle, you can delete it.

post
Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

Body
documentIdstring · guid · min: 1Required

Document Id

Responses
200

Success

application/json
post
POST /api/Document/Delete HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: */*
Accept: */*
Content-Length: 53

{
  "documentId": "c8b02c6d-0714-4aa5-b6f3-ee81bb96ce6f"
}
{
  "result": true
}

Download the pdf document audit trail

get

Download document's audit trail. This will only work if the document has been signed (or is a view only document) and Bundle.Settings.AuditType is set to Separate

Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

bundleIdstring · guidRequired

Bundle Id

documentIdstring · guidRequired

Document Id

Responses
200

Success

application/octet-stream
Responsestring · binary
get
GET /api/Document/DownloadAudit HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binary

Download a signed document without the audit trail

get

Download a signed document without an audit trail embedded. This will only work if the document is a document with signing actions and has been signed and Bundle.Settings.AuditType is set to Separate

Authorizations
Query parameters
tenantIdstring · guidRequired

FuseSign Tenant Id

bundleIdstring · guidRequired

Bundle Id

documentIdstring · guidRequired

Document Id

Responses
200

Success

application/octet-stream
Responsestring · binary
get
GET /api/Document/DownloadDocumentNoAudit HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binary

Last updated