Propose an edit or removal of a LinkedIn post
Propose new text for, or the removal of, one of the profile's own published posts. Nothing changes on LinkedIn until the owner approves it.
POST
https://app.trygtm.com/api/v1/linkedin/profiles/{profile_id}/posts/{post_id}/changes- Scope
write- MCP tool
- propose_linkedin_post_change
Path parameters
profile_idstringrequired- The managed profile's id, from list_linkedin_profiles.
post_idstringrequired- The post's id, from list_linkedin_posts.
Headers
Idempotency-Keystringoptional- A key unique to this write, up to 255 characters. A retry carrying the same key returns the first response instead of running again. Kept for 24 hours.
Body
actionstringrequired- edit proposes new text; delete proposes removing the post.
editdelete textstring | nulloptional- The new text. Required for edit.
Request
curl -X POST https://app.trygtm.com/api/v1/linkedin/profiles/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/posts/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/changes \
-H "Authorization: Bearer $TRYGTM_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"action": "send_email"
}'Response
{
"data": {
"item_id": "2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
"revision_id": "8e9f0a1b-2c3d-4e4f-8a5b-6c7d8e9f0a1b",
"review_path": "/linkedin/review/2d3e4f5a-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
"next": "Nothing is published or changed on LinkedIn until a person with LinkedIn access in the workspace approves the exact change on the LinkedIn screen, or the account's automatic posting (which a person turned on there) schedules a post it wrote."
}
}