Change how long deleted posts stay in the trash
Sets the number of days a deleted post stays in the trash before it is deleted forever, for every project. A shorter period applies at once to posts already in the trash.
AuthorizationBearer <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.
- body
postRetentionDays*integer1 <= value <= 3650Response for status 200
application/json- response
postRetentionDays*integer1 <= value <= 3650curl -X PUT 'https://postdot.example/api/settings/trash' \
-H 'Content-Type: application/json' \
-d '{
"postRetentionDays": 1
}'{
"postRetentionDays": 1
}Was this page helpful?
Save the dictation settings: transcription provider, model and recording limit PUT
The provider must offer an OpenAI-compatible `/audio/transcriptions` endpoint. Omit `apiKey` to keep the stored key; send `null` to remove it. Postdot keeps no audio after a transcription.
Check that a provider connection answers, without saving POST
Sends one short request to the given provider and model. Pass `connectionId` and omit `apiKey` to test with that connection’s stored key while its provider type and server origin stay unchanged.