chat

Generate Outlook suggestion prompts

Returns 2 AI-generated suggestion prompts based on the current email context (read or compose mode)

post/api/chat/outlook-suggestions

Request

  • Base URL: https://localhost:8080
  • URL: https://localhost:8080/api/chat/outlook-suggestions
  • Auth: none declared

Request body

mode'read' | 'compose' required

Outlook mode: reading an email or composing a reply

emailSubjectstring

Email subject line

emailFromstring

Sender display name or address

emailBodystring

Plain-text email body used for suggestions

attachmentNamesstring[]

File names of attachments on the email

Example request

{
  "mode": "read",
  "emailSubject": "Re: Contract review deadline",
  "emailFrom": "Jane Doe <jane@firm.com>",
  "attachmentNames": [
    "NDA_Draft.pdf"
  ]
}

Response

Suggestions generated

suggestionsstring[] required

AI-generated suggestion labels

Changes

No recorded changes to this operation across all 1 revision of this API.