Class GupshupPartnerServiceClient

Gupshup Partner Service Client

Provides authentication services for the Gupshup Partner Portal. This client handles login operations to obtain partner tokens.

const client = new GupshupPartnerServiceClient({ debug: true });
const authData = await client.getPartnerToken('user@example.com', 'password');

Constructors

Methods

Constructors

Methods

  • Authenticates with the partner portal and retrieves a partner token

    Parameters

    • email: string

      Partner account email address

    • password: string

      Partner account password

    Returns Promise<PartnerTokenResponse>

    Promise resolving to authentication response containing the token

    When authentication fails or credentials are invalid