Setting up environment

This page contains the basic details that you need in each API and how to access the same.

Base URL

Use the following base URL for each API that you want to use

https://api.v7.botpenguin.com/

Access token & API keys

BotPenguin provides different types of access tokens and API keys for various levels of access and functionality. This documentation explains the three types of tokens and API keys available:

1. Agency Token:

  • Usage: The agency token should be used for all agency-level APIs. This token provides access to features and functions at the agency level.

  • How to Obtain: To obtain the agency token, follow these steps:

    1. Access the "My Account" section or Agency panel in BotPenguin.

    2. Look for the agency token, and you can copy it for use in your agency-level APIs.

2. Customer Token:

  • Usage: The customer token should be used for all customer-level APIs. This token is designed for access to features and functions at the customer level.

  • How to Obtain: To obtain the customer token, follow these steps:

    1. Access the "Developer" section or customer panel in BotPenguin.

    2. Look for the customer token, and you can copy it for use in your customer-level APIs.

3. WhatsApp API Key:

  • Usage: The WhatsApp API key is specific to certain WhatsApp-related APIs and functionalities.

  • How to Obtain: To obtain the WhatsApp API key, follow these steps:

    1. Navigate to the "API Key" tab under "Whatsapp Bot Settings" in the Bot section of BotPenguin.

    2. Locate and copy the WhatsApp API key for use with WhatsApp-related APIs.

These access tokens and API keys are essential for authenticating and authorizing API requests and interactions within the BotPenguin platform. Please make sure to use the appropriate token or key based on your access level and the specific APIs you intend to access. Keeping your tokens and keys secure is crucial to maintaining the integrity of your BotPenguin account and data.

If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If now, write us at contact@botpenguin.com

Last updated