A practical field guide from Automation Ace.
Short answer: Make Endpoints let your own code call individual app actions (such as “get a Google Doc” or “post a Slack message”) as single typed calls, through the JavaScript/TypeScript SDK, a CLI, or REST, using the app connections your team already manages in Make. To build code-first automations, get Endpoints enabled for your organization, create a Make API key with the endpoints:run scope, install @makehq/endpoints-sdk, find the team, endpoint, and connection IDs, and call sdk.endpoints.<app>.<version>.<endpoint>() from your scripts, backend, internal tools, or AI agents. Your logic stays in your codebase; Make handles the app connection.
At the time of writing, Endpoints is in closed beta: anyone can install the SDK, but calls fail until Make enables Endpoints for your organization, and not every app has endpoints yet. Details below come from Make's Endpoints announcement, the Make Endpoints SDK docs, and the SDK's GitHub README.
Short answer
- Ask Make to enable Endpoints; create an API key with
endpoints:run. - Install the SDK (or CLI).
- Find your team ID, the endpoint, and a connection ID.
- Call the endpoint from code with typed input and output.
- Add idempotency keys, error handling, and pinned versions for production.
What Make Endpoints are
| Piece | What it is |
|---|---|
| Endpoint | One native app action (for example, get a Google Doc) wrapped as a single call with typed input and output |
| Connection | The app account you already connected in Make; your code passes its connection ID instead of a token |
| Team | Endpoints run in a Make team; you pass the team ID |
| API key | A Make API key with the endpoints:run scope and access to that team |
| SDK | @makehq/endpoints-sdk (TypeScript), with a typed method for every app, version, and endpoint |
| CLI | make-endpoints-cli, where every endpoint is a command; handy for scripts and coding agents |
Several apps also expose a generic arbitraryCall endpoint: an authorized HTTP call with any method, URL, headers, and body when no dedicated endpoint fits. Custom app developers can also define endpoints for their own Make apps; see Make's custom app endpoints documentation.
Why code-first, and why now
Visual scenarios are great until the logic gets complex: loops inside loops, heavy data transformation, unit tests, code review. The hard part of moving that logic to code used to be authentication: OAuth apps, token refresh, and secrets for every service. Endpoints keep that part in Make while the logic moves to your code. It is the same shift described in the automation maturity ladder.
Step 1: Get access and an API key
- Confirm Endpoints is enabled for your organization (during the beta, calls return an error such as “Endpoints execution is not enabled” until it is).
- Create a Make API key with the
endpoints:runscope for a user with access to the team. - Connect the apps you need in that team, as you would for a scenario.
Store the key as a secret; see API authentication for automation.
Step 2: Install the SDK and make a first call
npm install @makehq/endpoints-sdk @makehq/sdk
import { Make } from '@makehq/sdk';
import { EndpointsSdk, SdkTransport } from '@makehq/endpoints-sdk';
const make = new Make(process.env.MAKE_API_KEY, 'eu1.make.com'); // your Make zone
const sdk = new EndpointsSdk({
transport: new SdkTransport(make),
teamId: 77,
});
// sdk.endpoints.<appKey>.<version>.<endpointName>()
const doc = await sdk.endpoints.googleDocs.v1.getDocument({
input: { documentId: 'doc-1' },
connectionId: 42, // the Google connection already in your Make team
});
// doc is typed output: no request envelope to build, no response to unwrap
To load only one app, import its client from @makehq/endpoints-sdk/apps/<app> (for example google-docs). For apps or endpoints chosen at run time, use sdk.execute() with the app name, version, and endpoint name.
Step 3: Explore endpoints with the CLI
# Find what you can call, then call it (credentials from make-cli login or MAKE_API_KEY)
make-endpoints-cli whoami --environment # organizations and teams
make-endpoints-cli list --team-id 77 # apps this team can use
make-endpoints-cli describe google-docs get-document # input schema + connection types
make-endpoints-cli connections list --team-id 77 --app google-docs --endpoint get-document
make-endpoints-cli google-docs get-document --document-id doc-1 --connection-id 42 --team-id 77
The CLI outputs JSON (exit code 2 for a Make API error, 1 for a usage error), so it fits shell scripts and CI jobs too.
Step 4: Make it production-safe
// Safe retries and private data: use execute() for these options
const { output, execution } = await sdk.execute(
{ appName: 'google-docs', appVersion: 1, endpointName: 'getDocument' },
{ input: { documentId: 'doc-1' }, connectionId: 42,
idempotencyKey: 'order-7', // a retry with the same key returns the first run's outcome
confidential: true }, // keep the data out of Make's execution log
);
// execution.replayed is true when Make answered from an earlier run
- Pin an exact SDK version: while on 0.x, endpoints are regenerated from Make's app catalog and can change between releases.
- Handle errors: there is no SDK-specific error type; failed calls reject with the transport's error. Retry with the same idempotency key.
- Least privilege: use a team that only holds the connections this code needs; see Make AI agent access permissions.
- Log execution IDs so you can find a run in Make.
Visual scenario, code, or agent?
| Build it as… | When |
|---|---|
| A visual Make scenario | Business users maintain it; mostly mapping between apps; you want Make's run history and visual debugging |
| Code calling Endpoints | Logic belongs in your codebase (tests, code review, version control); internal tools, backends, scripts |
| An AI agent calling Endpoints | The steps depend on judgment; the agent picks actions at run time |
| A mix | A scenario for the stable flow, code for complex logic, an agent for judgment calls |
Moving an existing scenario? Keep the trigger and stable steps visual, move the complex logic into code that calls Endpoints, and migrate one flow at a time. Comparison with calling APIs yourself: Make Endpoints vs traditional API integrations.
Code-first patterns worth building
- Internal tools: an admin page that creates records in your CRM and posts to Slack through Endpoints.
- Backend jobs: nightly scripts that sync data between apps with tests and code review.
- Webhook handlers: receive an event in a Worker or function and act in apps; see webhooks with Cloudflare Workers.
- AI agents: expose endpoints as tools; see building AI agents with the Make Endpoints SDK.
Where this is heading: the future of automation: agents, code-first workflows, and managed connections.
Frequently asked questions
What are Make.com Endpoints?
Make Endpoints let your code call individual app actions supported by Make as single typed calls, through a TypeScript SDK, a CLI, or REST, using app connections your team already manages in Make. At the time of writing they are in closed beta.
How do I call Make Endpoints from code?
Install @makehq/endpoints-sdk and @makehq/sdk, create a Make client with an API key that has the endpoints:run scope, wrap it in SdkTransport, and call sdk.endpoints.<app>.<version>.<endpoint>() with the input and the connection ID.
Do I need to manage OAuth tokens with Make Endpoints?
No. Your code passes a Make connection ID, and the provider credentials stay in your Make connection. You only manage your Make API key.
Can I retry a Make Endpoints call safely?
Yes. Pass an idempotency key with execute(); within the team, Make runs the endpoint once per key and returns the first run’s outcome on a repeat, flagged as replayed.
When should I use code instead of a Make scenario?
Use code calling Endpoints when the logic belongs in your codebase with tests, review, and version control, or when it powers internal tools, backends, or AI agents. Keep visual scenarios when business users maintain the flow.
Disclaimer: Make Endpoints was in closed beta at the time of writing; available apps, endpoints, SDK methods, scopes, and pricing can change between releases, so pin versions and test before relying on them in production; details reflect public documentation and coverage at the time of writing, so confirm current details with each provider before building. Automation Ace is not affiliated with Make beyond the referral links marked on this page. This article may include links to apps, products, or services; some links may be affiliate links, which means Automation Ace may earn a commission at no extra cost to you.