@whop/cli 0.14.1 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +3 -3
  2. package/dist/index.js +22283 -7154
  3. package/dist/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/skills/whop-accounts/SKILL.md +195 -15
  6. package/skills/whop-ad-campaigns/SKILL.md +193 -15
  7. package/skills/whop-ad-groups/SKILL.md +258 -16
  8. package/skills/whop-ads/SKILL.md +190 -14
  9. package/skills/whop-api-keys/SKILL.md +113 -13
  10. package/skills/whop-app-builds/SKILL.md +68 -8
  11. package/skills/whop-apps/SKILL.md +135 -12
  12. package/skills/whop-audiences/SKILL.md +92 -8
  13. package/skills/whop-bounties/SKILL.md +104 -9
  14. package/skills/whop-bounty-submissions/SKILL.md +82 -9
  15. package/skills/whop-cards/SKILL.md +122 -12
  16. package/skills/whop-checkout-configurations/SKILL.md +64 -8
  17. package/skills/whop-deposits/SKILL.md +13 -5
  18. package/skills/whop-disputes/SKILL.md +86 -9
  19. package/skills/whop-events/SKILL.md +90 -8
  20. package/skills/whop-exports/SKILL.md +331 -7
  21. package/skills/whop-ledgers/SKILL.md +38 -6
  22. package/skills/whop-media/SKILL.md +28 -7
  23. package/skills/whop-members/SKILL.md +51 -6
  24. package/skills/whop-memberships/SKILL.md +137 -13
  25. package/skills/whop-notifications/SKILL.md +91 -12
  26. package/skills/whop-partners/SKILL.md +102 -12
  27. package/skills/whop-payments/SKILL.md +40 -0
  28. package/skills/whop-payouts/SKILL.md +130 -9
  29. package/skills/whop-people/SKILL.md +50 -6
  30. package/skills/whop-permissions/SKILL.md +8 -5
  31. package/skills/whop-plans/SKILL.md +152 -12
  32. package/skills/whop-products/SKILL.md +141 -13
  33. package/skills/whop-resolution-center-cases/SKILL.md +222 -17
  34. package/skills/whop-setup-intents/SKILL.md +20 -0
  35. package/skills/whop-shipments/SKILL.md +66 -8
  36. package/skills/whop-social-accounts/SKILL.md +112 -11
  37. package/skills/whop-stats/SKILL.md +50 -6
  38. package/skills/whop-swaps/SKILL.md +63 -8
  39. package/skills/whop-team-members/SKILL.md +80 -9
  40. package/skills/whop-transfers/SKILL.md +67 -8
  41. package/skills/whop-users/SKILL.md +295 -18
  42. package/skills/whop-verifications/SKILL.md +51 -9
@@ -9,15 +9,125 @@ Cards represent Whop-issued virtual payment cards that spend from an account or
9
9
 
10
10
  Use the Cards API to issue cards, list cards for an account or user, and retrieve active card details such as the card number and CVC.
11
11
 
12
- ## Commands
13
-
14
- | Command | Description |
15
- |---------|-------------|
16
- | `whop cards transactions` | List Card Transactions |
17
- | `whop cards get-transaction` | Retrieve Card Transaction |
18
- | `whop cards list` | List Cards |
19
- | `whop cards create` | Create Card |
20
- | `whop cards get` | Retrieve Card |
21
- | `whop cards update` | Update Card |
22
-
23
- Run `whop cards <command> --help` for options, or `whop cards <command> --schema` for full argument details.
12
+ # whop cards create
13
+
14
+ Create Card
15
+
16
+ ## Options
17
+
18
+ | Flag | Type | Required | Default | Description |
19
+ |------|------|----------|---------|-------------|
20
+ | `--account_id` | `string` | no | | The owning account ID (a biz_ identifier). Provide this or user_id. |
21
+ | `--assigned_user_id` | `string` | no | | The account member (a user_ identifier) to assign the card to. Required for business card issuing accounts. |
22
+ | `--name` | `string` | no | | A display name for the card. |
23
+ | `--spend_limit` | `number` | no | | Spending limit amount, in dollars. |
24
+ | `--spend_limit_frequency` | `string` | no | | The window the spend limit applies to. |
25
+ | `--transaction_limit` | `number` | no | | Per-transaction limit amount, in dollars. |
26
+ | `--user_id` | `string` | no | | The owning user ID (a user_ identifier). Provide this or account_id. |
27
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
28
+
29
+ > Confirm with the user before executing this destructive command.
30
+
31
+ ---
32
+
33
+ # whop cards get
34
+
35
+ Retrieve Card
36
+
37
+ ## Arguments
38
+
39
+ | Name | Type | Required | Description |
40
+ |------|------|----------|-------------|
41
+ | `card_id` | `string` | yes | Card ID to retrieve, prefixed `icrd_`. |
42
+
43
+ ## Options
44
+
45
+ | Flag | Type | Required | Default | Description |
46
+ |------|------|----------|---------|-------------|
47
+ | `--account_id` | `string` | no | | The owning account ID (a biz_ identifier). Provide this or user_id. |
48
+ | `--user_id` | `string` | no | | The owning user ID (a user_ identifier). Provide this or account_id. |
49
+
50
+ ---
51
+
52
+ # whop cards get-transaction
53
+
54
+ Retrieve Card Transaction
55
+
56
+ ## Arguments
57
+
58
+ | Name | Type | Required | Description |
59
+ |------|------|----------|-------------|
60
+ | `id` | `string` | yes | The card transaction ID, prefixed `citx_`. |
61
+
62
+ ## Options
63
+
64
+ | Flag | Type | Required | Default | Description |
65
+ |------|------|----------|---------|-------------|
66
+ | `--account_id` | `string` | no | | The account that owns the transaction, prefixed `biz_`. Defaults to the credential's account. |
67
+
68
+ ---
69
+
70
+ # whop cards list
71
+
72
+ List Cards
73
+
74
+ ## Options
75
+
76
+ | Flag | Type | Required | Default | Description |
77
+ |------|------|----------|---------|-------------|
78
+ | `--account_id` | `string` | no | | The owning account ID (a biz_ identifier). Provide this or user_id. |
79
+ | `--user_id` | `string` | no | | The owning user ID (a user_ identifier). Provide this or account_id. |
80
+
81
+ ---
82
+
83
+ # whop cards transactions
84
+
85
+ List Card Transactions
86
+
87
+ ## Options
88
+
89
+ | Flag | Type | Required | Default | Description |
90
+ |------|------|----------|---------|-------------|
91
+ | `--account_id` | `string` | no | | The account whose card transactions to list, prefixed `biz_`. Defaults to the credential's account. |
92
+ | `--transaction_ids` | `array` | no | | Return only these card transactions, each prefixed `citx_`. Repeat the parameter, or pass one comma-separated value. |
93
+ | `--card_id` | `array` | no | | Return only transactions charged to these cards, each prefixed `icrd_`. |
94
+ | `--cardholder_id` | `array` | no | | Return only transactions on cards assigned to these users, each prefixed `user_`. |
95
+ | `--status` | `string` | no | | Return only transactions with this status. |
96
+ | `--created_after` | `string` | no | | Return only transactions authorized at or after this ISO 8601 timestamp. |
97
+ | `--created_before` | `string` | no | | Return only transactions authorized at or before this ISO 8601 timestamp. |
98
+ | `--order` | `string` | no | | The field to sort by. Defaults to `created_at`. |
99
+ | `--direction` | `string` | no | | The sort direction. Defaults to `desc`. |
100
+ | `--first` | `number` | no | | The number of card transactions to return. |
101
+ | `--after` | `string` | no | | A cursor; returns card transactions after this position. |
102
+ | `--last` | `number` | no | | The number of card transactions to return, counting back from the end. |
103
+ | `--before` | `string` | no | | A cursor; returns card transactions before this position. |
104
+
105
+ ---
106
+
107
+ # whop cards update
108
+
109
+ Update Card
110
+
111
+ ## Arguments
112
+
113
+ | Name | Type | Required | Description |
114
+ |------|------|----------|-------------|
115
+ | `card_id` | `string` | yes | Card ID to retrieve, prefixed `icrd_`. |
116
+
117
+ ## Options
118
+
119
+ | Flag | Type | Required | Default | Description |
120
+ |------|------|----------|---------|-------------|
121
+ | `--account_id` | `string` | no | | The owning account ID (a biz_ identifier). Provide this or user_id. |
122
+ | `--billing` | `object` | no | | New billing address. Requires line1, city, region, postal_code, and country_code. On an invited card, passing billing alone (as the invited user) completes onboarding and starts card provisioning. |
123
+ | `--canceled` | `boolean` | no | | Pass `true` to permanently cancel the card. A canceled card cannot be uncanceled. Cannot be combined with other fields. |
124
+ | `--frozen` | `boolean` | no | | Pass `true` to freeze the card, `false` to unfreeze it. The assigned cardholder may freeze their own card without the payout:account:update scope. |
125
+ | `--name` | `string` | no | | A display name for the card. |
126
+ | `--pin` | `string` | no | | New 4-digit PIN. Can only be set on a card assigned to the acting user, who may set it without the payout:account:update scope. |
127
+ | `--remove_limit` | `boolean` | no | | Pass `true` to remove the spending limit (make the card unlimited). |
128
+ | `--spend_limit` | `number` | no | | Spending limit amount, in dollars. |
129
+ | `--spend_limit_frequency` | `string` | no | | The window the spend limit applies to. |
130
+ | `--transaction_limit` | `number` | no | | Per-transaction limit amount, in dollars. |
131
+ | `--user_id` | `string` | no | | The owning user ID (a user_ identifier). Provide this or account_id. |
132
+
133
+ > Confirm with the user before executing this destructive command.
@@ -9,13 +9,69 @@ A Checkout Configuration is a reusable checkout link owned by an account. In `pa
9
9
 
10
10
  Use the Checkout Configurations API to create checkout links for an existing or inline plan, list configurations for an account, retrieve the configuration behind a checkout URL, and delete links that should no longer be used.
11
11
 
12
- ## Commands
12
+ # whop checkout-configurations create
13
13
 
14
- | Command | Description |
15
- |---------|-------------|
16
- | `whop checkout-configurations list` | List checkout configurations |
17
- | `whop checkout-configurations create` | Create a checkout configuration |
18
- | `whop checkout-configurations delete` | Delete a checkout configuration |
19
- | `whop checkout-configurations get` | Retrieve a checkout configuration |
14
+ Create a checkout configuration
20
15
 
21
- Run `whop checkout-configurations <command> --help` for options, or `whop checkout-configurations <command> --schema` for full argument details.
16
+ ## Options
17
+
18
+ | Flag | Type | Required | Default | Description |
19
+ |------|------|----------|---------|-------------|
20
+ | `--account_id` | `string` | no | | Account ID, prefixed `biz_`. |
21
+ | `--affiliate_code` | `unknown` | no | | Affiliate code to apply to the checkout. |
22
+ | `--currency` | `unknown` | no | | Currency used for setup-mode payment method availability. |
23
+ | `--metadata` | `unknown` | no | | Custom key-value metadata copied to payments and memberships. |
24
+ | `--mode` | `string` | no | | Controls whether checkout charges the buyer immediately or saves payment details for later. Defaults to `payment`. |
25
+ | `--payment_method_configuration` | `unknown` | no | | Payment method overrides for this checkout. `null` uses the plan or platform defaults. |
26
+ | `--plan` | `unknown` | no | | Plan attributes used to create or find a plan for this checkout configuration. Mutually exclusive with `plan_id`. |
27
+ | `--plan_id` | `unknown` | no | | Existing plan ID, prefixed `plan_`. Mutually exclusive with `plan`. |
28
+ | `--redirect_url` | `unknown` | no | | URL customers are sent to after checkout. |
29
+ | `--three_ds_level` | `unknown` | no | | 3D Secure behavior for this checkout. |
30
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
31
+
32
+ > Confirm with the user before executing this destructive command.
33
+
34
+ ---
35
+
36
+ # whop checkout-configurations delete
37
+
38
+ Delete a checkout configuration
39
+
40
+ ## Arguments
41
+
42
+ | Name | Type | Required | Description |
43
+ |------|------|----------|-------------|
44
+ | `id` | `string` | yes | The ID of the checkout configuration. |
45
+
46
+ > Confirm with the user before executing this destructive command.
47
+
48
+ ---
49
+
50
+ # whop checkout-configurations get
51
+
52
+ Retrieve a checkout configuration
53
+
54
+ ## Arguments
55
+
56
+ | Name | Type | Required | Description |
57
+ |------|------|----------|-------------|
58
+ | `id` | `string` | yes | The ID of the checkout configuration. |
59
+
60
+ ---
61
+
62
+ # whop checkout-configurations list
63
+
64
+ List checkout configurations
65
+
66
+ ## Options
67
+
68
+ | Flag | Type | Required | Default | Description |
69
+ |------|------|----------|---------|-------------|
70
+ | `--account_id` | `string` | no | | Account ID, prefixed `biz_`. |
71
+ | `--plan_id` | `string` | no | | Only return checkout configurations for this plan ID, prefixed `plan_`. |
72
+ | `--created_before` | `string` | no | | Only return checkout configurations created before this ISO 8601 timestamp. |
73
+ | `--created_after` | `string` | no | | Only return checkout configurations created after this ISO 8601 timestamp. |
74
+ | `--order` | `string` | no | | Field used to sort checkout configurations. |
75
+ | `--direction` | `string` | no | | Sort direction. Defaults to `desc`. |
76
+ | `--first` | `number` | no | | Number of checkout configurations to return. |
77
+ | `--after` | `string` | no | | Cursor for the next page of results. |
@@ -9,10 +9,18 @@ Deposits describe ways to add funds to an account balance, including hosted depo
9
9
 
10
10
  Use the Deposits API to create deposit instructions for an account.
11
11
 
12
- ## Commands
12
+ # whop deposits create
13
13
 
14
- | Command | Description |
15
- |---------|-------------|
16
- | `whop deposits create` | Create Deposit |
14
+ Create Deposit
17
15
 
18
- Run `whop deposits <command> --help` for options, or `whop deposits <command> --schema` for full argument details.
16
+ ## Options
17
+
18
+ | Flag | Type | Required | Default | Description |
19
+ |------|------|----------|---------|-------------|
20
+ | `--amount` | `number` | no | | Amount to prefill on hosted deposit page. |
21
+ | `--destination` | `unknown` | yes | | Destination account ID or wallet address. Object form is supported for compatibility. Any business resolves by its account ID without authentication; a user account resolves only for that same authenticated user. |
22
+ | `--metadata` | `object` | no | | Metadata to include with the deposit response. |
23
+ | `--network` | `unknown` | no | | Destination network override. Defaults to the destination wallet's own network. |
24
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
25
+
26
+ > Confirm with the user before executing this destructive command.
@@ -9,14 +9,91 @@ A Dispute is a chargeback a customer files against a payment through their bank,
9
9
 
10
10
  Disputes are opened by the customer's bank, never through the API, so you can read them but not create or delete them. Use the Disputes API to list and filter disputes, summarize them by status and currency for a queue view, edit the evidence packet while the dispute is still contestable, and submit that evidence for review.
11
11
 
12
- ## Commands
12
+ # whop disputes get
13
13
 
14
- | Command | Description |
15
- |---------|-------------|
16
- | `whop disputes list` | List Disputes |
17
- | `whop disputes summary` | Retrieve Dispute Summary |
18
- | `whop disputes get` | Retrieve Dispute |
19
- | `whop disputes update` | Update Dispute |
20
- | `whop disputes submit` | Submit Dispute |
14
+ Retrieve Dispute
21
15
 
22
- Run `whop disputes <command> --help` for options, or `whop disputes <command> --schema` for full argument details.
16
+ ## Arguments
17
+
18
+ | Name | Type | Required | Description |
19
+ |------|------|----------|-------------|
20
+ | `id` | `string` | yes | The dispute ID (`dspt_` tag). |
21
+
22
+ ---
23
+
24
+ # whop disputes list
25
+
26
+ List Disputes
27
+
28
+ ## Options
29
+
30
+ | Flag | Type | Required | Default | Description |
31
+ |------|------|----------|---------|-------------|
32
+ | `--account_id` | `string` | no | | Only disputes filed against this account (`biz_` tag). Omit it to cover every account you can read. |
33
+ | `--first` | `number` | no | | The number of disputes to return (default 20, max 100). |
34
+ | `--after` | `string` | no | | A cursor; returns disputes after this position. |
35
+ | `--last` | `number` | no | | The number of disputes to return from the end of the range. |
36
+ | `--before` | `string` | no | | A cursor; returns disputes before this position. |
37
+ | `--order` | `string` | no | | The field to sort disputes by. |
38
+ | `--direction` | `string` | no | | Sort direction. |
39
+ | `--status` | `array` | no | | Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Covers both chargebacks and inquiries at each stage. |
40
+ | `--currency` | `string` | no | | Only disputes in this three-letter ISO currency. |
41
+ | `--created_before` | `string` | no | | Only disputes opened before this ISO 8601 timestamp. |
42
+ | `--created_after` | `string` | no | | Only disputes opened after this ISO 8601 timestamp. |
43
+
44
+ ---
45
+
46
+ # whop disputes submit
47
+
48
+ Submit Dispute
49
+
50
+ ## Arguments
51
+
52
+ | Name | Type | Required | Description |
53
+ |------|------|----------|-------------|
54
+ | `id` | `string` | yes | The dispute ID (`dspt_` tag). |
55
+
56
+ ## Options
57
+
58
+ | Flag | Type | Required | Default | Description |
59
+ |------|------|----------|---------|-------------|
60
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
61
+
62
+ > Confirm with the user before executing this destructive command.
63
+
64
+ ---
65
+
66
+ # whop disputes summary
67
+
68
+ Retrieve Dispute Summary
69
+
70
+ ## Options
71
+
72
+ | Flag | Type | Required | Default | Description |
73
+ |------|------|----------|---------|-------------|
74
+ | `--groups` | `array` | no | | Which breakdowns to return, keyed by these names under `groups`. Repeat the parameter to ask for several; omit it for all of them. |
75
+ | `--account_id` | `string` | no | | Only disputes filed against this account (`biz_` tag). Omit it to cover every account you can read. |
76
+ | `--status` | `array` | no | | Only disputes in these statuses. Repeat the parameter to pass several. |
77
+ | `--currency` | `string` | no | | Only disputes in this three-letter ISO currency. |
78
+ | `--created_before` | `string` | no | | Only disputes opened before this ISO 8601 timestamp. |
79
+ | `--created_after` | `string` | no | | Only disputes opened after this ISO 8601 timestamp. |
80
+
81
+ ---
82
+
83
+ # whop disputes update
84
+
85
+ Update Dispute
86
+
87
+ ## Arguments
88
+
89
+ | Name | Type | Required | Description |
90
+ |------|------|----------|-------------|
91
+ | `id` | `string` | yes | The dispute ID (`dspt_` tag). |
92
+
93
+ ## Options
94
+
95
+ | Flag | Type | Required | Default | Description |
96
+ |------|------|----------|---------|-------------|
97
+ | `--evidence` | `object` | no | | The evidence packet to send to the processor. Only the fields you provide are changed. |
98
+
99
+ > Confirm with the user before executing this destructive command.
@@ -11,13 +11,95 @@ Use the Events API to send new tracking events, list recent identity-linked even
11
11
 
12
12
  Events are only as good as the pixel sending them, so [Validate Pixel](https://docs.whop.com/api-reference/beta/events/validate-pixel) answers whether an account's pixel is working: it reads the events the pixel has sent, and when you pass a `url` whose page hasn't sent any lately, it fetches that page and looks for the pixel in its source. Use it before launching an ad to confirm its destination is tracked, or in a setup flow to tell a merchant whether their install is live.
13
13
 
14
- ## Commands
14
+ # whop events create
15
15
 
16
- | Command | Description |
17
- |---------|-------------|
18
- | `whop events list` | List Events |
19
- | `whop events create` | Create Event |
20
- | `whop events pulse` | Retrieve the pulse feed |
21
- | `whop events validate_pixel` | Validate Pixel |
16
+ Create Event
22
17
 
23
- Run `whop events <command> --help` for options, or `whop events <command> --schema` for full argument details.
18
+ ## Options
19
+
20
+ | Flag | Type | Required | Default | Description |
21
+ |------|------|----------|---------|-------------|
22
+ | `--account_id` | `string` | yes | | The account to associate with this event. |
23
+ | `--action_source` | `unknown` | no | | Where the event originated. |
24
+ | `--context` | `unknown` | no | | Tracking and attribution context. |
25
+ | `--currency` | `unknown` | no | | ISO 4217 currency code. |
26
+ | `--custom_name` | `unknown` | no | | Custom event name when event_name is 'custom'. Maximum 35 chars for this value. |
27
+ | `--duration` | `number` | no | | For 'leave' events: milliseconds the visitor spent on the page. |
28
+ | `--event_id` | `unknown` | no | | Client-provided identifier for deduplication. Generated if omitted. |
29
+ | `--event_name` | `string` | yes | | The type of event.
30
+
31
+ Use a standard event (lead, submit_application, contact, complete_registration, schedule, view_content, add_to_cart) or pass your own name directly for a custom event. |
32
+ | `--event_time` | `unknown` | no | | When the event occurred. Defaults to now. |
33
+ | `--plan_id` | `unknown` | no | | The plan associated with the event. |
34
+ | `--product_id` | `unknown` | no | | The product associated with the event. |
35
+ | `--referrer_url` | `unknown` | no | | The referring URL. |
36
+ | `--resumed` | `boolean` | no | | For 'page' events: true when the page was restored from the back/forward cache. |
37
+ | `--source` | `unknown` | no | | For 'identify' events: where the identity was captured (url, form, manual, iframe). |
38
+ | `--title` | `unknown` | no | | For 'page' events: the document title. |
39
+ | `--url` | `unknown` | no | | The URL where the event occurred. |
40
+ | `--user` | `unknown` | no | | User identity and profile data. |
41
+ | `--value` | `number` | no | | Monetary value associated with the event. |
42
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
43
+
44
+ > Confirm with the user before executing this destructive command.
45
+
46
+ ---
47
+
48
+ # whop events list
49
+
50
+ List Events
51
+
52
+ ## Options
53
+
54
+ | Flag | Type | Required | Default | Description |
55
+ |------|------|----------|---------|-------------|
56
+ | `--identifier` | `string` | no | | Any hard identifier of the person: a person ID (prsn_*), user ID, email, phone number, or a tracking cookie value (wuid, anonymous ID, fbp/fbc/ttp/ga). Omit to list recent events for the account. |
57
+ | `--account_id` | `string` | no | | Account ID, prefixed `biz_`. Optional for account API keys; required for credentials that can access multiple accounts. |
58
+ | `--from` | `string` | no | | Start of the time range as an ISO 8601 timestamp. Required when identifier is omitted. |
59
+ | `--to` | `string` | no | | End of the time range as an ISO 8601 timestamp. Required when identifier is omitted; otherwise defaults to now. |
60
+ | `--first` | `number` | no | | The number of events to return. |
61
+ | `--after` | `string` | no | | A cursor for fetching events after a previous page. |
62
+ | `--before` | `string` | no | | A cursor for fetching events before a later page. |
63
+ | `--direction` | `string` | no | | The order events are returned in by time. Defaults to desc (most recent first); asc reads a journey forwards from where it starts. after and before always page forwards and backwards through that order. |
64
+ | `--event` | `string` | no | | Full event names to filter by, comma-separated (payment.completed, pixel.lead, pixel.page, pixel.custom:<name>) — the same vocabulary the events / people metrics use. |
65
+ | `--source` | `string` | no | | Canonical source path, exact or with a trailing :* prefix (whop:<campaign>:*, ext:meta:*, referrer:<domain>, direct). Restricts the list to conversion targets attributed to that source — the debuggability twin of a metric cell's source parameter. |
66
+ | `--attribution_model` | `string` | no | | Attribution model for the source filter (defaults to last_touch). |
67
+ | `--country` | `string` | no | | Country codes to filter by, comma-separated. |
68
+ | `--city` | `string` | no | | Cities to filter by, comma-separated. |
69
+ | `--device` | `string` | no | | Device families to filter by, comma-separated (e.g. iPhone, Mac). |
70
+ | `--browser` | `string` | no | | Browser families to filter by, comma-separated (e.g. Chrome, Mobile Safari). |
71
+ | `--os` | `string` | no | | Operating system families to filter by, comma-separated (e.g. iOS, Windows). |
72
+ | `--utm_source` | `string` | no | | utm_source values to filter by, comma-separated. |
73
+ | `--hostname` | `string` | no | | Page hostnames to filter by, comma-separated. |
74
+ | `--page` | `string` | no | | Page paths to filter by, comma-separated. |
75
+
76
+ ---
77
+
78
+ # whop events pulse
79
+
80
+ Retrieve the pulse feed
81
+
82
+ ## Options
83
+
84
+ | Flag | Type | Required | Default | Description |
85
+ |------|------|----------|---------|-------------|
86
+ | `--event` | `string` | no | | Filter to one or more types, comma separated — for example `withdrawal,card_spend`. These are the item's `type`, not its `event_name`: several types share the `ledger_line.created` event name. Omit for every type in the feed. Values outside the feed's own set are rejected. |
87
+ | `--first` | `number` | no | | The number of events to return. |
88
+ | `--after` | `string` | no | | A cursor for fetching events after a previous page. |
89
+ | `--before` | `string` | no | | A cursor for fetching events before a later page. |
90
+
91
+ ---
92
+
93
+ # whop events validate_pixel
94
+
95
+ Validate Pixel
96
+
97
+ ## Options
98
+
99
+ | Flag | Type | Required | Default | Description |
100
+ |------|------|----------|---------|-------------|
101
+ | `--account_id` | `string` | no | | Account to check. Defaults to the authenticated account. |
102
+ | `--url` | `string` | no | | A page to read for the pixel, e.g. an ad destination. Omit it to check the account from its events alone. |
103
+ | `--idempotency-key` | `string` | no | | A unique key that makes this request safe to retry. See [Idempotent requests](https://docs.whop.com/developer/api/idempotency). |
104
+
105
+ > Confirm with the user before executing this destructive command.