Dynamo Developer DocsDynamo Developer Docs

Export a post's stored comments to CSV

Export all of a post's **stored** comments (Firestore — same source as the in-app exporter, not a live Meta fetch) to a CSV uploaded to Storage, and return `{ totalCount, csvUrl }`. The storage filename is deterministic (`comments_<postId>.csv`) so re-exports overwrite rather than pile up. When there are no stored comments, `csvUrl` is `null` and `totalCount` is `0`. `mediumId` is **required**.

GET/posts/{postId}/comments/export

Authorization

x-api-key x-date x-signature
x-api-key<token>

Your API key (the ApiKeys document id).

In: header

x-date<token>

Current timestamp in ISO-8601 (must be fresh — within −5s..+60s of server time).

In: header

x-signature<token>

HMAC-SHA256 of the x-date string keyed by your secret, lowercase hex.

In: header

Path Parameters

postId*string

The published post id.

Query Parameters

mediumId*string

The channel id (from GET /channels).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/posts/string/comments/export?mediumId=string"
{  "totalCount": 0,  "csvUrl": "string"}
{  "message": "string"}
{  "message": "string"}
{  "message": "string"}
{  "error": [    {      "message": "string",      "path": [        "string"      ],      "type": "string",      "context": {}    }  ]}
{  "message": "string"}