Introduction
The SnapSign API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients.
API Endpoint:
https://api.gosnapsign.com
HTTP Verbs
The SnapSign API tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP verbs.
Verb | Usage |
---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
|
Used to update an existing resource, including partial updates |
|
Used to delete an existing resource |
HTTP Status Codes
The SnapSign API tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes.
Status code | Usage |
---|---|
|
The request completed successfully. |
|
A new resource has been created successfully. The resource’s URI is available from the response’s.
|
|
An update to an existing resource has been applied successfully. |
|
The request was unacceptable, often due to missing a required parameter. The response body will include an error providing further information. |
|
The requested resource did not exist. |
|
No valid API key provided. |
|
User was authenticated correctly, but does not access permission on the requested resource. |
|
Too many requests hit the API too quickly. |
Hypermedia
The SnapSign API uses hypermedia and resources include links to other resources in their
responses. Links can be found beneath the links
key. Users of the API should
not create URIs themselves, instead they should use the above-described links to navigate.
Authentication
The SnapSign API requires two headers to be included in API requests to authenticate your account. The integration token is generated as part of the integration setup. The user token uniquely identifies the user the API will run under for the duration of the call.
You can manage your API tokens in the Integrations section of SnapSign. Your API tokens carry many privileges, so be sure to keep them secure!
Authentication to the API is performed via custom headers, for example:
curl https://api.gosnapsign.com/documents/{id} \ -H "X-SnapSign-Int-App" : [integration token] \ -H "X-SnapSign-Authentication" : [user token]
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Errors
The SnapSign API uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx
range indicate success. Codes in the 4xx range
indicate an error that failed given the information provided (e.g., a required field was omitted). See HTTP Status Codes for more information.
Some '4xx' errors that could be handled programmatically include a list of error details that briefly explains the error reported.
{
"message" : "The request is invalid",
"path" : "/documents/template",
"status" : 400,
"errorCount" : 1,
"details" : [ "If a sender is specified, it must contain an id or email" ]
}
Path | Type | Description |
---|---|---|
|
|
The error message. |
|
|
The path of the request which caused the error. |
|
|
The status code of the response. |
|
|
The number of errors. |
|
|
List of error condition details. |
Get Templates
Get a paged list of Templates accessible to the authorized user token
https://api.gosnapsign.com/templates
Sample Request
GET /templates?page=0&size=3 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The zero-based page index. Optional. Defaults to 0. |
|
The size of the page to be returned. Optional. Defaults to 20. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1487
{
"links" : [ {
"rel" : "first",
"href" : "https://api.gosnapsign.com/templates?page=0&size=3"
}, {
"rel" : "self",
"href" : "https://api.gosnapsign.com/templates?page=0&size=3"
}, {
"rel" : "next",
"href" : "https://api.gosnapsign.com/templates?page=1&size=3"
}, {
"rel" : "last",
"href" : "https://api.gosnapsign.com/templates?page=3&size=3"
} ],
"content" : [ {
"url" : "https://api.gosnapsign.com/templates/123456789",
"name" : "My Template",
"message" : "Please review and sign this document",
"priority" : "LOW",
"tags" : [ "HR Onboarding" ],
"participants" : [ {
"role" : "Employee",
"action" : "SIGN",
"order" : 100
}, {
"role" : "HR Manager",
"action" : "APPROVE",
"order" : 100
} ],
"forms" : [ {
"url" : "https://api.gosnapsign.com/templateforms/1111111",
"name" : "My Form",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/templateforms/1111111"
} ],
"id" : "1111111",
"mime_type" : "PDF"
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/templates/123456789"
}, {
"rel" : "owner",
"href" : "https://api.gosnapsign.com/users/1001"
} ],
"id" : "123456789",
"owner_id" : "1001",
"created_date" : 1525366598088
} ],
"page" : {
"size" : 3,
"totalElements" : 10,
"totalPages" : 4,
"number" : 0
}
}
Path | Type | Description |
---|---|---|
|
|
Pagination links for additional template pages. |
|
|
Properties which describe the requested page of templates. |
|
|
The size of the page returned. |
|
|
The total number of templates. |
|
|
The total number of template pages. |
|
|
The zero-based page index. |
|
|
The content of the page. |
|
|
The id of the requested template. |
|
|
The name of the template. |
|
|
The message to convey to participants of the document. |
|
|
The date the document was created. Measured in milliseconds since the Unix epoch. |
|
|
List of tags associated with the template. |
|
|
The participants. Refer to Participant for more information. |
|
|
The forms contained within this template. Refer to Template Summary Form for more information. |
|
|
The links associated with this request. |
Relation | Description |
---|---|
|
Link to the first template page. |
|
Link to the requested template page. |
|
Link to the next template page. |
|
Link to the last template page. |
Get Template
Get a SnapSign template
https://api.gosnapsign.com/templates/{id}
Sample Request
GET /templates/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the template. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1448
{
"url" : "https://api.gosnapsign.com/templates/123456789",
"name" : "My Template",
"message" : "Please review and sign this document",
"priority" : "LOW",
"tags" : [ "HR Onboarding" ],
"participants" : [ {
"role" : "Employee",
"action" : "SIGN",
"order" : 100
}, {
"role" : "HR Manager",
"action" : "APPROVE",
"order" : 100
} ],
"forms" : [ {
"url" : "https://api.gosnapsign.com/templateforms/1111111",
"name" : "My Form",
"fields" : [ {
"id" : "field_1",
"internalId" : "field-123",
"label" : "Please Sign Here",
"page_number" : 0,
"assignee_role" : "Employee",
"data_type" : "STRING",
"source_keys" : [ ],
"default_value" : null
}, {
"id" : "field_2",
"internalId" : "field-128",
"label" : "Balance",
"page_number" : 0,
"assignee_role" : "Employee",
"data_type" : "DOUBLE",
"source_keys" : [ "AccountBalance" ],
"default_value" : "[AccountBalance]"
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/templateforms/1111111"
} ],
"id" : "1111111",
"mime_type" : "PDF"
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/templates/123456789"
}, {
"rel" : "owner",
"href" : "https://api.gosnapsign.com/users/1001"
} ],
"id" : "123456789",
"owner_id" : "1001",
"created_date" : 1525366598088
}
Path | Type | Description |
---|---|---|
|
|
The id of the requested template. |
|
|
The name of the template. |
|
|
The message to convey to participants of the template. |
|
|
The id of the owner of the template. |
|
|
The date the template was created. Measured in milliseconds since the Unix epoch. |
|
|
The tags of the template. |
|
|
The priority of the template. The available values are |
|
|
The participants. Refer to Participant for more information. |
|
|
The forms contained within this template. Refer to Template Form for more information. |
|
|
The links associated with this request. |
Relation | Description |
---|---|
|
Link to the template resource. |
|
Link to the owner of the template. |
Send Document with Template
Use a pre-existing SnapSign template to initiate a new document
https://api.gosnapsign.com/documents/template
Sample Request
POST /documents/template HTTP/1.1
Content-Type: application/json
Content-Length: 1288
Host: api.gosnapsign.com
{
"title" : "My Document",
"message" : "Please review and sign this document",
"sender" : {
"url" : "/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"profile" : "Compliance Department",
"participants" : [ {
"id" : "456",
"email" : "bob@example.com",
"role" : "Employee",
"first_name" : "Bob",
"last_name" : "Simpson",
"host_id" : "678",
"host_email" : "host@example.com",
"message_directive" : "SUBSET",
"message_config" : {
"commented" : true,
"approved" : true,
"rejected" : true,
"manual_reminder" : true,
"resent_link" : true,
"expired_reminder" : true,
"expired" : true,
"deleted" : false,
"assigned" : true,
"reassigned" : true,
"reminder" : true,
"invited" : true,
"completed" : true,
"past_due" : true
}
} ],
"properties" : [ {
"name" : "foo",
"value" : "bar"
} ],
"external_key" : "MyBusinessKey",
"template_id" : "123",
"additional_form_ids" : [ ],
"apply_forms_to_template_rule" : "",
"apply_tags_to_form_rule" : "",
"expiration_date" : 1525366598113,
"due_date" : 1525366598101,
"reminder_days" : 3,
"reminder_recurrence_days" : 4
}
Path | Type | Description | Constraints |
---|---|---|---|
title |
String |
Optional title of the document. If none is specified, the title from the template is used. |
|
message |
String |
Optional message to convey to participants of the document. If none is specified, the message from the template is used. |
|
profile |
String |
Optional name of the profile to use when sending this document. If none is specified, the account-wide settings are used. |
|
external_key |
String |
The business key of an external object to associate to the document, used to lookup relationships to objects in external systems. Optional. |
|
template_id |
String |
The id of the template to use to initiate the document request. |
Must not be null. |
participants[].id |
String |
The id of the participant to map into the template to create the document. Optional. If id is not specified, email is required to uniquely identify the participant or the role must be mapped to a participant alias. |
|
participants[].role |
String |
The role of the participant to map into the template to create the document. |
|
participants[].email |
String |
The email of the participant to map into the template to create the document. |
|
participants[].first_name |
String |
The first name of the participant to map into the template to create the document. |
|
participants[].last_name |
String |
The last name of the participant to map into the template to create the document. |
|
participants[].host_id |
String |
The id of the host to map into the template to create the document. Optional. If id is not specified, |
|
participants[].host_email |
String |
The email of the host to map into the template to create the document. Optional. If email is not specified, |
|
participants[].message_directive |
String |
An optional directive to send |
Additional licensing is required to configure participant messaging. |
participants[].message_config |
Object |
A configuration object specifying which messages shoud be sent to this participant. This is required if the Message directive is set to |
Additional licensing is required to configure participant messaging. |
properties |
Array |
List of key/value pairs of properties to apply to the requested document. These properties will map to |
|
properties[].name |
String |
The name of the property to map into field tags using the |
|
properties[].value |
String |
The value of the property to map into field tags. The value will become the label and default value of the field. |
|
additional_form_ids |
Array |
Optional list of form ids returned from SnapSign Form Upload API to be applied to the template. |
|
apply_forms_to_template_rule |
String |
Optional rule which specifies how the forms listed in |
If a rule is specified, it must be of one of the supported types [NONE, REPLACE_FIRST, REPLACE_ALL]. |
apply_tags_to_form_rule |
String |
Optional rule which specifies how the existing tags on the template will be applied to the forms listed in |
If a rule is specified, it must be of one of the supported types [NONE, ALL_PAGES]. |
expiration_date |
Number |
The date the document will expire and no longer be accessible if it is not complete. Measured in milliseconds since the Unix epoch. |
|
due_date |
Number |
The date the document is due to be completed. Measured in milliseconds since the Unix epoch. |
|
reminder_days |
Number |
The number of days after an action is assigned on the document to send a reminder if not completed. Use this property instead of |
|
reminder_recurrence_days |
Number |
The number of days after an action is assigned on the document to send a recurring reminder if not completed. Use this property instead of |
|
sender |
Object |
The sender. If none is specified, the initiator of the API is assumed to be the sender. Refer to Sender for more information. |
If a sender is specified, it must contain an id or email. |
Sample Response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 653
{
"sender" : {
"url" : "https://api.gosnapsign.com/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"status" : "CREATED",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/123456789"
}, {
"rel" : "sender",
"href" : "https://api.gosnapsign.com/users"
}, {
"rel" : "initiator",
"href" : "https://api.gosnapsign.com/users"
}, {
"rel" : "employee",
"href" : "https://api.gosnapsign.com/users/456"
} ],
"document_id" : "123456789",
"initiator_id" : null,
"created_date" : null,
"external_key" : null
}
Path | Type | Description |
---|---|---|
|
|
The id of the newly created document. |
|
|
The status of the document. For newly initiated documents, the status will be |
|
|
The id of the initiator of the document |
|
|
The date the request was created |
|
|
The business key of an external object to associate to the document, used to lookup relationships to objects in external systems. Optional. |
|
|
The sender. Refer to Sender for more information. |
|
|
The links associated with this document request. |
Relation | Description |
---|---|
|
Link to the created document resource. |
|
Link to the sender of the document request. |
|
Link to the initiator of the document request. |
|
Link to the user assigned to the |
Document Status
Get the status of any SnapSign document
https://api.gosnapsign.com/documents/status/{id}
Sample Request
GET /documents/status/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the document. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 250
{
"status" : "SENT",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/status/123456789"
}, {
"rel" : "document",
"href" : "https://api.gosnapsign.com/documents/123456789"
} ],
"id" : "123456789"
}
Path | Type | Description |
---|---|---|
|
|
The id of the requested document. |
|
|
The status of the document. Refer to Document Status for more information. |
|
|
The links associated with this request. |
Relation | Description |
---|---|
|
Link to the document status resource. |
|
Link to the document resource. |
Get Document
Get a SnapSign document
https://api.gosnapsign.com/documents/{id}
Sample Request
GET /documents/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the document. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 3742
{
"url" : "https://api.gosnapsign.com/documents/123456789",
"title" : "My Document",
"message" : "Please review and sign this document",
"sender" : {
"url" : "https://api.gosnapsign.com/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"participants" : [ {
"url" : "https://api.gosnapsign.com/users/456",
"order" : 100,
"email" : "bob@example.com",
"action" : "SIGN",
"role" : "Employee",
"hosted" : false,
"id" : "456",
"first_name" : "Bob",
"last_name" : "Simpson",
"opened_document" : false
} ],
"priority" : "HIGH",
"status" : "COMPLETED",
"properties" : [ {
"name" : "foo",
"value" : "bar"
} ],
"forms" : [ {
"url" : "https://api.gosnapsign.com/forms/1111111",
"name" : "My Form",
"fields" : [ {
"id" : "field_1",
"internalId" : "field-123",
"assignee" : "456",
"label" : "Please Sign Here",
"value" : "signature-123",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "STRING",
"data_value" : "signature-123"
}, {
"id" : "field_2",
"internalId" : "field-456",
"assignee" : "456",
"label" : "BirthDate",
"value" : "2/5/1980",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "STRING",
"data_value" : null
}, {
"id" : "field_3",
"internalId" : "field-789",
"assignee" : "456",
"label" : "Attach File",
"value" : "My Attachment.txt",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "FILE",
"data_value" : "My Attachment.txt"
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/1111111"
}, {
"rel" : "download",
"href" : "https://api.gosnapsign.com/forms/download/1111111"
}, {
"rel" : "download-certificate",
"href" : "https://api.gosnapsign.com/certificates/download/1111111"
} ],
"id" : "1111111",
"mime_type" : "PDF",
"status" : "COMPLETED"
} ],
"attachments" : [ {
"url" : "https://api.gosnapsign.com/attachments/123456789/2222222",
"name" : "My Attachment.txt",
"required" : true,
"assignee" : "456",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/attachments/123456789/2222222"
}, {
"rel" : "assignee",
"href" : "https://api.gosnapsign.com/users/456"
}, {
"rel" : "download",
"href" : "https://api.gosnapsign.com/attachments/download/123456789/2222222"
} ],
"id" : "2222222",
"mime_type" : "text/plain",
"tag_id" : "field-789",
"added_by_signer" : false,
"uploaded_date" : 1525366598101
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/123456789"
}, {
"rel" : "sender",
"href" : "https://api.gosnapsign.com/users/1"
}, {
"rel" : "initiator",
"href" : "https://api.gosnapsign.com/users/1001"
}, {
"rel" : "template",
"href" : "https://api.gosnapsign.com/templates/12345Template"
} ],
"id" : "123456789",
"initiator_id" : "1001",
"template_id" : "12345Template",
"created_date" : 1525366598088,
"outstanding_participants" : [ {
"url" : "https://api.gosnapsign.com/users/456",
"action" : "SIGN",
"id" : "456"
} ],
"sent_date" : 1525366598099,
"completed_date" : 1525366598113,
"expiration_date" : null,
"due_date" : null,
"reminder_days" : 0,
"external_key" : "MyBusinessKey"
}
Path | Type | Description |
---|---|---|
|
|
The id of the requested document. |
|
|
The title of the document |
|
|
The message to convey to participants of the document. |
|
|
The id of the initiator of the document. |
|
|
The date the document was created. Measured in milliseconds since the Unix epoch. |
|
|
The date the document was sent. Measured in milliseconds since the Unix epoch. |
|
|
The date the document was completed. Measured in milliseconds since the Unix epoch. |
|
|
The date the document is due to be completed. Measured in milliseconds since the Unix epoch. |
|
|
The date the document will expire and no longer be accessible if it is not complete. Measured in milliseconds since the Unix epoch. |
|
|
The number of days after an action is assigned on the document to send a reminder if not completed. |
|
|
The business key of an external object to associate to the document, used to lookup relationships to objects in external systems. Optional. |
|
|
The internal id of the SnapSign Template which originated the document, if applicable. Optional. |
|
|
The status of the document. Refer to Document Status for more information. |
|
|
List of key/value pairs of properties to apply to the requested document. These properties will map to |
|
|
The name of the property to map into field tags using the |
|
|
The value of the property to map into field tags. The value will become the label and default value of the field. |
|
|
The priority of the document. The available values are |
|
|
The sender. Refer to SenderConstraint for more information. |
|
|
The participants. Refer to Participant for more information. |
|
|
The participants who have yet to interact, Sign or Approve, the document |
|
|
The forms contained within this document. Refer to Form for more information. |
|
|
The attachments contained within this document. Refer to Attachment for more information. |
|
|
The links associated with this request. |
Relation | Description |
---|---|
|
Link to the document resource. |
|
Link to the sender of the document. |
|
Link to the initiator of the document. |
|
Link to the template which originated the document, if applicable. |
Get Document Sign Links
Get the SnapSign application links to load into a browser for participants to sign the document. Please note that additional licensing may be required. Only documents which are In Process and are not hosted to sign in person can provide SnapSign application links.
https://api.gosnapsign.com/documents/signlinks/{id}
Sample Request
GET /documents/signlinks/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the document. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 751
{
"participants" : [ {
"url" : "https://app.gosnapsign.com/sign/123456789?u=456",
"order" : 0,
"email" : "bob@example.com",
"action" : "SIGN",
"role" : "Employee",
"hosted" : false,
"id" : "456",
"first_name" : "Bob",
"last_name" : "Simpson",
"opened_document" : false
}, {
"url" : "https://app.gosnapsign.com/sign/123456789?u=789",
"order" : 1,
"email" : "carl@example.com",
"action" : "APPROVE",
"role" : "Manager",
"hosted" : false,
"id" : "789",
"first_name" : "Carl",
"last_name" : "Rogers",
"opened_document" : false
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/signlinks/123456789"
} ],
"id" : "123456789"
}
Path | Type | Description |
---|---|---|
|
|
The id of the requested document. |
|
|
List of participants of the document. |
|
|
The SnapSign Application url to be loaded in a browser in order for the participant to sign the document. |
|
|
The email of the participant. |
|
|
The action of the participant in the document. Refer to Actions for more information. |
|
|
The role of the participant in the document. This is mapped to the document template definition, if applicable. May be null. |
|
|
The id of the participant in SnapSign. |
|
|
The first name of the participant. |
|
|
The last name of the participant. |
|
|
The links associated with this request. |
Relation | Description |
---|---|
|
Link to the document status resource. |
Send Reminder for Document
Send a reminder for a SnapSign document that is in process
https://api.gosnapsign.com/documents/reminder
Sample Request
POST /documents/reminder HTTP/1.1
Content-Type: application/json
Content-Length: 73
Host: api.gosnapsign.com
{
"recipients" : [ "bob@example.com" ],
"document_id" : "123456789"
}
Path | Type | Description | Constraints |
---|---|---|---|
document_id |
String |
The id of the document. |
Must not be null. |
recipients |
Array |
Optional list of recipients of the reminder as email addresses. The recipients must be participants of the document. If none is specified, the reminder will be sent to all the participants of the document. |
Sample Response
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 182
{
"recipients" : [ "bob@example.com" ],
"links" : [ {
"rel" : "document",
"href" : "https://api.gosnapsign.com/documents/123456789"
} ],
"document_id" : "123456789"
}
Path | Type | Description |
---|---|---|
|
|
The id of the document. |
|
|
The list of recipients as email addresses to which the reminder was sent. |
|
|
The links associated with this reminder request. |
Relation | Description |
---|---|
|
Link to the document for which the reminder was sent. |
Reassign the Current Task for a Document
Reassigns the current task for a document. The document must be in process and the current task must be assigned to the authorized API token user. Additional licensing may be required.
https://api.gosnapsign.com/documents/reassign
Sample Request
PUT /documents/reassign HTTP/1.1
Content-Type: application/json
Content-Length: 136
Host: api.gosnapsign.com
{
"email" : "bob@example.com",
"name" : "Bob Simpson",
"action" : "SIGN",
"document_id" : "123456789",
"clear_fields" : true
}
Path | Type | Description | Constraints |
---|---|---|---|
document_id |
String |
The id of the document. |
Must not be null. |
name |
String |
The name of the person to reassign the current task. |
Must not be null. |
String |
The email of the person to reassign the current task. |
Must not be null. |
|
action |
String |
The action of the current user to reassign. Optional unless the current user is assigned more than one task on a document. Defaults to |
|
clear_fields |
Boolean |
A flag indicating if any filled in fields should be cleared prior to reassignment. Note: Signatures and Initials will always be cleared as part of reassignment. Defaults to |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 231
{
"links" : [ {
"rel" : "document",
"href" : "https://api.gosnapsign.com/123456789"
}, {
"rel" : "assignee",
"href" : "https://api.gosnapsign.com/users/456"
} ],
"document_id" : "123456789",
"id" : "456"
}
Path | Type | Description |
---|---|---|
|
|
The id of the document. |
|
|
The id of user to which the current task was assigned. |
|
|
The links associated with this reassignment request. |
Relation | Description |
---|---|
|
Link to the document which was reassigned. |
|
Link to the user which is now assigned to the current task. |
Add or Update Document Properties
Add or updates a document properties. If the property name is found on the document, the property value will be updated. Otherwise, the property will be added to the document. Additional licensing may be required.
https://api.gosnapsign.com/documents/properties
Sample Request
POST /documents/properties HTTP/1.1
Content-Type: application/json
Content-Length: 155
Host: api.gosnapsign.com
{
"properties" : [ {
"name" : "foo",
"value" : "bar"
}, {
"name" : "senderName",
"value" : "Bob"
} ],
"document_id" : "123456789"
}
Path | Type | Description | Constraints |
---|---|---|---|
document_id |
String |
The id of the document. |
Must not be null. |
properties |
Array |
The properties to update or add on the document. |
|
properties[].name |
String |
The name of the property. |
Must not be null. |
properties[].value |
String |
The value of the property. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 304
{
"properties" : [ {
"name" : "foo",
"value" : "bar",
"action" : "ADDED"
}, {
"name" : "senderName",
"value" : "Bob",
"action" : "UPDATED"
} ],
"links" : [ {
"rel" : "document",
"href" : "https://api.gosnapsign.com/123456789"
} ],
"document_id" : "123456789"
}
Path | Type | Description |
---|---|---|
|
|
The id of the document. |
|
|
The properties to update or add on the document. |
|
|
The name of the property. |
|
|
The value of the property. |
|
|
A flag indicating if the property was |
|
|
The links associated with this reassignment request. |
Relation | Description |
---|---|
|
Link to the document which was reassigned. |
Delete Document
Delete a SnapSign document
https://api.gosnapsign.com/documents/{id}
Sample Request
DELETE /documents/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the document. |
Sample Response
A successful deletion will return a response code of 204 - No Content
.
HTTP/1.1 204 No Content
Form Create
Prepare SnapSign for a new form you are going to upload
https://api.gosnapsign.com/forms/
Sample Request
POST /forms/upload HTTP/1.1
Content-Type: application/json
Content-Length: 46
Host: api.gosnapsign.com
{
"name" : "MyForm",
"mime_type" : "PDF"
}
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
Name of the form. |
Value may not be null or empty. |
mime_type |
String |
The mime type of the form. |
Mime Type must not be empty or null, and must be of one of the supported types [PDF, PNG, JPG]. |
Sample Response
HTTP/1.1 201 Created
Location: https://api.gosnapsign.com/forms/upload/123456789
Content-Type: application/json
Content-Length: 267
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "MyForm",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "CREATED"
}
Name | Description |
---|---|
|
The url to use to upload the binary data for this newly created form. |
Path | Type | Description |
---|---|---|
|
|
The id of the newly created form. |
|
|
Resource locator of the newly created form resource. |
|
|
The status of the form. For newly uploaded forms, the status will be |
|
|
The name of the form. |
|
|
The mime type of the form. Refer to Supported Mime Types for valid values. |
|
|
The fields of the form. For a newly create form, this property will be an empty array. |
|
|
The links associated with this document request. |
Relation | Description |
---|---|
|
Link to the created form resource. |
Form Upload
Upload a new form to SnapSign
https://api.gosnapsign.com/forms/{id}
Sample Request
POST /forms/upload/123456789 HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Host: api.gosnapsign.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file; filename=filename.pdf
Content-Type: application/pdf
some content
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
curl -X POST -F "file=@SampleForm.pdf;type=application/pdf" \ -H "X-SnapSign-Int-App: [integration token]" \ -H "X-SnapSign-Authentication: [user token]" \ -v https://api.gosnapsign.com/forms/upload/{id}
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 269
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "My Form",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "UPLOADED"
}
Path | Type | Description |
---|---|---|
|
|
The id of the newly created form. |
|
|
Resource locator of the newly created form resource. |
|
|
The status of the form. After a successful upload of binary data, the status will be |
|
|
The name of the form. |
|
|
The mime type of the form. Refer to Supported Mime Types for valid values. |
|
|
The fields of the form. For a newly uploaded form, this property will be an empty array. |
|
|
The links associated with this document request. |
Relation | Description |
---|---|
|
Link to the created form resource. |
Uploading a Form without a MultiPart request
Some client libraries, such as SuiteScript 1.0 from NetSuite, do not support a MultiPart request. In that case, the file can be Base64 encoded and submitted as a string. In order to upload a form in this way, make sure to use the correct content type header of application/x-www-form-urlencoded
and pass the encoded string as the file
parameter in the request body.
POST /forms/upload/123456789?file=Pz8%2FPz8%2FPz8%2FPz8%2FPz8%2F HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: 35
Host: api.gosnapsign.com
file=Pz8%2FPz8%2FPz8%2FPz8%2FPz8%2F
Get Form
Get details about a specific form from a SnapSign document
https://api.gosnapsign.com/forms/{id}
Sample Request
GET /forms/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the form. |
Sample Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 1432
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "My Form",
"fields" : [ {
"id" : "field_3",
"internalId" : "field-128",
"assignee" : "456",
"label" : "Balance",
"value" : "15.50",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "DOUBLE",
"data_value" : 15.5
}, {
"id" : "field_1",
"internalId" : "field-123",
"assignee" : "456",
"label" : "Please Sign Here",
"value" : "signature-123",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "STRING",
"data_value" : "signature-123"
}, {
"id" : "field_2",
"internalId" : "field-789",
"assignee" : "456",
"label" : "Attach File",
"value" : "My Attachment.txt",
"page_number" : 0,
"assignee_role" : null,
"assignee_url" : "https://api.gosnapsign.com/users/456",
"data_type" : "FILE",
"data_value" : "My Attachment.txt"
} ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
}, {
"rel" : "download",
"href" : "https://api.gosnapsign.com/forms/download/123456789"
}, {
"rel" : "download-certificate",
"href" : "https://api.gosnapsign.com/certificates/download/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "COMPLETED"
}
Path | Type | Description |
---|---|---|
|
|
The id of the form. |
|
|
The name of the form. |
|
|
The mime-type of the form. |
|
|
The status of the form. |
|
|
The list of fields associated with this form. |
|
|
The unique identifier of this field, as determined by the Sender, for addressing during integrations. |
|
|
The unique identifier of this field |
|
|
The id of the participant assigned to the field. |
|
|
The role of the participant assigned to the field, if applicable. |
|
|
The url to the participant resource assigned to the field. |
|
|
The label of the field. |
|
|
The data type of the value of the field. Refer to Field Data Type for more information. |
|
|
The value of the field. |
|
|
The strongly-typed data value of the field. |
|
|
The page number of the form on which the field resides. Starts with |
|
|
The links associated with this form. |
Relation | Description |
---|---|
|
Link to the form resource. |
|
Link to download the completed form content as bytes. |
|
Link to download the completed form’s certificate as bytes. |
Download Form
Download the content of a completed form from a SnapSign document. Please note that additional licensing is required to download In Process forms.
https://api.gosnapsign.com/forms/download/{id}
Sample Request
GET /forms/download/123456789 HTTP/1.1
Accept: application/pdf
Host: api.gosnapsign.com
Parameter | Description |
---|---|
|
The id of the form. |
Response
This resource is only available once a Document has been completed. With additional licensing, In Process forms are available for download. The response will return an array of bytes of the content of the form.
HTTP/1.1 200 OK
Content-Disposition: attachment; filename=MyForm.pdf
Content-Length: 33
Content-Type: application/pdf
Accept-Ranges: bytes
ZCBlbnZpcm9ubWVudCBhcyBhbiBhZA...
Base 64 Encoded String
The Download Form endpoint can also provide the contents of the PDF as a Base64 Encoded string if the Accept
header is set to text/plain
. This Accept
header should only be used to support legacy systems, since Base64 Encoding will likely increase the body size.
GET /forms/download/123456789 HTTP/1.1
Accept: text/plain
Host: api.gosnapsign.com
HTTP/1.1 200 OK
Content-Type: text/plain;charset=UTF-8
Content-Length: 45
JVBERi0xLjMKJfbk/N8KMSAwIG9iago8PAovVHlwZS...
Merge Form into Template
The SnapSign API provides the ability for automated processes to merge generated forms into an existing template and send it out for signatures. The basic high level steps are as follows:
-
Using SnapSign UI, create a template with tags in the desired location using a similar form.
-
Via the API, create the metadata of the form to merge with the template.
-
Upload the form using the returned location header from the Form Create API.
-
Wait for the form to be processed.
-
Call the Send Document API with the new form Id and rules for how to merge the form into the template.
-
Wait for the new document to be sent.
Each step is discussed in more detail below.
Create a Template
Using the SnapSign UI, log in and create a Template using a similar form. Apply tags to the template which will be merged onto the generated form during the Send Document with Template process. After saving the template, use the Template action menu to view the Template Details. Note the Template ID. This will be used in step 3.
See the User Guide for more information on creating Templates.
Form Creation and Upload
The SnapSign API uses the concept of Resumable Uploads to allow API users to specify both metadata and binary content for a form, such as a PDF. Using the Form Create endpoint, the metadata is stored first and a form Id is generated.
Form Create
Then the HTTP response of the Form Create API contains a Location
header with a URL for the binary upload endpoint. It also will contain the generated Form Id and a form status of CREATED
.
POST /forms/upload HTTP/1.1
Content-Type: application/json
Content-Length: 46
Host: api.gosnapsign.com
{
"name" : "MyForm",
"mime_type" : "PDF"
}
HTTP/1.1 201 Created
Location: https://api.gosnapsign.com/forms/upload/123456789
Content-Type: application/json
Content-Length: 267
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "MyForm",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "CREATED"
}
Name | Description |
---|---|
|
The url to use to upload the binary data for this newly created form. |
Using the provided Location
url, call the Form Upload endpoint with a standard multi part request.
Form Upload
POST /forms/upload/123456789 HTTP/1.1
Content-Type: multipart/form-data; boundary=6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Host: api.gosnapsign.com
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm
Content-Disposition: form-data; name=file; filename=filename.pdf
Content-Type: application/pdf
some content
--6o2knFse3p53ty9dmcQvWAIx1zInP11uCfbm--
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 269
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "My Form",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "UPLOADED"
}
Note: The authentication tokens must be passed in the headers for both the Form Creation API and the Form Upload API and they must match.
The HTTP response will contain a form status of UPLOADED
and will initiate the form processing service.
Form Processing
Once the form is uploaded, it is submitted to SnapSign form processing service. Form processing can include tasks such as virus scan. While the form is being processed, its status will change to PROCESSING
. Form processing is an asynchronous process and can take several seconds to complete, depending on file size, number of pages in the form and graphic intensity of the file.
Use the Form endpoint, to retrieve the form status while it is being processed. To void hitting the throttle limit, checking every few seconds is the official recommendation. Once the status is changed to PROCESSED
, the form is ready to be merged into a template.
GET /forms/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 271
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "My Form",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "PROCESSING"
}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 270
{
"url" : "https://api.gosnapsign.com/forms/123456789",
"name" : "My Form",
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/123456789"
} ],
"id" : "123456789",
"mime_type" : "PDF",
"status" : "PROCESSED"
}
Send Document
With the Template Id from step 1 and the Form Id from step 2, use the Send Document with Template endpoint to merge the form into the template. Three fields in the Send Document with Template request dictate file merge behavior.
Field | Description |
---|---|
|
An array of form ids to merge into the template, derived from the form creation and upload endoints above. |
|
A rule indicator of how the form should be merged into the template. Valid values are |
|
A rule indicator of how the existing tags on the template will be applied to the forms listed . Valid values are |
POST /documents/template HTTP/1.1
Content-Type: application/json
Content-Length: 909
Host: api.gosnapsign.com
{
"title" : "My Document",
"message" : "Please review and sign this document",
"sender" : {
"url" : "/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"profile" : null,
"participants" : [ {
"id" : "456",
"email" : "bob@example.com",
"role" : "Employee",
"first_name" : "Bob",
"last_name" : "Simpson",
"host_id" : null,
"host_email" : null,
"message_directive" : null,
"message_config" : null
} ],
"properties" : [ {
"name" : "foo",
"value" : "bar"
} ],
"external_key" : "MyBusinessKey",
"template_id" : "Template1234",
"additional_form_ids" : [ "123456789" ],
"apply_forms_to_template_rule" : "REPLACE_FIRST",
"apply_tags_to_form_rule" : "ALL_PAGES",
"expiration_date" : null,
"due_date" : null,
"reminder_days" : null,
"reminder_recurrence_days" : null
}
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 647
{
"sender" : {
"url" : "https://api.gosnapsign.com/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"status" : "CREATED",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/567890"
}, {
"rel" : "sender",
"href" : "https://api.gosnapsign.com/users"
}, {
"rel" : "initiator",
"href" : "https://api.gosnapsign.com/users"
}, {
"rel" : "employee",
"href" : "https://api.gosnapsign.com/users/456"
} ],
"document_id" : "567890",
"initiator_id" : null,
"created_date" : null,
"external_key" : null
}
Directive | Description |
---|---|
|
Default directive. Do not apply forms to templates. The form Ids specified in |
|
Replace only the first form in the template with the first form Ids specified in |
|
Replace all the forms in the template with the specified forms, one for one. That is, the first form Id will replace the first form in the template. The second form Id will replace the second form in the template, etc. |
Directive | Description |
---|---|
|
Default directive. Do not apply copy tags to specified forms. |
|
Copy all tags on all pages to the corresponding page of the specified forms. |
Document Send Processing
Once the document is sent, it is submitted to SnapSign document processing service. Document processing can include tasks such notifying participants and assigning workflow. While the document is being processed, its status will change to PENDING
. Document processing is an asynchronous process and can take several seconds to complete.
Use the Document Status endpoint, to retrieve the document status while it is being processed. To void hitting the throttle limit, checking every few seconds is the official recommendation. Once the status is changed to SENT
, the document has on its way to the participants and no further action is required.
GET /documents/status/123456789 HTTP/1.1
Content-Type: application/json
Host: api.gosnapsign.com
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 253
{
"status" : "PENDING",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/status/123456789"
}, {
"rel" : "document",
"href" : "https://api.gosnapsign.com/documents/123456789"
} ],
"id" : "123456789"
}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 250
{
"status" : "SENT",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/status/123456789"
}, {
"rel" : "document",
"href" : "https://api.gosnapsign.com/documents/123456789"
} ],
"id" : "123456789"
}
Additional Information
Webhook Callbacks
SnapSign will POST events back to your application via your configured webhook callback URL.
All document events, across the document lifecycle, are posted to your webhook callback URL. This would include events such as when a document has been signed and is completed.
Webhook Callback Response Format
SnapSign events that are posted to your callback URL will be formatted as a JSON string. SnapSign accepts a response from your callback URL with a content type of application/json
.
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2079
{
"id" : "event1234",
"type" : "document.rejected",
"data" : {
"url" : "https://api.gosnapsign.com/documents/123456789",
"title" : "My Document",
"message" : "Please review and sign this document",
"sender" : {
"url" : "https://api.gosnapsign.com/users/1",
"email" : "sender@example.com",
"id" : "1",
"first_name" : "Alice",
"last_name" : "Ramey"
},
"participants" : [ {
"url" : "https://api.gosnapsign.com/users/456",
"order" : 100,
"email" : "bob@example.com",
"action" : "SIGN",
"role" : "Employee",
"hosted" : false,
"id" : "456",
"first_name" : "Bob",
"last_name" : "Simpson",
"opened_document" : false
} ],
"priority" : "LOW",
"status" : "REJECTED",
"properties" : [ {
"name" : "foo",
"value" : "bar"
} ],
"forms" : [ {
"url" : "https://api.gosnapsign.com/forms/form-12345",
"name" : null,
"fields" : [ ],
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/forms/form-12345"
} ],
"id" : "form-12345",
"mime_type" : null,
"status" : "CREATED"
} ],
"attachments" : [ ],
"comment" : "Please provide more information.",
"links" : [ {
"rel" : "self",
"href" : "https://api.gosnapsign.com/documents/123456789"
}, {
"rel" : "sender",
"href" : "https://api.gosnapsign.com/users/1"
}, {
"rel" : "initiator",
"href" : "https://api.gosnapsign.com/users/1001"
}, {
"rel" : "template",
"href" : "https://api.gosnapsign.com/templates/12345Template"
} ],
"id" : "123456789",
"initiator_id" : "1001",
"template_id" : "12345Template",
"created_date" : 1732283011997,
"outstanding_participants" : [ ],
"sent_date" : 1525366598099,
"completed_date" : 1525366598113,
"expiration_date" : null,
"due_date" : null,
"reminder_days" : 0,
"external_key" : "MyBusinessKey"
},
"created_date" : 1525366598113,
"api_version" : "2018.1"
}
Path | Type | Description |
---|---|---|
|
|
The id of the webhook event. |
|
|
The type of the webhook event. |
|
|
The version of the payload of the event. |
|
|
The date the event was created. Measured in milliseconds since the Unix epoch. |
|
|
The payload data. For document-based events, the payload is a document resource that might be returned from Get Document. Additionally, for |
Sender
Path | Type | Description |
---|---|---|
|
|
The first name of the sender. |
|
|
The last name of the sender. |
|
|
The email of the sender. |
|
|
The id of the sender. |
Participant
Path | Type | Description |
---|---|---|
|
|
The id of the participant in SnapSign. |
|
|
The first name of the participant. |
|
|
The last name of the participant. |
|
|
The email of the participant. |
|
|
The action of the participant in the document. Refer to Actions for more information. |
|
|
The order of the participant in the interactions with the document. Lower orders go first. |
|
|
The role of the participant in the document. This is mapped to the document template definition, if applicable. May be null. |
|
|
A flag indicating if the participant has opened the document at least once. |
Action | Description |
---|---|
|
The participant is assigned to fill in fields and sign the document. |
|
The participant is assigned to approve or reject the document. |
|
The participant is a reviewer of the document. |
Field | Description |
---|---|
|
Directs SnapSign to send all application messages to the participant for the lifecycle of the document. |
|
Directs SnapSign to send no application messages to the participant for the lifecycle of the document. |
|
Directs SnapSign to send a specific subset of messages to the participant for the lifecycle of the document. If the message directive is set to |
Path | Type | Description | Constraints |
---|---|---|---|
invited |
Boolean |
Specifies to send the document invitation. Defaults to |
|
assigned |
Boolean |
Specifies to send the document is now assigned. Defaults to |
|
commented |
Boolean |
Specifies to send the document commented message. Defaults to |
|
reassigned |
Boolean |
Specifies to send the document is reassigned message. Defaults to |
|
approved |
Boolean |
Specifies to send the document is approved message. Defaults to |
|
rejected |
Boolean |
Specifies to send the document is rejected message. Defaults to |
|
resent_link |
Boolean |
Specifies to send the document link message. Defaults to |
|
deleted |
Boolean |
Specifies to send the document deleted message. Defaults to |
|
completed |
Boolean |
Specifies to send the document completed. Defaults to |
|
past_due |
Boolean |
Specifies to send the document is past due message. Defaults to |
|
expired_reminder |
Boolean |
Specifies to send the document will expire soon message. Defaults to |
|
expired |
Boolean |
Specifies to send the document is expired message. Defaults to |
|
manual_reminder |
Boolean |
Specifies to send the document reminder message. Defaults to |
|
reminder |
Boolean |
Specifies to send the automated document reminder message. Defaults to |
Template Summary Form
Path | Type | Description |
---|---|---|
|
|
The id of the form. |
|
|
The name of the form. |
|
|
The mime-type of the form. |
|
|
The links associated with this form. |
Template Form
Path | Type | Description |
---|---|---|
|
|
The id of the form. |
|
|
The name of the form. |
|
|
The mime-type of the form. |
|
|
The list of fields associated with this form. |
|
|
The unique identifier of this field, as determined by the Sender, for addressing during integrations. |
|
|
The unique identifier of this field |
|
|
The role of the participant assigned to the field, if applicable. |
|
|
The label of the field. |
|
|
The data type of the value of the field. Refer to Field Data Type for more information. |
|
|
The page number of the form on which the field resides. Starts with |
|
|
The internal ids of an external system fields or properties which defines the default formulaic value of this field, if any. |
|
|
The default value of this field. |
|
|
The links associated with this form. |
Attachment
Path | Type | Description |
---|---|---|
|
|
The id of the attachment. |
|
|
The name of the attachment. |
|
|
The mime-type of the attachment. |
|
|
Indicates the attachment is required. |
|
|
Indicates the attachment was uploaded by the signer and not requested by the sender. |
|
|
The id of the participant assigned to the attachment. |
|
|
The id of the field tag associaed with the attachment. |
|
|
The date the attachment was uploaded. |
|
|
The links associated with this attachment. |
Relation | Description |
---|---|
|
Link to the attachment resource. |
|
Link to the assignee of the attachment. |
|
Link to download the attachment. |
Constants
Type | Description |
---|---|
|
The value of the field is a String. |
|
The value of the field is a number. |
|
The value of the field is a date. |
|
The value of the field is a time of milliseconds from the start of day. |
|
The value of the field is a file attachment. |
|
The value of the field is a date plus time. |
|
The value of the field is a boolean, true or false. |
|
The value of the field is a number with a decimal point. |
|
The value of the field is a currency |
|
The value of the field is a social security number. |
Status code | Usage |
---|---|
|
The document has been created and is pending initialization. |
|
The document is initializing prior to being sent. |
|
The document has been sent and are waiting on signatures from participants. |
|
The document contain all the required signatures from participants and are finalizing. |
|
The document are final and are ready for download and review. |
|
The document are currently suspended in their processing. |
|
The document have been deleted by an authenticated user. |
|
The document have been rejected by an authenticated user. |
|
The document is in error and cannot be completed. |
Mime Type | Usage |
---|---|
|
A binary representing the |
|
A binary representing the |
|
A binary representing the |
Status code | Usage |
---|---|
|
The form has been created and is pending upload. |
|
The form has been uploaded and has been submitted for processing by SnapSign. |
|
The form is being processed by SnapSign. Processing may include some tasks such as virus scan and conversion for HTML-based presentation. |
|
The form has been processed and is available to be added to a document or a template. |
|
The form is being modified by a Sender prior to being sent in a document.. |
|
The form has been sent out with a document for signature. |
|
The form has been completed and finalized. |
|
The form is in error and cannot be completed. |