---
title: "Create a sent share invitation."
method: PUT
path: "/sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}"
tags: ["SentShareInvitation"]
---

# Create a sent share invitation.

`PUT /sentShares/{sentShareId}/sentShareInvitations/{sentShareInvitationId}`

Create a recipient for a given sent share

## Path parameters

- `sentShareId` string, required
- `sentShareInvitationId` string, required

## Query parameters

- `api-version` string, required

## Request body

- SentShareInvitation — Base data transfer object implementation for proxy resources.
  - `id` string — The unique id of the resource.
  - `type` string — Type of the resource.

## Response `201`

Success

- SentShareInvitation — Base data transfer object implementation for proxy resources.
  - `id` string — The unique id of the resource.
  - `type` string — Type of the resource.

## Other responses

- `default` — Default error response.

## Changes

- **2026-07-13** (2021-09-01-preview) `a1ebde565f2f` — 1 warning, 2 info
  - the optional response header `x-ms-error-code` removed for the status `default`
  - api operation id `SentShares_CreateInvitation` removed and replaced with `SentShareInvitations_CreateOrUpdate`
  - added the success response with the status `200`

[Change history](https://skmtc.dev/azure/apis/purview-share/changes/sentShares/:sentShareId/sentShareInvitations/:sentShareInvitationId/put.md)

---

[API](https://skmtc.dev/azure/apis/purview-share.md) · [All operations](https://skmtc.dev/azure/apis/purview-share/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/purview-share/revisions/79b396164f79?raw)
