# Create a demo link for an agent (/docs/api-reference/agents/createAgentDemoLink)

> Make a public page where anyone with the link can talk to the agent, the dashboard's Share Demo. Share page_url. Only for your organization's own agents.

**POST** `/agents/{agent_id}/demo_links`

Make a public page where anyone with the link can talk to the agent, the
dashboard's Share Demo. Share `page_url`. Only for your organization's own agents.

```yaml
operationId: createAgentDemoLink
parameters:
  - name: agent_id
    in: path
    required: true
    schema:
      type: integer
    description: The ID of the agent.
requestBody:
  required: true
  content:
    application/json:
      schema:
        type: object
        required:
          - name
        properties:
          user_id:
            type: integer
            description: |
              Reseller keys only: act as one of your clients by its user id. Omit
              it to act on your own account.
              [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
            example: 1234
          name:
            type: string
            description: The page title visitors see.
          description:
            type: string
            description: A line under the title.
      example:
        name: Talk to our booking assistant
responses:
  '200':
    description: The demo page.
    content:
      application/json:
        schema:
          type: object
          properties:
            success:
              type: boolean
            id:
              type: integer
            name:
              type: string
            page_url:
              type: string
              format: uri
  '400':
    description: '`name` is missing or not text.'
  '403':
    description: The API key's user cannot change agents.
  '404':
    description: Agent not found or not yours.
```

**curl**

```bash
curl -X POST "https://omnidim.io/api/v1/agents/{agent_id}/demo_links" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Talk to our booking assistant"
}'
```