---
title: "Update Whatsapp Integration For User"
method: PUT
path: "/whatsapp/whatsapp-integrations"
tags: ["Whatsapp"]
---

# Update Whatsapp Integration For User

`PUT /whatsapp/whatsapp-integrations`

## Request

- Base URL: `https://api.dante-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dante-ai.com/whatsapp/whatsapp-integrations`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2
    - Password
    - Token URL: `auth/jwt/login`
- TypeScript: <https://skmtc.dev/dante-ai/apis/dante-ai-api/docs/whatsapp/whatsapp-integrations/put.ts> (a function with typed inputs; its response is checked against the schema)

Update Whatsapp integration for the logged-in user.

## Request body

- WhatsappIntegrationUpdatePayload
  - `integration_id` string, uuid, required
  - `graph_version` string
  - `webhook_verification_token` string
  - `phone_number` string
  - `business_phone_id` string
  - `business_account_id` string
  - `test_meta_token` string
  - `meta_token` string
  - `template_name` string
  - `active` boolean
  - `enabled` boolean
  - `model_type` 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4-omnimodel-mini' | 'gpt-4-omnimodel' | 'gpt-4-omnimodel-128k' | 'gpt-4-turbo' | 'gpt-4-turbo-128k' | 'gpt-4' | 'gpt-4-32k' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-16k' | 'falcon' | 'mistral' | 'wizardlm' | 'gemma' | 'llama2' | 'llama3' | 'llama3_8b' | 'cohere' | 'claude_3_opus_9k' | 'claude_3_opus_32k' | 'claude_3_opus_128k' | 'claude_3_opus_200k' | 'claude_3_sonnet' | 'claude_3_dot_5_sonnet' | 'claude_3_haiku' | 'claude_3_dot_7_sonnet' | 'claude_4_opus' | 'claude_4_sonnet' | 'gemini-2.0-flash' | 'gemini-2.5-flash' | 'gemini-2.0-flash-lite' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude_4_dot_5_sonnet' | 'claude_4_dot_1_opus' | 'claude_4_dot_5_haiku' | 'gemini-2.5-pro' | 'gemini-2.5-flash-lite' | 'gpt-5.1' | 'gemini-3-pro' | 'gpt-5.2' | 'gpt-5.4' | 'gemini-3-flash' | 'claude_4_dot_6_opus' | 'claude_4_6_sonnet' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude_4_7_opus' | 'claude_4_8_opus' | 'claude_5_opus' | 'claude_5_sonnet', required: An enumeration.

## Response `200`

Successful Response

- WhatsappIntegrationResponse
  - `integration` WhatsappIntegration, required
    - `id` string, uuid
    - `date_created` string, date-time
    - `date_updated` string, date-time
    - `user_id` string, uuid, required: The ID of the user associated with the integration.
    - `kb_id` string, uuid, required: The ID of the knowledge base associated with the Whatsapp Integration.
    - `graph_version` string: The graph version associated with the Whatsapp Integration.
    - `webhook_verification_token` string: The token used for verifying webhooks.
    - `phone_number` string: The phone number associated with the Whatsapp Integration.
    - `business_phone_id` string: The ID of the business phone related to the Whatsapp Integration.
    - `business_account_id` string: The ID of the business account related to the Whatsapp Integration.
    - `test_meta_token` string: The test meta token associated with the Whatsapp Integration.
    - `meta_token` string: The meta token related to the Whatsapp Integration.
    - `template_name` string: The name of the template used in the Whatsapp Integration.
    - `active` boolean: Is the Whatsapp Integration active.
    - `enabled` boolean: Is the Whatsapp Integration enabled.
    - `model_type` 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4-omnimodel-mini' | 'gpt-4-omnimodel' | 'gpt-4-omnimodel-128k' | 'gpt-4-turbo' | 'gpt-4-turbo-128k' | 'gpt-4' | 'gpt-4-32k' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-16k' | 'falcon' | 'mistral' | 'wizardlm' | 'gemma' | 'llama2' | 'llama3' | 'llama3_8b' | 'cohere' | 'claude_3_opus_9k' | 'claude_3_opus_32k' | 'claude_3_opus_128k' | 'claude_3_opus_200k' | 'claude_3_sonnet' | 'claude_3_dot_5_sonnet' | 'claude_3_haiku' | 'claude_3_dot_7_sonnet' | 'claude_4_opus' | 'claude_4_sonnet' | 'gemini-2.0-flash' | 'gemini-2.5-flash' | 'gemini-2.0-flash-lite' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'claude_4_dot_5_sonnet' | 'claude_4_dot_1_opus' | 'claude_4_dot_5_haiku' | 'gemini-2.5-pro' | 'gemini-2.5-flash-lite' | 'gpt-5.1' | 'gemini-3-pro' | 'gpt-5.2' | 'gpt-5.4' | 'gemini-3-flash' | 'claude_4_dot_6_opus' | 'claude_4_6_sonnet' | 'gpt-5.4-mini' | 'gpt-5.4-nano' | 'gpt-5.5' | 'gpt-5.6-sol' | 'gpt-5.6-terra' | 'gpt-5.6-luna' | 'claude_4_7_opus' | 'claude_4_8_opus' | 'claude_5_opus' | 'claude_5_sonnet': An enumeration.
  - `err_message` string

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-07** `38b6c9a4246d`: 27 warning, 27 info
  - added the new `claude_4_6_sonnet` enum value to the `integration/model_type/allOf[subschema #1: ModelType]/` response property for the response status `200`
  - added the new `claude_4_7_opus` enum value to the `integration/model_type/allOf[subschema #1: ModelType]/` response property for the response status `200`
  - added the new `claude_4_8_opus` enum value to the `integration/model_type/allOf[subschema #1: ModelType]/` response property for the response status `200`
  - added the new `claude_4_dot_1_opus` enum value to the `integration/model_type/allOf[subschema #1: ModelType]/` response property for the response status `200`
  - …50 more

[Operation history](https://skmtc.dev/dante-ai/apis/dante-ai-api/changes/whatsapp/whatsapp-integrations/put.md)

---

[API](https://skmtc.dev/dante-ai/apis/dante-ai-api.md) - [All operations](https://skmtc.dev/dante-ai/apis/dante-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dante-ai/apis/dante-ai-api/revisions/38b6c9a4246d?raw)
