Templates
List templates
List the templates of a workspace.
The status field of a template is one of:
| Status | Description |
|---|---|
| uploading | The template is being uploaded. |
| uploaded | The template has been uploaded. |
| processing | The template is being processed. |
| ready | The template is ready to use. |
| failed | The template processing has failed. |
get/v1/accounts/{accountId}/templates
Request
- Base URLhttps://api.assinafy.com.br
- URLhttps://api.assinafy.com.br/v1/accounts/{accountId}/templates
- Auth
- HTTP bearer
- or API key in header X-Api-Key
Path parameters
accountIdstring required
Workspace account ID.
Query parameters
searchstring
Search term.
pageinteger
Example:1
Page number.
per-pageinteger
Example:25
Records per page (max 100).
Response
A page of templates (default_document_tags omitted in the list)
Example response
{
"status": 200,
"data": [
{
"resource": "template",
"id": "fa88b732db84d01427d4cdd1092",
"name": "template.pdf",
"status": "ready",
"pages": [
{
"number": 1,
"height": 2100,
"width": 1275
}
],
"roles": [
{
"name": "Editor",
"assignment_type": "Editor"
}
]
}
]
}Changes
No recorded changes to this operation across all 14 revisions of this API.