> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raydocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Invite Link

> Get the invitation link for manual sharing.

## Authentication & Scope

Requires the `workspace-users-read` ability.

## Request

```http theme={null}
GET /workspaces/1/invites/5/link HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
```

### Path Parameters

| Parameter     | Type    | Required | Description       |
| ------------- | ------- | -------- | ----------------- |
| `workspaceId` | integer | Yes      | The workspace ID  |
| `inviteId`    | integer | Yes      | The invitation ID |

## Response

`200 OK` – The invitation link.

```json theme={null}
{
  "link": "https://raydocs.com/invite/abc123xyz"
}
```

`404 Not Found` – Invitation not found.


## OpenAPI

````yaml get /workspaces/{workspaceId}/invites/{inviteId}/link
openapi: 3.0.1
info:
  title: Raydocs API
  description: REST API for document extraction with AI-powered data parsing
  version: 1.0.0
servers:
  - url: https://api.raydocs.com
security:
  - bearerAuth: []
tags:
  - name: Workspaces
    description: Create and manage workspaces.
  - name: Workspace Users
    description: Manage users within a workspace.
  - name: Extraction Templates
    description: Define extraction schemas and settings.
  - name: Extraction Sessions
    description: Manage extraction jobs and documents.
  - name: Batch Operations
    description: Bulk operations on sessions.
  - name: Documents
    description: Upload and manage source documents.
  - name: Workflows
    description: Discover workflow runs and read their public outputs.
  - name: Results
    description: Access extraction results.
paths:
  /workspaces/{workspaceId}/invites/{inviteId}/link:
    get:
      tags:
        - Workspace Users
      summary: Get Invite Link
      description: Get the shareable invite link. Requires `workspace-users-read`.
      operationId: getInviteLink
      parameters:
        - name: workspaceId
          in: path
          required: true
          schema:
            type: integer
        - name: inviteId
          in: path
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: Successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  link:
                    type: string
                    format: uri
        '403':
          description: Forbidden
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Personal Access Token created from the Raydocs dashboard.

        Include in the Authorization header: `Bearer <your_token>`

        See [API Keys](/api-reference/api-keys) for token creation and
        management.

````