Skip to Content
Configuration

Read how long deleted posts stay in the trash

GET
/api/settings/trash

Authorization

headerAuthorizationBearer <Postdot API key>

A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.

Response Body

Response for status 200

application/json
  1. response
postRetentionDays*integer
Range1 <= value <= 3650
Example Request
curl -X GET 'https://postdot.example/api/settings/trash'
Example Response
{
  "postRetentionDays": 1
}

Was this page helpful?