Smart compose

Compose a reply

Generates a reply to the specified message based on a prompt.

post/v3/grants/{grant_id}/messages/{message_id}/smart-compose

Request body

promptstring

The prompt that Smart Compose uses to generate a message suggestion.

Example request

{
  "prompt": "Reply to John Doe about the upcoming project."
}

Response

Returns a suggestion for a message

request_idstring

The request ID.

Example response

{
  "request_id": "5fa64c92-e840-4357-86b9-2aa364d35b88"
}

Changes

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