Skip to Content
Media

Read the automatic video retention setting for a project

GET
/api/projects/{projectId}/media/retention

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.

Path Parameters

projectId*string
Length1 <= length

Response Body

Response for status 200

application/json
  1. response
videoRetentionDays*|null
defaultRetentionDays*integer
Range1 <= value <= 3650
Example Request
curl -X GET 'https://postdot.example/api/projects/string/media/retention'
Example Response
{
  "videoRetentionDays": 1,
  "defaultRetentionDays": 1
}

Was this page helpful?