Network

Withdraw sent invitations

Take back sent invitations that are still unanswered, in the background.

Same inputs and rules as preview_withdraw_invitations; run that first. To take back ONE invitation now, whoever sent it, use withdraw_invitation.

It queues the work and answers at once. tasks[].taskId is not a task id that get_send_status takes.

Calling it twice queues the same withdrawal twice.

Docs: https://heyreagent.com/docs/actions/withdraw_invitations

post/v1/actions/withdraw_invitations

Request

  • Base URL: https://api.heyreagent.com
  • URL: https://api.heyreagent.com/v1/actions/withdraw_invitations
  • Auth: HTTP bearer

Request body

campaignIdstring

ID of a specific campaign to withdraw invites for. Provide either campaignId OR linkedinConnectionId, not both.

linkedinConnectionIdstring

LinkedIn sender account ID. When provided (without campaignId), withdraws eligible invites across ALL campaigns using this account.

daysThresholdnumber

Only withdraw invites that have been pending for at least this many days (default: 7).

withdrawLimitnumber

Max number of profiles to withdraw per campaign run. Omit for no limit.

Response

It worked. Inside result: success, summary, tasks.

oktrue required
resultobject required

What was asked for. A field that does not apply is left out, or is null.

Changes

No recorded changes to this operation across all 1 revision of this API.