Skip to content

MessageBase

Fields

  • wabaNumberstringrequired

    Your WhatsApp API number to send from, with country code.

    Example: "919705182126"
  • recipientobjectrequired
    3 properties
    • phoneNumberstringrequired

      The contact's phone number, with country code.

      Example: "919999999999"
    • nameoptionalstring

      Optional display name, saved to the contact if it is new.

      Example: "Raj S"
    • emailoptionalstring

      Optional email, saved to the contact if it is new.

      format: email
  • typetemplateortextorimageordocumentoraudioorlocation+1 morerequired

    The message kind. Decides which other fields apply.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close