Google Apps Script
  • Google Apps Script
  • REST API
Home Guides Reference Samples Support
Google Apps Script
  • Google Apps Script
  • REST API
  • Home
  • Guides
  • Reference
  • Samples
  • Support
  • Overview
  • REST Resources
  • processes
    • Overview
    • list
    • listScriptProcesses
  • projects
    • Overview
    • create
    • get
    • getContent
    • getMetrics
    • updateContent
  • projects.deployments
    • Overview
    • create
    • delete
    • get
    • list
    • update
  • projects.versions
    • Overview
    • create
    • get
    • list
  • scripts
    • Overview
    • run
  • Types
  • ExecuteStreamResponse
  • ExecutionError
  • ExecutionResponse
  • File
  • LocalizedMessage
  • NullValue
  • Client Library Reference
  • Browser
  • Go
  • Java
    • Core library
    • API library
  • .NET
    • Core library
    • API library
  • Node.js
  • PHP
  • Python
    • Core library
    • API library
  • Ruby
  • Home
  • Products
  • Google Workspace Developer
  • Apps Script
  • REST API
  • Reference

REST Resource: scripts

  • Resource
  • Methods

Resource

There is no persistent data associated with this resource.

Methods

run

Runs a function in an Apps Script project.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2020-12-15 UTC.

  • Blog Blog
    The latest news on the Google Workspace Developers blog
  • GitHub GitHub
    Fork our samples and try them yourself
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Stack Overflow Stack Overflow
    Ask a question under the google-apps-script tag
  • Videos Videos
    Check out the Apps Script videos on YouTube
  • Tools

    • Script Editor
    • Apps Script Dashboard
  • Connect

    • @workspacedevs on Twitter
  • Product Info

    • Terms of Service
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • Sign up for the Google Developers newsletter Subscribe