Leads

Follow, like or repost as a connected account

Changed on

One write as a connected X account: follow a profile URL or @handle, or like/repost a post URL. Never sends a DM or writes a post. Each successful write is one activity row and one Energy charge on metered workspaces (402 when exhausted). Requires the X channel; 409 x_not_connected when the account is not connected.

post/x/actions

Request

  • Base URL
    https://app.pumpgtm.com/api/v1
  • Auth
    HTTP bearer

Headers

X-PumpGTM-Clientstring uuid

Optional authorized Team workspace ID from GET /workspaces. Omit to use the key's home workspace.

X-PumpGTM-Userstring

Enterprise partners: act on one end user's workspace using the partner key (a workspace or Team owner key; a personal key gets 403 partner_key_required). Requires the outreach capability on the partner account (403 enterprise_required otherwise); the user must exist and be active (404 user_not_found, 403 user_disabled). Never send it together with X-PumpGTM-Client (400 invalid_request). Omit to use the key's own workspace, unless the partner account has rest.requireUserHeader on (PATCH /api/partner/v1/account): then any /api/v1 request without it is 400 user_header_required and nothing runs.

Request body

action'follow' | 'like' | 'repost' required
targetstring required

Profile URL or @handle for follow; post URL for like and repost.

asstring

Connected account to act as; defaults to the workspace's account.

Response

Successful response. Read outcome fields; success does not imply delivery.

actionstring required
asstring required
usernamestring
postIdstring
doneunknown required

Changes

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      endpoint added