• Features
  • Pricing
Get Started

OverviewList DocumentsCreate DocumentGet DocumentUpdate DocumentTrash DocumentRestore DocumentDelete PermanentlyDuplicate Document

Documents

POST /v1/documents/{documentId}/restore

Restore a previously trashed document.

POST /v1/documents/{documentId}/restore restores a document from the trash.

Authentication

Send an organization API key in x-api-key or Authorization: Bearer <key>.

Path Parameters

NameTypeDescription
documentIdstring (uuid)UUID of the document to restore.

Example

curl -X POST "https://api.blueputto.com/v1/documents/DOCUMENT_ID/restore" \
  -H "x-api-key: YOUR_API_KEY"

Success Response

200 OK

{
  "data": {}
}

Error Responses

  • 400 Bad Request
  • 401 Unauthorized
  • 404 Not Found
  • 429 Too Many Requests

DELETE /v1/documents/{documentId}

Move a document to the trash without permanently deleting it.

DELETE /v1/documents/{documentId}/permanent

Permanently delete a document.

On this page

AuthenticationPath ParametersExampleSuccess ResponseError Responses