-
Notifications
You must be signed in to change notification settings - Fork 0
AiChat
An AI chat is a conversational AI assistant configured within a Whop company — for example, a support or community bot. The SDK lets you create, list, read, update, and delete these AI chat configurations.
$client->aiChats // Matchable\Whop\Resource\AiChatResource| HTTP | POST ai-chats |
| Does | Creates a new AI chat. |
| Parameters |
$data — AI chat attributes (e.g. name, model, instructions). |
| Returns | array |
| HTTP | GET ai-chats |
| Does | Lists AI chats. |
| Parameters |
$query — optional filters / pagination. |
| Returns | array |
| HTTP | GET ai-chats/{id} |
| Does | Retrieves a single AI chat by ID. |
| Parameters |
$id — the AI chat ID. |
| Returns | array |
| HTTP | PATCH ai-chats/{id} |
| Does | Updates an AI chat. |
| Parameters |
$id — the AI chat ID; $data — fields to change. |
| Returns | array |
| HTTP | DELETE ai-chats/{id} |
| Does | Deletes an AI chat. |
| Parameters |
$id — the AI chat ID. |
| Returns | array |
$chat = $client->aiChats->create([
'name' => 'Support bot',
'instructions' => 'Answer billing questions politely.',
]);Official Whop documentation: https://docs.whop.com
Core Company · AccountLink · File · AccessToken · AuthorizedUser · User · Member · Webhook
Payments & Billing Payment · Checkout · Plan · Product · Membership · Refund · Invoice · PromoCode · PaymentMethod · SetupIntent
Platform & Finance Transfer · FeeMarkup · Topup · Withdrawal · LedgerAccount · PayoutAccount · PayoutMethod
Disputes Dispute · DisputeAlert · ResolutionCenter
Commerce Shipment · Lead · Entry · Review · Affiliate · Stats
Experiences & Courses Experience · Course · CourseChapter · CourseLesson · CourseLessonInteraction · CourseStudent
Communication ChatChannel · DmChannel · DmMember · Message · Reaction · Forum · ForumPost · SupportChannel · Notification
Advertising AdCampaign · AdGroup · Ad
Apps & AI App · AppBuild · AiChat · CompanyTokenTransaction
Verifications Verification