@makehq/sdk
    Preparing search index...

    Class Make

    The main Make SDK class that provides access to all Make API endpoints. Acts as the entry point for interacting with the Make API.

    Index

    Constructors

    • Create a new Make SDK instance

      Parameters

      • token: string

        Your Make API key or OAuth2 access token

      • zone: string

        The Make zone (e.g. eu1.make.com)

      • version: number = 2

        API version to use (defaults to 2)

      Returns Make

    Properties

    blueprints: Blueprints

    Access to blueprint-related endpoints Blueprints define the structure and workflow of scenarios

    connections: Connections

    Access to connection-related endpoints Connections link Make to external apps and services

    dataStores: DataStores

    Access to data store-related endpoints Data stores allow you to store and retrieve data within Make

    dataStructures: DataStructures

    Access to data structure-related endpoints Data structures define the structure of data being used in Make

    executions: Executions

    Access to execution-related endpoints Executions represent the running instances of scenarios

    folders: Folders

    Access to folder-related endpoints Folders help organize scenarios

    functions: Functions

    Access to function-related endpoints Functions are custom code snippets that can be used in scenarios

    hooks: Hooks

    Access to webhook-related endpoints Hooks (webhooks and mailhooks) notify you when certain changes occur in connected apps or services

    incompleteExecutions: IncompleteExecutions

    Access to incomplete execution-related endpoints Incomplete executions are scenario runs that didn't complete successfully

    keys: Keys

    Access to key-related endpoints Keys store secrets that can be used in apps

    organizations: Organizations

    Access to organization-related endpoints Organizations are top-level entities that contain teams and manage overall account settings

    protocol: string

    The protocol to use (defaults to https) Can be changed to http for testing in local environments

    scenarios: Scenarios

    Access to scenario-related endpoints Scenarios allow you to create and run automation tasks

    teams: Teams

    Access to team-related endpoints Teams control access to Make scenarios, connections, data stores, and other resources

    users: Users

    Access to user-related endpoints Provides methods to get current user information

    version: number

    The API version to use Default is version 2 of the Make API

    zone: string

    The Make zone (e.g. eu1.make.com) Identifies the region of the Make servers to connect to

    Methods

    • Internal

      Make API requests with authentication

      Handles URL construction, authentication, and error handling for all API calls. This method is used internally by all endpoint classes.

      Type Parameters

      • T = unknown

        The expected response type

      Parameters

      • url: string

        The endpoint URL (relative or absolute)

      • Optionaloptions: FetchOptions

        Request options (method, headers, body, query parameters)

      Returns Promise<T>

      Promise resolving to the parsed response data

      If the API returns an error response