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
| Name | Type | Description |
|---|---|---|
documentId | string (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 Request401 Unauthorized404 Not Found429 Too Many Requests