TweetsmashDocs
LoginDashboard
Getting Started
Getting Started
For AI agents
OverviewConnect your agentAgent Skills
MCP
MCP Integration
Bookmarks
GETFetch Saved PostsGETGet a Bookmark (full content)
Labels
GETManage LabelsPOSTAdd Labels to TweetsPOSTRemove Labels from TweetsPOSTAdd Labels by Filter (bulk)
Smart Views
GETList Smart ViewsGETGet / Update / Delete a Smart ViewGETGet Smart View Bookmarks
Exports
POSTExport Bookmarks (PDF / CSV / JSON)
Memory
GETMemories (remember / recall / forget)
Integrations
n8n IntegrationWebhook Integration
API Docs/Core API/Export Bookmarks (PDF / CSV / JSON)
Endpoint

Export Bookmarks (PDF / CSV / JSON)

Start an export job. POST to /v1/exports/pdf, /v1/exports/csv, or /v1/exports/json with an explicit `tweet_ids` array, a filter (search_query/filter/value), or nothing (the whole library). Returns a job id; the file appears in the Export Center at the returned `page`.

POSThttps://api.tweetsmash.com/v1/exports/pdf

Header Parameters

Body Parameters

Response

{
  "status": true,
  "data": {
    "job_id": "b3a...",
    "count": 42,
    "total": 42,
    "sampled": false,
    "page": "/integrations/export/pdf"
  },
  "meta": {
    "message": "PDF export started — check the Export Center for the file."
  }
}