Skip to main content

REST API

WhautoChat provides a robust REST API to help you integrate your workspace with external systems, automate tasks, and build custom solutions.


🌐 What Can You Do with the REST API?​

  • Send messages programmatically
  • Manage contacts, conversations, and channels
  • Automate workflows
  • Trigger Broadcasts
  • Integrate with third-party platforms (CRM, analytics, bots, etc.)

🌍 API Host​

For seamless integration with WhautoChat’s services, use the correct API host for your region:

To find your exact API host, go to the 'Rest API' section under 'Integrations' in your WhautoChat dashboard and copy the hostname provided. Always use the relevant host for optimal performance.

πŸ” API Key Authentication (x-api-key Header)​

All WhautoChat API requests require authentication using an API key. This ensures secure and authorized access to your workspace.

How to generate and use your API key:

  1. In WhautoChat, go to Integrations β†’ REST API and generate a new API key.
  2. When making API requests, include your API key in the x-api-key header.

Example:

curl -X GET 'https://api.whauto.chat/some_endpoint' -H 'x-api-key: YOUR_API_KEY'

⏱️ API Rate Limits​

To ensure fairness, stability, and security, WhautoChat enforces rate limits on all API accounts:

Type of AccountRequests per minute (RPM)Requests per day (RPD)
Subscribed Account100144,000
  • Rate limits ensure fair usage and protect against abuse (e.g., DDoS attacks).
  • For higher enterprise limits, contact support (additional pricing may apply).

πŸš€ Getting Started with WhautoChat REST API​

  1. Go to the Integrations page in WhautoChat and select the REST API connect button.
  2. Copy your API Host URL using the "Copy" button.
  3. Click "New API Key", enter a name, and generate your API key.
  4. Copy your WhautoChat API key and use it in your integrations.

πŸ§ͺ How to Test WhautoChat REST API in Postman​

  1. Download the WhautoChat REST API Postman Collection
  2. Open Postman, click Import, and drag in the collection files.
  3. Select the Environments menu and choose "WhautoChat Rest API".
    • Paste the API host URL in the host - CURRENT VALUE field.
    • Paste your WhautoChat API key in the x-api-key - CURRENT VALUE field.
    • Click Save.
  4. Go to Collections, select "WhautoChat Rest API", and explore available endpoints.

πŸ’¬ Need Help?

For API documentation or integration support, contact [email protected].

For detailed troubleshooting, refer to our Troubleshooting or contact support.