---
title: "List the invitations"
method: GET
path: "/providers/Microsoft.DataShare/listInvitations"
tags: ["ConsumerInvitation"]
---

# List the invitations

`GET /providers/Microsoft.DataShare/listInvitations`

Lists invitations

## Query parameters

- `api-version` string, required
- `$skipToken` string

## Response `200`

Success

- ConsumerInvitationList — List response for get InvitationList
  - `nextLink` string — The Url of next result page.
  - `value` ConsumerInvitation[], required — Collection of items of type DataTransferObjects.
    - `id` string — The resource id of the azure resource
    - `name` string — Name of the azure resource
    - `type` string — Type of the azure resource

## Other responses

- `default` — An error response received from the Microsoft.DataShare resource provider.

---

[API](https://skmtc.net/azure/apis/datasharemanagementclient.md) · [All operations](https://skmtc.net/azure/apis/datasharemanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datasharemanagementclient/versions/121238d8f58e/schema)
