---
title: "Withdraw one sent invitation, now"
method: POST
path: "/v1/actions/withdraw_invitation"
tags: ["Network"]
---

# Withdraw one sent invitation, now

`POST /v1/actions/withdraw_invitation`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/withdraw_invitation`
- Auth: HTTP bearer

Take back one invitation you sent that is still unanswered, now.

It cannot be undone.

An invitation LinkedIn no longer has (accepted, declined or already withdrawn) answers invitation_not_found.

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

## Request body

- object
  - `invitationId` string, required: The sent invitation to take back (from list_sent_invitations, or returned by send_invitation).
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: withdrawn, invitationId, from, usedToday, dailyLimit.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
