Groups

    Create a group

    POSThttps://api.batzap.com/v1/groups

    Creates a WhatsApp group from one of your numbers, adds the participants and opens the group conversation in the inbox.

    Body parameters

    group_namestringrequired

    Group name.

    participant_phone_numbersstring[]optional

    Participants in E.164 format.

    backup_number_idsstring[]optional

    Backup numbers (E.164), added and promoted to admin so the group survives if the main number goes down.

    integration_iduuidoptional

    WhatsApp number to act from (see List integrations). Filled in automatically when the key is restricted to a single number.

    Errors

    400
    Missing group_name, invalid phone number, or a participant is not on WhatsApp.

    Plus the errors every route can return: see Errors.