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

# Get URL to prompt web view.

> Retrieves the URL for a prompt popup if there are available prompts for the specified member, 
optionally filtered by device type.



## OpenAPI

````yaml openapi/prompt-v1.json GET /core/v1/interaction/available
openapi: 3.0.1
info:
  title: Prompt.Api
  version: v1
servers:
  - url: https://{host}/prompt
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /core/v1/interaction/available:
    get:
      tags:
        - Interaction
      summary: Get URL to prompt web view.
      description: "Retrieves the URL for a prompt popup if there are available prompts for the specified member, \r\noptionally filtered by device type."
      parameters:
        - name: memberId
          in: query
          description: Unique identifier of the member whose prompt URL is being requested.
          schema:
            type: string
        - name: deviceType
          in: query
          description: >-
            Optional filter to return a prompt URL specific to the given device
            type.
          schema:
            $ref: >-
              #/components/schemas/Prompt.ApplicationService.Infrastructure.Enums.DeviceType
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: >-
                  #/components/schemas/Prompt.Api.DTO.Responses.GetAvailablePromptsUrlResponse
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Prompt.Api.DTO.Responses.GetAvailablePromptsUrlResponse
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/Prompt.Api.DTO.Responses.GetAvailablePromptsUrlResponse
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
components:
  schemas:
    Prompt.ApplicationService.Infrastructure.Enums.DeviceType:
      enum:
        - Mobile
        - Web
      type: string
    Prompt.Api.DTO.Responses.GetAvailablePromptsUrlResponse:
      type: object
      properties:
        url:
          type: string
          description: An URL to the prompt view.
          nullable: true
      additionalProperties: false
    Microsoft.AspNetCore.Mvc.ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        Opaque Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````