casper
back to apps
2chat

2chat

to use 2chat with casper, just text and ask — casper will handle the connection from your thread.


description

2Chat provides a programmable API for integrating WhatsApp and other text channels, enabling developers to send and receive messages, manage groups, and automate workflows.

what casper can do

  • Create ContactTool to create a new contact in your 2chat account. use after gathering and verifying first name and at least one contact detail (email, phone, or address).
  • Get API Usage InfoTool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.
  • List ContactsTool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.
  • List Webhook SubscriptionsTool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.
  • Test API KeyTool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.

often used together