For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs. Agents can also search and read this documentation through its MCP server.
Skip to content

Make Endpoints CLI

Use the Make Endpoints CLI to inspect available app actions and execute an Endpoint from your terminal or a script. This command is included in @makehq/endpoints-sdk, alongside the TypeScript SDK.

To manage scenarios, teams, connections, and other Make resources, use the standard .

Install

Use Node.js 24 or 26, then install the package globally:

npm install -g @makehq/endpoints-sdk
make-endpoints-cli --help

To run it without a global installation, use npm's package option:

npx --package=@makehq/endpoints-sdk make-endpoints-cli --help

For repeatable scripts and agent environments, pin a tested version.

Authenticate

The Endpoints CLI doesn't have its own login command. Install the Make CLI if you haven't already, then run its login wizard once:

make-cli login

Alternatively, set MAKE_API_KEY and MAKE_ZONE as environment variables.

The Endpoints CLI resolves credentials in this order:

  1. Command flags

  2. Environment variables

  3. Saved login ( make-cli login )

The CLI uses the saved login only if you haven’t set an API key or a zone with a flag or an environment variable. For example, if you set only MAKE_ZONE, the CLI doesn’t take the key from the saved login.

For unattended scripts or agents, load the environment variables from a secrets manager. Avoid putting API keys in command arguments, prompts, or logs. Use a hostname such as us1.make.com for the zone.

Your API key needs endpoints:run, and the caller must have access to the selected team and connection.

Discover apps and Endpoints

View the local catalog with list:

View an Endpoint before calling it with describe:

The command returns the Endpoint definition, including its input schema, accepted connection types, required provider scopes, and usage notes for agents.

To include the output schema, add --output-schema:

Output schemas can be large, so request them only when needed.

list and describe show what comes with the installed CLI. Endpoints appear in list even if your team doesn't have access to them. To find a connection that works with an Endpoint:

  1. List your team’s connections with the Make CLI, and replace 123 with your team ID:

  1. Check compatibility against the Endpoint definition (run describe) before running an Endpoint.

Run an Endpoint

To run an endpoint, use this command structure:

Omitting the version selects the app's latest version in the installed package. Specify it when a script depends on a particular input contract.

For example, retrieve a Google Docs document:

Replace the example team ID, connection ID, and document ID with your values. This Endpoint's generated input type requires field.

Use --input for the complete business-input object. Supported input fields can also be supplied as individual flags. Those flags override the same keys in --input. Pass fields that conflict with CLI option names inside --input.

Call an Endpoint by name

Use endpoints execute to run Endpoints that don't have their own command, such as those for custom apps. It doesn't discover or infer their input schemas.

This example shows the command’s format. Replace the app name, Endpoint name, IDs, and input with values for your own Endpoint.

Output and errors

Use --output json for machine-readable output. compact and table are also supported.

API-call failures exit with code 2, and all other errors exit with code 1.

If an Endpoint won’t run, check the following:

  • The Endpoints beta is enabled for your organization.

  • MAKE_ZONE matches the zone your team is in.

  • Your API key has the endpoints:run scope.

  • Your account has access to the team and connection.

Before retrying an Endpoint that creates, updates, or deletes data, check whether the change already happened to avoid duplicates.

For agent-specific guidance on outputs, see Use Make CLIs with AI agents.

Resources

Last updated