Getting started
Authentication
Resources
- Access Passes
- Attachments
- Authentication
- Chats
- Direct Messages
- Experiences
- Forums
- Notifications
- Payments
- Users
Attachments
Get Attachment
Returns the attachment
import { whopApi } from "@/lib/whop-api";
const result = await whopApi.getAttachment({
// The ID of the attachment
id: "xxxxxxxxxxx" /* Required! */,
});
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.