Generate OAuth 2.0 Credentials for WhatsApp Template Management

Prev Next

Use OAuth 2.0 credentials to authenticate your requests to the WhatsApp Template Management API through Insider Gateway. This article explains how to generate them in Integration Settings.

Generate OAuth 2.0 Credentials

  1. Navigate to your username > Settings > InOne Settings > Integration Settings.

    Integration Settings in the InOne Settings menu

  2. Scroll down to the OAuth 2.0 Credentials section and click Generate OAuth 2.0 Credential.

    Generate OAuth 2.0 Credential button in the OAuth 2.0 Credentials section

  3. Enter a name for your OAuth 2.0 credential and a token duration.

  4. Select the API scopes for your OAuth 2.0 credential and click Continue. For the description of each scope, see OAuth 2.0 Scopes.

    API scope selection for the OAuth 2.0 credential

  5. Enter the IP addresses to authorize and click Authorize and Generate.

    IP address authorization step

  6. Click Copy to copy the Client ID and Client Secret before you close the prompt.

    Client ID and Client Secret prompt

OAuth 2.0 Scopes

The following scopes control which WhatsApp Template Management API actions your credential can perform.

Scope

Description

wa-temp-read

Lists and gets templates.

wa-temp-manage

Creates and restores templates, and uploads template media files.

wa-temp-update

Edits templates.

wa-temp-delete

Deletes templates.

After you generate your credentials, refer to Manage WhatsApp Templates with OAuth 2.0 to start managing your templates.