An object that provides the return value of a function executed through the Apps Script Execution API. If a run call succeeds and the script function returns successfully, the response body's response field contains this ExecutionResponse object.

JSON representation
  "result": value,

value (Value format)

The return value of the script function. The type matches the object type returned in Apps Script. Functions called through the Execution API cannot return Apps Script-specific objects (such as a Document or a Calendar); they can only return primitive types such as a string, number, array, object, or boolean.

Send feedback about...

Apps Script
Apps Script
Need help? Visit our support page.