Class WhatsAppAPIMissingAppSecretError

Thrown when the App Secret isn't provided in the constructor

The App Secret is a private key that is used to verify the authenticity of the incoming requests. It can be found in your Meta's app dashboard, inside App Settings -> Basic.

new WhatsAppAPI({
appSecret: "your-app-secret",
// other options
});

Hierarchy (View Summary)

Properties

Accessors

Methods

Properties

httpStatus: number

The HTTP status code of the error

Accessors

  • get docs(): string
  • Returns string

Methods