> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# GetFeedbackSession

# Package: feedback

# Namespace: FeedbackSessions

# Method link: https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/feedback-session-v1/get-feedback-session.md

## Permission Scopes:
Read Site Feedback: SCOPE.PARTNERS.FEEDBACK_READ

## Introduction

Retrieves a feedback session.

To get the URL to share with reviewers, set `fields` to `SHARE_URL`.

---

## REST API

### Schema

```
 Method: getFeedbackSession
 Description: Retrieves a feedback session.  To get the URL to share with reviewers, set `fields` to `SHARE_URL`.
 URL: https://www.wixapis.com/partners/feedback/v1/feedback-sessions/{feedbackSessionId}
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  feedbackSessionId
 Method parameters: 
   param name: feedbackSessionId | type:   none | required: true 
   query param name: fields | type: array<fields> | description: Additional fields to return in the response.  | validation: maxItems 1
                 - enum:
                 -     SHARE_URL: Returns `shareUrl`.
 Return type: GetFeedbackSessionResponse
  - name: feedbackSession | type: FeedbackSession | description: Retrieved feedback session.  
     - name: id | type: string | description: Feedback session GUID.  | read-only: true | validation: format GUID
     - name: revision | type: string | description: Revision number of the feedback session.  A feedback session can't be updated once created. Ignored when creating a feedback session.  | read-only: true | validation: format int64
     - name: createdDate | type: string | description: Date and time the feedback session was created.  | read-only: true | validation: format date-time
     - name: expirationDate | type: string | description: Date and time after which the feedback session stops accepting new comments.  Comments already left through the session stay readable, and can still be triaged and replied to. Can be set only when creating the feedback session.  Default: 14 days after creation  | validation: format date-time
     - name: shareUrl | type: string | description: URL to share with reviewers. Anyone with the URL can review the site and leave comments through the feedback session.  Returned only when the request's `fields` includes `SHARE_URL`. Always returned by Create Feedback Session when requested. Other methods don't return it while the site has no URL, or when the site's URL can't be retrieved. To retry, call [Get Feedback Session](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/feedback-session-v1/get-feedback-session.md) with `fields` set to `SHARE_URL`.  | read-only: true | validation: format WEB_URL


```

### Examples

### Get Feedback Session
Retrieves a feedback session with the URL to share with reviewers

```curl
curl -X GET \
'https://www.wixapis.com/partners/feedback/v1/feedback-sessions/8046df3c-7575-4098-a5ab-c91ad8f33c47?fields=SHARE_URL' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.feedback.feedbackSessions.getFeedbackSession(feedbackSessionId, options)
 Description: Retrieves a feedback session.  To get the URL to share with reviewers, set `fields` to `SHARE_URL`.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  feedbackSessionId
 Method parameters: 
   param name: feedbackSessionId | type: string | description: GUID of the feedback session to retrieve. | required: true | validation: format GUID
   param name: options | type: GetFeedbackSessionOptions  none  
        - name: fields | type: array<RequestedFields> | description: Additional fields to return in the response.  | validation: maxItems 1
             - enum:
             -     SHARE_URL: Returns `shareUrl`.
 Return type: PROMISE<FeedbackSession>
  - name: _id | type: string | description: Feedback session GUID.  | read-only: true | validation: format GUID
  - name: revision | type: string | description: Revision number of the feedback session.  A feedback session can't be updated once created. Ignored when creating a feedback session.  | read-only: true | validation: format int64
  - name: _createdDate | type: Date | description: Date and time the feedback session was created.  | read-only: true 
  - name: expirationDate | type: Date | description: Date and time after which the feedback session stops accepting new comments.  Comments already left through the session stay readable, and can still be triaged and replied to. Can be set only when creating the feedback session.  Default: 14 days after creation  
  - name: shareUrl | type: string | description: URL to share with reviewers. Anyone with the URL can review the site and leave comments through the feedback session.  Returned only when the request's `fields` includes `SHARE_URL`. Always returned by Create Feedback Session when requested. Other methods don't return it while the site has no URL, or when the site's URL can't be retrieved. To retry, call [Get Feedback Session](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/feedback/feedback-session-v1/get-feedback-session.md) with `fields` set to `SHARE_URL`.  | read-only: true | validation: format WEB_URL


```

### Examples

### Get a feedback session
Retrieves a feedback session with the URL to share with reviewers

```javascript
import { feedbackSessions } from "@wix/feedback";

async function getFeedbackSession() {
  const response = await feedbackSessions.getFeedbackSession(
    "8046df3c-7575-4098-a5ab-c91ad8f33c47",
    {
      fields: ["SHARE_URL"],
    },
  );
}

/* Promise resolves to:
 * {
 *   "_id": "8046df3c-7575-4098-a5ab-c91ad8f33c47",
 *   "revision": "1",
 *   "_createdDate": "2026-09-28T09:12:10.299Z",
 *   "expirationDate": "2026-10-12T00:00:00.000Z",
 *   "shareUrl": "https://www.lumen-studio.com/__partners-feedback/client/8046df3c-7575-4098-a5ab-c91ad8f33c47"
 * }
 */

```

### getFeedbackSession (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { feedbackSessions } from '@wix/feedback';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { feedbackSessions },
  // Include the auth strategy and host as relevant
});


async function getFeedbackSession(feedbackSessionId,options) {
  const response = await myWixClient.feedbackSessions.getFeedbackSession(feedbackSessionId,options);
};
```

---