List LinkedIn drafts

A profile's recommendations and post drafts, most recently changed first, each with its state, current version, checks and review_path. Filter by kinds and states.

GEThttps://app.trygtm.com/api/v1/linkedin/profiles/{profile_id}/drafts
Scope
read

Path parameters

profile_idstringrequired
The managed profile's id, from list_linkedin_profiles.

Query parameters

kindsstring[]optional
Only these kinds of change.headlineaboutskillsfeatured_addfeatured_removefeatured_reorderpost_createpost_editpost_delete
statesstring[]optional
Only drafts in these states, e.g. needs_review.
limitintegeroptionaldefault: 20
Rows per page, 1 to 50.
cursorstringoptional
Opaque cursor from the previous page's nextCursor. Omit for the first page. Keep every other argument the same while paging.

Request

curl -G https://app.trygtm.com/api/v1/linkedin/profiles/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/drafts \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  --data-urlencode "limit=25"

Response

{
  "data": [
    {
      "id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
      "profile_id": "6b1f2e3d-4c5a-4b6c-8d7e-9f0a1b2c3d4e",
      "kind": "post_create",
      "state": "needs_review",
      "state_reason": null,
      "origin": "agent",
      "target_post_id": null,
      "published_post_id": null,
      "current_revision_id": "8e9f0a1b-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
      "updated_at": "2026-09-28T15:04:00.000Z",
      "created_at": "2026-09-28T15:02:00.000Z",
      "revision": {
        "id": "8e9f0a1b-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
        "version": 1,
        "payload": {
          "kind": "post_create",
          "text": "Three things we changed after our first 40 onboarding calls.",
          "visibility": "anyone",
          "comments": "anyone",
          "links": [],
          "attachments": []
        },
        "payload_hash": "5f0c1e0b6a4d9e2f7c3b8a1d0e9f8c7b6a5d4e3f2c1b0a9f8e7d6c5b4a3f2e1d",
        "approvable": true,
        "blocking_reason": null,
        "rationale": "A practical lesson from onboarding, tied to the product's setup flow.",
        "scheduled_for": "2026-09-30T14:00:00.000Z",
        "timezone": "America/Chicago",
        "issues": [],
        "claims": [
          {
            "text": "We ran 40 onboarding calls this quarter.",
            "type": "firsthand",
            "source_ids": [
              "4a5b6c7d-8e9f-4a0b-9c1d-2e3f4a5b6c7d"
            ],
            "valid_until": null
          }
        ],
        "evidence": [
          {
            "source_id": "4a5b6c7d-8e9f-4a0b-9c1d-2e3f4a5b6c7d",
            "content_hash": "9d8c7b6a5f4e3d2c1b0a9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c"
          }
        ],
        "author_kind": "agent",
        "created_at": "2026-09-28T15:04:00.000Z"
      },
      "review_path": "/linkedin/review/2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a"
    }
  ],
  "next_cursor": "WyIyMDI2LTA5LTAyVDA5OjQxOjAyLjAwMFoiLCI4ZjJhOTFjNC02ZDFlLTRjMGEtOWE1Ny0yZjNiMWM3ZTlkMTAiXQ"
}

Was this page helpful?