--- title: "Generate API Credentials for WhatsApp Template Management" slug: "generate-api-credentials-for-whatsapp-template-management-1" description: "Explains how to generate a WhatsApp Template Management API key and OAuth 2.0 Client ID/Secret in InOne's Integration Settings for template automation." updated: 2026-11-02T11:51:56Z published: 2026-11-02T11:51:56Z canonical: "academy.insiderone.com/generate-api-credentials-for-whatsapp-template-management-1" --- > ## 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. # Generate API Credentials for WhatsApp Template Management To manage your WhatsApp templates programmatically, you'll need to generate the appropriate API credentials. This article walks you through generating both a WhatsApp Template Management API Key and OAuth 2.0 credentials via Integration Settings. ## Generate WhatsApp Template Management API Key You can manage your WhatsApp templates programmatically using the Template Creation API. The Template Creation API key is different from the Campaign Analytics API key. The API supports two authentication methods: Bearer Authentication with `x-ins-auth-key`, and with OAuth 2.0 through Insider Gateway. To generate your WhatsApp Template Creation API key, 1. Navigate to your **username** > **Settings** > **InOne Settings** > [**Integration Settings**](/v1/docs/inone-integration-settings). ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-X9XNJXPJ.png) 2. Scroll to the **API Keys** section to click the **Generate API Key** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-Z7SVNT1C.png) > [!NOTE] > If you have created any API keys before, you will see them listed in this section. 1. Select **WhatsApp Template Management** and click **Continue**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-SYMXNDBO.png) 2. Enter the IP addresses to authorize. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-8TFOLCXU.png) 3. Your API Key has been generated. Copy this API Key and keep it secure. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-6QQBIZEJ.png) 4. After clicking **Done**, you will see your generated API Key in the API Keys list. ## Generate OAuth 2.0 Credentials for WhatsApp Template Management 1. Navigate to your **username** > **Settings** > **InOne Settings** > [**Integration Settings**](/v1/docs/inone-integration-settings). ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-X9XNJXPJ.png) 2. Scroll down to the OAuth 2.0 Credentials section and click the **Generate OAuth 2.0 Credential** button. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-Z2KIZGMP.png) 3. Enter a name for your OAuth 2.0 Credential and a token duration. 4. Select the API scope for your OAuth 2.0 Credential and click **Continue**. | Scope | Description | | --- | --- | | wa-temp-read | Lists and gets templates. | | wa-temp-manage | Creates and restores templates. | | wa-temp-update | Edits templates. | | wa-temp-delete | Deletes templates. | ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-2G52VJBW.png) 5. Enter the IP addresses to authorize and click **Authorize and Generate**. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-ZM0VESQL.png) 6. Click the **Copy** button to copy the **Client ID** and **Client Secret** before closing the prompt. ![](https://cdn.document360.io/c6df4583-da94-4cb2-bb8a-be0cbdd11109/Images/Documentation/image-N2IIUQO5.png) Now that you have generated the OAuth 2.0 credentials, you can proceed with [Managing WhatsApp templates with OAuth 2.0](/v1/docs/manage-whatsapp-templates-with-oauth-2-0).