Templates
List templates
Every template you have saved, most recently updated first.
Templates come without their fields here; get a template for those. A document uploaded once with a pact is not a template and is not listed.
Authorization
AuthorizationstringheaderrequiredBearer followed by your API key: Bearer sgk_…. The key also works in an X-Api-Key header. See Authentication.Response
200 OKA list. There is no paging: every template comes back.
dataarray of objectsThe templates, without
fields.ShowHide template attributes
uidstringThe template's id: 8 letters and digits.
namestringYour name for it (150 characters at most). Defaults to the file name.
source_namestringThe uploaded file's name.
source_typestringWhat was uploaded. Word documents are converted to PDF on upload.
One of
pdf docxpage_countintegerPages in the document.
signer_countintegerSigners the glyphs call for: the highest glyph number.
field_countintegerFields found in the document.
date_createdstring (date-time)When it was uploaded.
date_updatedstring (date-time)When it last changed.
totalintegerHow many there are.
Errors
| Status | When |
|---|---|
| 401 Unauthorized | The API key is missing, wrong or revoked. |
| 403 Forbidden | The account's plan does not include API access (Pro and Business do). |
Every error body is { "error": "message" }. See Errors.