Sparky Sign API

Documents sent for signature and where each signer is. Sending, signing and voiding stay in the app.

Address
https://sign.sparkyli.com/api/v1
Plan
Plus and Max, with API access switched on for the organization

Endpoints

GET /documents

Documents, newest first.

Your own, unless your role manages all documents.

Inputs

NameTypeWhat it is
statusdraft, sent, viewed, signed, completed, declined or expiredOnly documents in this state.
limit, offsetwhole numbersPaging: limit 1 to 100 (default 50); offset from next_offset.

Answer: documents (a list) and next_offset

NameTypeWhat it is
id, titletext
statusdraft, sent, viewed, signed, completed, declined or expiredWhere the document is.
approval_statusnot_required, pending, approved or rejectedWhether a team approval was needed before sending.
tagtext or nullA free-text label.
created_at, sent_at, completed_at, expires_attext or nullUTC time.
closed_reasontext or nullWhy it can no longer be signed: voided or expired.

GET /documents/{id}

One document with its signers and each signer's progress. Never the signing links, signatures or devices.

Inputs

NameTypeWhat it is
id*textThe document's id.

Answer: document

NameTypeWhat it is
(all the list fields, and these)
closed_notetext or nullA note left when the document was closed.
signerslistIn signing order: name, email, order_index (from 0), status (pending, viewed, signed or declined), viewed_at, signed_at and decline_reason.

Errors (besides the common ones)

  • 404 not_found: No such document, or it is not yours to see.

Example

curl -s -H "authorization: Bearer $TOKEN" "https://sign.sparkyli.com/api/v1/documents?status=sent"

New here? Start with the three things first, then sign in. Errors are explained under errors and limits.