Dayli Docs

List the authenticated owner's trashed posts

GET
/api/v1/posts/trash

Authorization

AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/posts/trash"
{  "posts": [    {      "id": "post_01K4Y6P8K2",      "localDate": "2026-09-10",      "trashedAt": "2026-09-09T12:00:00Z",      "restoreUntil": "2026-09-09T12:00:00Z",      "purgeDueAt": "2026-09-09T12:00:00Z",      "generation": 0,      "pendingCleanup": true,      "failureCategory": "string"    }  ]}