Pause LinkedIn drafting or publishing

Pause automatic drafting (preparation_enabled false), publishing (publishing_paused true), or both. Pausing publishing holds approved changes and cancels nothing. Turning either back on is a person's switch in the app.

POSThttps://app.trygtm.com/api/v1/linkedin/profiles/{profile_id}/pause
Scope
write

Path parameters

profile_idstringrequired
The managed profile's id, from list_linkedin_profiles.

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

preparation_enabledfalseoptional
false pauses automatic drafting.
publishing_pausedtrueoptional
true pauses publishing.

Request

curl -X POST https://app.trygtm.com/api/v1/linkedin/profiles/8f2a91c4-6d1e-4c0a-9a57-2f3b1c7e9d10/pause \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Response

{
  "data": {
    "switches": {
      "preparation_enabled": false,
      "publishing_paused": true
    },
    "profile_path": "/linkedin/6b1f2e3d-4c5a-4b6c-8d7e-9f0a1b2c3d4e"
  }
}

Was this page helpful?