Add Meta API version setting for a Meta account #2

Open
opened 2026-04-09 20:48:32 +00:00 by sgcommand · 0 comments
Member

Add a configurable Meta Graph API version setting per Meta/WhatsApp Business account.

Why

  • Meta versions change over time and may differ between deployments
  • Hardcoding the API version makes upgrades and compatibility testing harder
  • Per-account configuration gives better flexibility during rollouts/migrations

Suggested scope

  • Add api_version (or similar) to Meta account configuration
  • Use that version when building Graph API requests
  • Provide a sensible default if not set
  • Validate/normalize the configured value where appropriate

Acceptance criteria

  • Meta account config supports an API version field
  • Outbound Meta API requests use the configured version
  • Existing configs continue working via default behavior
  • Documentation includes the new setting and an example
Add a configurable Meta Graph API version setting per Meta/WhatsApp Business account. ## Why - Meta versions change over time and may differ between deployments - Hardcoding the API version makes upgrades and compatibility testing harder - Per-account configuration gives better flexibility during rollouts/migrations ## Suggested scope - Add `api_version` (or similar) to Meta account configuration - Use that version when building Graph API requests - Provide a sensible default if not set - Validate/normalize the configured value where appropriate ## Acceptance criteria - Meta account config supports an API version field - Outbound Meta API requests use the configured version - Existing configs continue working via default behavior - Documentation includes the new setting and an example
Sign in to join this conversation.