Member Junction
    Preparing search index...

    Action to retrieve complete details of a JotForm including questions, properties, and settings

    Security: API credentials are retrieved securely from Company Integrations instead of being passed as parameters.

    await runAction({
    ActionName: 'Get JotForm Details',
    Params: [{
    Name: 'CompanyID',
    Value: 'your-company-id'
    }, {
    Name: 'FormID',
    Value: '123456789'
    }, {
    Name: 'Region',
    Value: 'us'
    }]
    });

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    AuthorizesCaller: boolean

    True when the action authorizes its caller itself, so a public entry point such as the RunAction mutation may run it for an authenticated user without an MJ: Action Authorizations link. Set it only on an action that either checks an authorization the caller must hold, or reads and writes only with the caller's own permissions. Leave it false for an action that acts with more authority than its caller, or that reaches data or sends messages the caller chooses but could not otherwise reach.

    The engine reads the marker only from the class that runs, never from its parent classes. A subclass that overrides a marked action must declare the marker again.

    Accessors

    Methods

    • Gets credentials from environment variables Format: BIZAPPS_{PROVIDER}{COMPANY_ID}{CREDENTIAL_TYPE} Example: BIZAPPS_TYPEFORM_12345_API_TOKEN

      Falls back to: BIZAPPS_{PROVIDER}_{CREDENTIAL_TYPE} if no company-specific credential found Example fallback: BIZAPPS_TYPEFORM_API_TOKEN

      Parameters

      • companyId: string
      • credentialType: string

      Returns string

    • Helper to securely retrieve API token for a company. This method should be used by all form builder actions instead of accepting tokens as parameters.

      Parameters

      • companyId: string

        The MemberJunction company ID (required)

      • contextUser: UserInfo

        The user context for database queries

      Returns Promise<string>

      The API token for the specified company

      Error if no credentials are found or company integration is not configured