@makehq/sdk
    Preparing search index...

    Class CredentialRequests

    Class providing methods for working with credential requests

    Index

    Constructors

    Methods

    • Delete a credential request and all associated credentials (connections and keys) by ID

      Parameters

      • requestId: string

        The ID of the credential request to delete

      Returns Promise<void>

    • Get full detail of a credential request including associated credentials

      Parameters

      • requestId: string

      Returns Promise<CredentialRequestDetail>

    • List all modules of an app that require credentials, along with the required credential type and OAuth scopes. Useful for populating CredentialSelection.appModules when creating a credential request.

      For SDK/custom apps, prefix appName with app# — the SDK URL-encodes it.

      Parameters

      • appName: string

        The app name (e.g. slack, or app#my-custom-app for SDK apps).

      • appVersion: number | "latest"

        App major version number, or 'latest' for the most recent version.

      Returns Promise<AppModuleWithCredentials[]>