Google Apps Script API를 사용하면 Apps Script 프로젝트를 프로그래매틱 방식으로 만들고, 수정하고, 배포할 수 있습니다. 이러한 작업은 일반적으로 Apps Script 편집기를 사용해야 합니다. 앱은 API를 사용하여 스크립트 프로젝트를 관리하고, 새 스크립트 버전을 만들고 배포하고, 스크립트 실행을 모니터링할 수 있습니다.
또한 Apps Script API는 Apps Script Execution API를 대체하고 확장합니다. 실행 API를 사용하는 것과 마찬가지로 Apps Script API를 사용하여 Apps Script 함수를 원격으로 실행할 수 있습니다.
API 개요
Apps Script API는 여러 리소스로 나뉘며 각 리소스에는 특정 목적과 수행할 수 있는 요청 집합이 있습니다. 이러한 리소스는 다음과 같습니다.
projects - 스크립트 프로젝트의 표현입니다. 이 API는 프로젝트를 만들고, 읽고, 모니터링하고, 수정하는 메서드를 제공합니다.
projects.deployments — 스크립트 배포의 표현입니다. 이 API는 스크립트 프로젝트 배포를 만들고, 나열하고, 업데이트하고, 삭제하는 메서드를 제공합니다.
projects.versions — 스크립트 프로젝트 버전의 표현입니다. 이 API는 프로젝트 버전을 만들고 읽는 메서드를 제공합니다.
processes - 스크립트 함수 실행을 나타냅니다. API는 기존 프로세스를 나열하고 유형 및 현재 상태와 같은 프로세스에 관한 정보를 수집하는 메서드를 제공합니다.
scripts - Apps Script 함수를 원격으로 실행하는 메서드를 제공하는 엔드포인트입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-04(UTC)"],[[["\u003cp\u003eThe Google Apps Script API allows programmatic management of Apps Script projects, including creation, modification, and deployment.\u003c/p\u003e\n"],["\u003cp\u003eThis API enables remote execution of Apps Script functions and extends the capabilities of the Apps Script Execution API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the API to manage script projects, deploy versions, and monitor script executions.\u003c/p\u003e\n"],["\u003cp\u003eKey resources within the API include projects, deployments, versions, processes, and scripts for comprehensive control.\u003c/p\u003e\n"],["\u003cp\u003eIt's crucial to enable the API and grant access for third-party app management of your scripts.\u003c/p\u003e\n"]]],[],null,["The Google Apps Script API lets you programmatically create, modify, and\ndeploy Apps Script projects---actions that otherwise require you to\nuse the Apps Script editor. Your apps can use the API to manage your\nscript projects, create and deploy new script versions, and monitor script\nexecutions.\n| **Warning:** The Apps Script API does not work with [service accounts](https://developers.google.com/identity/protocols/OAuth2ServiceAccount).\n\nThe Apps Script API also replaces and extends the Apps Script Execution API.\nYou can use the Apps Script API to execute Apps Script functions remotely,\njust as you could with the Execution API.\n| **Note:** In order to use this API in your apps, you must [enable it for use](/apps-script/api/how-tos/enable#using_the_apps_script_api_in_your_app). To allow other apps to manage your scripts, you must [grant them access](/apps-script/api/how-tos/enable#granting_third-party_applications_access_to_your_script_projects%22).\n\nOverview of the API\n\nThe Apps Script API is divided into several resources, each with a specific\npurpose and set of requests you can make. These resources are the following:\n\n- [`projects`](/apps-script/api/reference/rest/v1/projects) --- A representation of a script project. The API provides methods to create, read, monitor, and modify projects.\n- [`projects.deployments`](/apps-script/api/reference/rest/v1/projects.deployments) --- A representation of a script deployment. The API provides methods to create, list, update, and delete script project deployments.\n- [`projects.versions`](/apps-script/api/reference/rest/v1/projects.versions) --- A representation of a script project version. The API provides methods to create and read project versions.\n- [`processes`](/apps-script/api/reference/rest/v1/processes) --- A representation of a script function execution. The API provides methods to list existing processes and gather information about them, such as type and current status.\n- [`scripts`](/apps-script/api/reference/rest/v1/scripts) --- The endpoint that provides methods to remotely execute Apps Script functions."]]