# Get Workflow Sharing

> Get the public sharing state and links for a workflow

- **URL**: https://orshot.com/docs/api-reference/workflow-sharing-get

---

## Overview

Returns the current public sharing state of a workflow, including the public page and embed links.```markdown tab="Endpoint"
https://api.orshot.com/v1/workflows/:id/share
```## Path Parameters

| Parameter | Type    | Required | Description                   |
| --------- | ------- | -------- | ----------------------------- |
| `id`      | Integer | Yes      | The unique ID of the workflow |

## Request```js
await fetch("https://api.orshot.com/v1/workflows/83/share", {
  method: "GET",
  headers: {
    Authorization: "Bearer <ORSHOT_API_KEY>",
  },
});
```</Tab>```json
{
  "enabled": true,
  "slug": "Xk2mPq9zLb4R",
  "includeTemplate": true,
  "url": "https://orshot.com/workflows/shared/Xk2mPq9zLb4R",
  "embed_url": "https://orshot.com/workflows/shared/Xk2mPq9zLb4R/embed"
}
```</Tab>
</Tabs>

When sharing is disabled, `enabled` is `false` and the link fields are `null`.

## Response Fields

| Field             | Type    | Description                                                                 |
| ----------------- | ------- | --------------------------------------------------------------------------- |
| `enabled`         | Boolean | Whether the workflow is publicly shared                                      |
| `slug`            | String  | The share slug (kept even while sharing is off, so links stay stable)        |
| `includeTemplate` | Boolean | Whether people who copy the shared workflow also get its template            |
| `url`             | String  | Public page link (`null` when sharing is off)                                |
| `embed_url`       | String  | Embeddable page link (`null` when sharing is off)                            |

## Error Responses

### Workflow Not Found (404)```json
{
  "error": "Not found"
}
```## Rate Limits

- 60 requests per minute per workspace