post
https://example.com/api/v1/contracts/templates//unarchive
Unarchive contract template
Restores an archived template so it can be used again. Returns 404 if
the template does not exist and 400 if it is not archived.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Restore an archived contract template so it can be used to send contracts again. It returns to the default template list, and contract flows built on it can send again (unless the flow itself is archived).
Authentication & access
- Requires a client API token:
Authorization: Bearer <token>. - API credentials need the
contracts.templates.archivepermission. Dashboard users need the OWNER or OPERATIONS role, or a custom role that includes this permission. - Contract signing must be enabled for the client. If it is disabled the request returns
403.
Path parameters
| Parameter | Description |
|---|---|
template_version_id | ID of the archived template to restore. Must belong to your client. |
Response
200 - The updated template, with status set back to published.
Error responses
| Status | When |
|---|---|
400 | The template is not archived |
403 | Contract signing is disabled for the client |
404 | No template with this template_version_id exists under your client |
Standard 401 (authentication), 403 (insufficient permission or role), and 429 (rate limit) responses apply to every endpoint and are documented in the Error reference.