Make TypeScript SDK
Use the Make TypeScript SDK to work with the Make API from your application, scripts, or AI agent. The @makehq/sdk package provides typed methods for resources such as scenarios, connections, teams, data stores, and custom apps. It also works in JavaScript projects.
Use this SDK when you want to manage Make resources. To call an app action directly through Make Endpoints, use the Make Endpoints SDK.
Before you begin
You'll need:
Node.js 20 or later for the npm package.
A Make account with access to the API resources you want to use.
A Make API key with the required scopes. For example, listing scenarios requires
scenarios:read.Your Make zone, such as
us1.make.com, and the team or organization ID required by the operation.
Store the API key in an environment variable or a secrets manager on your server. Don’t commit it to source control, include it in browser code, or put it in a prompt.
Install the SDK
Install the npm package in your project:
npm install @makehq/sdkFor Deno, the SDK is also available from JSR:
deno add jsr:@make/sdkMake your first request
Set MAKE_API_KEY, MAKE_ZONE, and MAKE_TEAM_ID as environment variables where your code runs. Enter the zone as a hostname without https:// or /api/v2. The client builds the API URL.
Save the following example as list-scenarios.mjs. You can use the same SDK calls in TypeScript, with type checking and editor completion.
Run it with your environment variables set:
Use your own team ID. The API still enforces your key's scopes and permissions in Make.
Work with Make resources
The SDK groups methods by resource, such as make.scenarios, make.connections, make.teams, and make.dataStores. Use the generated API reference and your editor's type information to check each method's required arguments and return type.
Methods for developing custom apps are available under make.sdk. These methods manage app definitions and components. To call app actions, use the Endpoints SDK instead.
You can configure optional retries for rate-limit and server-error responses. They're disabled by default. Enable them only when repeating the request is safe.
Use the SDK with AI agents
@makehq/sdk/tools exports MakeTools. Each tool includes a name, description, input schema, and a function. An agent framework can use these definitions without building Make API requests itself.
For example, choose the scenario-listing tool and give your model only its description and schema:
Your application must validate arguments, enforce which team or organization the agent can use, and decide which actions the agent can run.
Don't give the model access to the authenticated Make client, and expose only the tools the task needs.
Resources
Last updated

