Setting up environment
This page contains the basic details that you need in each API and how to access the same.
Use the following base URL for each API that you want to use
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:
- 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.
- 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.
- 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.