Smart compose

Compose a message

Generates a message based on a prompt.

post/v3/grants/{grant_id}/messages/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.