--- title: "Unsubscribe WhatsApp Users from Database V2" slug: "unsubscribe-whatsapp-users-from-database-v2" description: "Insider One's WhatsApp Unsubscribe API v2 reference: POST endpoint to unsubscribe up to 500 E.164 phone numbers per request, with parameters and codes." tags: ["unsubscribe api", "unsubscribe whatsapp users"] updated: 2026-09-09T12:07:57Z published: 2026-09-09T12:07:57Z canonical: "academy.insiderone.com/unsubscribe-whatsapp-users-from-database-v2" --- > ## Documentation Index > Fetch the complete documentation index at: https://academy.insiderone.com/llms.txt > Use this file to discover all available pages before exploring further. # Unsubscribe WhatsApp Users from Database V2 The WhatsApp Unsubscribe API enables you to unsubscribe users from Insider One's [WhatsApp](/docs/whatsapp-overview) product. If a user exists with the provided phone number, the user's subscription status will be updated. If no user exists and the phone number is used as an identifier, a new user will be created. ## Endpoint and Headers > **POST** https://contact.useinsider.com/whatsapp/v2/unsubscribe [](https://developers.insiderone.com/#14e7a99d-4826-4985-b90a-44b844468de4) > Visit our Postman collection to test this request. ### Headers | Header | Sample Value | Description | | --- | --- | --- | | X-PARTNER-NAME | mybrand | This is your partner name. Navigate to **InOne** > **Inone Settings** > [**Account Settings**](/v1/docs/inone-account-settings) to copy your partner name. The partner name should be lowercase. | | X-REQUEST-TOKEN | 1a2b3c4e5d6f | This key is required to authorize your request. Refer to [API Authentication Tokens](/v1/docs/api-authentication-tokens) to generate your Unsubscribe token. | | Content-Type | application/json | This header specifies the media type of the resource. | ## Body Parameters | Parameter | Description | Data Type | Required | | --- | --- | --- | --- | | phone_numbers | Users' phone numbers in **E.164 format** (e.g., +6598765432) | String Array | Yes | ## Sample Request The sample below displays a request to unsubscribe multiple users from WhatsApp communications. Every request to the request endpoint requires a **JSON-formatted** request body containing your phone number’s content and metadata, including the subscriber’s phone number. The **phone_numbers** field is required for resubscribe requests. ```bash curl --location --request POST 'http://contact.useinsider.com/whatsapp/v2/unsubscribe' \ --header 'Content-Type: application/json' \ --header 'X-PARTNER-NAME: mybrand' \ --header 'X-REQUEST-TOKEN: a1b2c3d4e5f6' \ --data-raw '{     "phone_numbers": [        "+900000000000",        "+900000000000",        "+900000000000",        "+900000000000",        "+900000000000",        "+900000000000"    ] }' ``` ## Sample Responses The following are some sample responses you might receive for your request: #### 200 OK JSONJSON ```json {"statusMessage": "OK"} ``` #### 400 Bad Request JSONJSON ```json {"statusMessage": "Bad request"} ``` #### 401 Unauthorized JSONJSON ```json {"statusMessage": "Unauthorized"} ``` ## Limitations - All functions must be executed with a simple **HTTPS POST** request. - Only **phone numbers** can be sent via this API. No data can be retrieved. - A maximum of **500 phone numbers** can be consumed in **one request**. - The API Key should be provided as the authorization key in the request header. If the key is incorrect, the operation will not be executed, and an authorization error will return in the response. - The value of the X-PARTNER-NAME header should be **lowercase**. > The default limit shown here is a standard baseline. If your use case requires higher capacity, feel free to reach out to the Insider One team. We can adjust it to fit your needs.