Skip to content

bug: client and api discrepency #54

Closed
@daniel-swordfish

Description

@daniel-swordfish

The API documentation lists the WhatsApp template categories as MARKETING, AUTHENTICATION, UTILITY
Screenshot from 2023-05-10 14-51-32

but https://github.com/infobip/infobip-api-php-client/releases/tag/5.0.0 only allows the old categories of MARKETING, TRANSACTIONAL, OTP
image

The error I get if I try to create a template with the UTILITY category

Property path 'category' validation failed with message: The value you selected is not a valid choice. {"userId":1,"exception":"[object] (InvalidArgumentException(code: 0): Property path 'category' validation failed with message: The value you selected is not a valid choice. at /var/www/html/vendor/infobip/infobip-api-php-client/Infobip/ObjectSerializer.php:256)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions