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

# Create personal survey links

> Personal survey links, one per contact. Body `{ userIds?: string[], contactIds?: string[], csv?: string,
expiresInDays?: number, format?: 'json'|'csv' }` (≤ 5000). `format: 'csv'` answers text/csv
`userId,email,name,url`. Returns `{ links: [{ userId, email?, name?, url }], expiresAt, skipped }`;
url = help center domain + `/s/<slug>?t=<token>`.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json post /engagement/surveys/{surveyId}/personal-links
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /engagement/surveys/{surveyId}/personal-links:
    post:
      tags:
        - Engagement Survey
      summary: Create personal survey links
      description: >-
        Personal survey links, one per contact. Body `{ userIds?: string[],
        contactIds?: string[], csv?: string,

        expiresInDays?: number, format?: 'json'|'csv' }` (≤ 5000). `format:
        'csv'` answers text/csv

        `userId,email,name,url`. Returns `{ links: [{ userId, email?, name?, url
        }], expiresAt, skipped }`;

        url = help center domain + `/s/<slug>?t=<token>`.
      operationId: PersonalLinks
      parameters:
        - in: path
          name: surveyId
          required: true
          schema:
            type: string
        - in: header
          name: project
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema: {}
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema: {}
      security:
        - jwt: []
components:
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.