Skip to Content
Saved templates

List a saved template's versions

Finalised versions, newest first, with how many envelopes each sent. A Draft that was never finalised has none.

GET
/api/v1/templates/{id}/versions

Finalised versions, newest first, with how many envelopes each sent. A Draft that was never finalised has none.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Workspace API key, e.g. "Authorization: Bearer aflo_live_<64 hex chars>". Keys are hashed at rest and shown only once at creation. A key has scopes: read (GET routes), draft (create or change documents, fields and templates) and send (send, void, remind and bulk send); a call outside them gets 403 insufficient_scope. A key may expire (401 api_key_expired). Keys made before scopes existed have full access.

Path Parameters

id*string

Saved template id (saved_templates[].template_id from GET /templates).

Response Body

Versions, newest first.

application/json
  1. response
success*boolean
data*
Example Request
curl -X GET 'https://appliflo.com/api/v1/templates/string/versions'
Example Response
{  "success": true,  "data": {    "versions": [      {        "version": 1,        "current": true,        "note": "string",        "field_count": 0,        "envelope_count": 0,        "created_at": "2019-08-24T14:15:22Z"      }    ]  }}