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

Example: 97a191f4-a46e-42de-9c70-650551df0c14
DocumentIdstring · guidRequired

Document Id

Example: 41929338-d7e7-4623-9a7d-db499eef8038
Responses
200

Success

application/json
get
/api/Document/Get
GET /api/Document/Get?TenantId=text&DocumentId=text 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

Example: 9e27333c-3fd5-4b74-934d-af072b827d2d
UrlstringRequired

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

Example: https://domain/document.pdf
Responses
200

Success

application/json
post
/api/Document/UploadUsingURL
POST /api/Document/UploadUsingURL?TenantId=text&Url=text 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

Example: 0135ffd3-c588-4afc-bb58-553fefba54f8
Metastring | nullableOptional

Metadata to attach to document for later use

Example: f625a30b-4ff4-47e1-8af2-05ad7becb70f
Responses
200

Success

application/json
post
/api/Document/Upload
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": "0135ffd3-c588-4afc-bb58-553fefba54f8",
  "Meta": "f625a30b-4ff4-47e1-8af2-05ad7becb70f"
}
{
  "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

Example: 219ae513-6f11-4622-b1ba-cf3dbcfb962a
Responses
200

Success

application/json
get
/api/Document/ListPending
GET /api/Document/ListPending?TenantId=text 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

Example: 83756dd6-2fb6-48e8-9f7f-d0258b8ad2ff
BundleIdstring · guidRequired

Bundle Id

Example: 1533fa9e-c100-4e0d-83d1-c0fa66aa6e50
DocumentIdstring · guidRequired

Document Id

Example: 60712a81-b3a8-4e6b-bf90-d3a751b7fbac
Responses
200

Success

application/octet-stream
Responsestring · binary
get
/api/Document/Download
GET /api/Document/Download?TenantId=text&BundleId=text&DocumentId=text 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

Example: 73430cfe-e865-41aa-9359-44e889388887
Body
DocumentIdstring · guid · min: 1Required

Document Id

Example: 9a4a586b-a99d-4cd6-aa03-5fb57ca151d0
Responses
200

Success

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

{
  "DocumentId": "9a4a586b-a99d-4cd6-aa03-5fb57ca151d0"
}
{
  "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

Example: a5c7dc26-d25b-44dd-baec-057d710d3075
BundleIdstring · guidRequired

Bundle Id

Example: 0ef9630f-e01e-4c95-b831-64392414891a
DocumentIdstring · guidRequired

Document Id

Example: b2c2feb0-40c7-4e53-aeac-c065d0bf485b
Responses
200

Success

application/octet-stream
Responsestring · binary
get
/api/Document/DownloadAudit
GET /api/Document/DownloadAudit?TenantId=text&BundleId=text&DocumentId=text 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

Example: 25965081-46a3-46d4-9d0e-fa39eb126d07
BundleIdstring · guidRequired

Bundle Id

Example: 00294804-0186-42cc-8b7d-0c700a3e948b
DocumentIdstring · guidRequired

Document Id

Example: e03749d1-eef8-4899-af6f-887e43adbe8a
Responses
200

Success

application/octet-stream
Responsestring · binary
get
/api/Document/DownloadDocumentNoAudit
GET /api/Document/DownloadDocumentNoAudit?TenantId=text&BundleId=text&DocumentId=text HTTP/1.1
Host: api.fuse.work
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
binary

Last updated