Sign inStart your trial

Polar

Reference

35 triggers and 169 actions for Polar workflows.

01. Triggers

Start a workflow when something happens in Polar

Each trigger lists the event it fires on, the data it sends, and a template you can use it in.

Webhook

35 triggers

Real-time push from the source.

Webhook★ Featured

checkout.created

Fires when a new checkout session is created. This marks the beginning of a customer's purchase journey.

3 output fields
Webhook★ Featured

customer_seat.claimed

Fires when a customer claims an available seat for a licensed product. This happens when a user activates their license for the first time.

3 output fields
Webhook★ Featured

customer.created

Fires when a new customer is created after checkout or via API

3 output fields
Webhook★ Featured

order.paid

Fires when an order is fully paid and payment is received

3 output fields
Webhook★ Featured

order.refunded

Fires when an order is fully or partially refunded

3 output fields
Webhook★ Featured

subscription.active

Fires when a subscription becomes active or payment is recovered

3 output fields
Webhook★ Featured

subscription.canceled

Fires when a subscription is canceled by the customer or system

3 output fields
Webhook★ Featured

subscription.created

Fires when a new subscription is created

3 output fields
Webhook★ Featured

subscription.past_due

Fires when a subscription payment fails and enters past-due status

3 output fields
Webhook

benefit_grant.created

Fires when a benefit is granted to a customer. The customer can now use this benefit immediately.

3 output fields
Webhook

benefit_grant.cycled

Fires when a benefit grant completes its billing cycle. This typically resets usage limits or counters for the next period.

3 output fields
Webhook

benefit_grant.revoked

Fires when a granted benefit is taken away from a customer. The customer can no longer use this benefit.

3 output fields
Webhook

benefit_grant.updated

Fires when a granted benefit's details are modified. This includes status changes or property updates.

3 output fields
Webhook

benefit.created

Fires when a new benefit is created and added to a product. This new perk is now available to customers.

3 output fields
Webhook

benefit.updated

Fires when benefit details or configuration are changed. This includes updating eligibility rules or descriptions.

3 output fields
Webhook

checkout.expired

Fires when a checkout session expires without being completed. This happens after the checkout link becomes invalid.

3 output fields
Webhook

checkout.updated

Fires when checkout details are modified before completion. This includes changes to items, pricing, or customer information.

3 output fields
Webhook

customer_seat.assigned

Fires when a seat is assigned to a customer for a licensed product. This grants them access to use the product.

3 output fields
Webhook

customer_seat.revoked

Fires when a customer loses their seat assignment for a licensed product. This removes their access to the product.

3 output fields
Webhook

customer.deleted

Fires when a customer account is permanently removed from the system. This typically happens when a customer requests account deletion.

3 output fields
Webhook

customer.state_changed

Fires when a customer's status changes within the system. Examples include transitioning from trial to active or becoming inactive.

3 output fields
Webhook

customer.updated

Fires when an existing customer's information is modified. This includes profile updates, contact details, or preferences.

3 output fields
Webhook

member.created

Fires when a new team or organization member is added. This happens when someone joins your account or workspace.

3 output fields
Webhook

member.deleted

Fires when a team or organization member is removed. This happens when someone leaves or is removed from the account.

3 output fields
Webhook

member.updated

Fires when a member's details or permissions are modified. This includes role changes or profile updates.

3 output fields
Webhook

order.created

Fires when a new order is created. This marks a customer's purchase request in the system.

3 output fields
Webhook

order.updated

Fires when order details are modified after creation. This includes status updates or adjustments to items or pricing.

3 output fields
Webhook

organization.updated

Fires when organization or account settings are updated. This includes name, billing address, or preferences.

3 output fields
Webhook

product.created

Fires when a new product is added to your catalog. This makes it available for customers to purchase.

3 output fields
Webhook

product.updated

Fires when product information is modified. This includes pricing, description, or availability changes.

3 output fields
Webhook

refund.created

Fires when a refund is initiated for a customer. This marks the beginning of the refund process.

3 output fields
Webhook

refund.updated

Fires when refund details or status are updated. This includes processing status changes or amount adjustments.

3 output fields
Webhook

subscription.revoked

Fires when a subscription is revoked and access is lost immediately

3 output fields
Webhook

subscription.uncanceled

Fires when a canceled subscription is reactivated before its end date. The customer resumes their service.

3 output fields
Webhook

subscription.updated

Fires when subscription details are changed. This includes plan upgrades, downgrades, or schedule modifications.

3 output fields
02. Operations

Act on Polar from a workflow

Operations are the actions a workflow can take in Polar, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Benefit Grants

1 operation

Access and manage the specific grants associated with your subscription benefits. Use these operations when you need to retrieve details about which benefit grants are available in your organization or product configuration.

GET

List all benefit grants

/v1/benefit-grants/

Retrieve a complete list of all benefit grants to see which customers have access to which benefits across your organization. Use this to audit entitlements, manage customer access, and build dashboards showing benefit distribution.

7 input · 3 query

Benefits

6 operations

Define and manage the benefits that can be included in your products or subscription tiers. These operations let you create benefit offerings, link them to specific products, and maintain your complete benefits catalog throughout your business lifecycle.

POST

Create a new benefit

/v1/benefits/

Create a new benefit to offer customers after they make a purchase, such as license keys, downloadable files, repository access, or Discord roles.

DELETE

Delete a benefit

/v1/benefits/{id}

Permanently remove a benefit from your product offering, immediately revoking access for all customers who currently have it. Use this when you're completely discontinuing a benefit rather than temporarily pausing it.

1 input · 3 path
GET

Get a benefit by ID

/v1/benefits/{id}

Retrieve detailed information about a specific benefit, including its type, configuration, and which products it's attached to. Use this to verify benefit settings, display them to customers, or check product eligibility.

1 input · 3 path
GET

List all benefits

/v1/benefits/

Retrieve all benefits you've set up for your products, such as license keys, downloads, or access perks that customers receive when they purchase. Use this to review your complete benefit catalog and understand what you're currently offering.

9 input · 3 query
GET

List grants for a specific benefit

/v1/benefits/{id}/grants

View all customers who have been granted access to a specific benefit, helping you track benefit distribution and verify customer access levels.

6 input · 3 path · 3 query
PATCH

Update a benefit

/v1/benefits/{id}

Modify an existing benefit's settings, such as license keys, download URLs, Discord role assignments, or other type-specific configurations to keep your customer rewards current and relevant.

1 input · 3 path

Checkouts

7 operations

Handle the complete checkout flow from session creation through payment confirmation. These operations manage customer payment experiences, allowing you to create sessions, track progress, and finalize transactions across your sales funnel.

POST

Confirm and finalize a checkout session

/v1/checkouts/client/{client_secret}/confirm

Complete a customer's purchase by confirming their checkout session, which processes payment and delivers their products or subscription access immediately.

16 input · 3 path
POST

Create a new checkout session

/v1/checkouts/

Initiates a payment session that generates a checkout URL for customers to complete purchases, allowing you to embed payment collection directly into your application or send payment links to customers.

30 input
GET

Get a checkout session by client secret

/v1/checkouts/client/{client_secret}

Retrieve checkout session details using a client-safe identifier to display payment information and order summaries in your frontend application without exposing sensitive server data.

1 input · 3 path
GET

Get a checkout session by ID

/v1/checkouts/{id}

Retrieve detailed information about a specific checkout session including its status, products, and customer details to verify payment completion or display order confirmations.

1 input · 3 path
GET

List all checkout sessions

/v1/checkouts/

Retrieve all checkout sessions created by your organization to monitor sales funnels and understand customer purchasing behavior. Use this data to identify abandoned carts, track conversion rates, and optimize your checkout process.

9 input · 3 query
PATCH

Update a checkout session

/v1/checkouts/{id}

Modify checkout session details like customer email, discount codes, and custom fields before the purchase is completed. This lets you personalize the checkout experience or apply promotions in real-time based on customer actions.

26 input · 3 path
PATCH

Update a checkout session from the client

/v1/checkouts/client/{client_secret}

Captures customer information like email, billing address, and tax details during checkout using client-side updates. Use this to collect required customer data and custom form responses directly from your checkout page.

15 input · 3 path

Custom Fields

5 operations

Define and manage custom data fields for your products or subscriptions. Use these operations to extend your data model with organization-specific attributes that align with your unique business requirements and customer information needs.

POST

Create a new custom field

/v1/custom-fields/

Add a new custom field to collect specific information from customers during checkout, such as company details or tax IDs, helping you gather structured data tailored to your business needs.

DELETE

Delete a custom field

/v1/custom-fields/{id}

Remove a custom field from your checkout flow while preserving all historical data collected through that field on past orders.

1 input · 3 path
GET

Get a custom field by ID

/v1/custom-fields/{id}

Retrieves the complete configuration details of a specific custom field, including its type, label, and properties. Use this to display field information in your admin interface or dynamically build forms based on stored field definitions.

1 input · 3 path
GET

List all custom fields

/v1/custom-fields/

Retrieve all custom fields you've created to extend order and checkout data in your Polar workspace. Use this to see your entire custom field schema and manage what additional information you're collecting.

6 input · 3 query
PATCH

Update a custom field

/v1/custom-fields/{id}

Modify a custom field's label, validation rules, or display settings to keep your data structure aligned with your business needs. This allows you to rename fields or adjust their properties without disrupting existing data.

1 input · 3 path

Customer Seats

6 operations

Manage team seat assignments and invitations for multi-user subscription products. These operations handle the lifecycle of seat allocations, from inviting team members to claiming or revoking access within customer organizations.

POST

Assign a seat to a user

/v1/customer-seats

Provision a subscription seat for a team member by assigning it to their email address, triggering an invitation for them to activate their access.

10 input
POST

Claim an assigned seat

/v1/customer-seats/claim

Allows a user to accept a seat invitation and gain access to subscription benefits by using their unique invitation token.

1 input
GET

Get seat claim information

/v1/customer-seats/claim/{invitation_token}

Retrieves details about a seat invitation so you can show users what subscription and benefits they'll receive before claiming their seat.

1 input · 3 path
GET

List all assigned seats

/v1/customer-seats

View all currently assigned seats across your customer subscriptions to understand who has access and which seats are in use.

2 input · 3 query
POST

Resend a seat invitation

/v1/customer-seats/{seat_id}/resend

Sends a fresh invitation email to claim a seat assignment when the original invitation was missed, expired, or went to spam. Use this to ensure team members can access their assigned seats without creating duplicate assignments.

1 input · 3 path
DELETE

Revoke a seat assignment

/v1/customer-seats/{seat_id}

Remove a user's access to a subscription by revoking their assigned seat, allowing you to free up that license for another team member.

1 input · 3 path

Customer Sessions

1 operation

Create secure sessions that allow customers to access your customer portal. Use this operation to generate authenticated sessions for self-service account management experiences.

POST

Create a customer portal session

/v1/customer-sessions/

Creates an authenticated session that allows customers to securely access and manage their subscriptions, billing information, and account benefits directly from your application.

Customer Meters

2 operations

Track and retrieve usage meter readings for your customers' consumption-based billing. These operations provide access to the meter data points that drive variable pricing and usage-based revenue calculations.

GET

Get a customer meter reading

/v1/customer-meters/{id}

Retrieve a specific customer's current usage data and billing period information to monitor their consumption levels. Use this to track how much of their plan they've used and identify when they're approaching their limits.

1 input · 3 path
GET

List customer meter readings

/v1/customer-meters/

Retrieve meter readings for your customers to track their usage and monitor billing metrics. This helps you understand consumption patterns and ensure accurate usage-based billing.

7 input · 3 query

Customer Portal

42 operations

Enable your customers to manage their own accounts, subscriptions, and licenses through a self-service experience. These operations support customer autonomy by providing access to portal functionality like profile updates, seat management, and subscription modifications.

POST

Activate a license key from client

/v1/customer-portal/license-keys/activate

Enables customers to activate license keys on their devices or installations directly from your customer portal without requiring authentication. Returns an activation ID that can be used for future deactivation or license management.

5 input
POST

Add a member to your team

/v1/customer-portal/members

Invite a new team member to your organization by email, allowing them to access shared resources and collaborate on projects. If the email is already associated with your team, the existing member record is returned.

3 input
POST

Add a new payment method

/v1/customer-portal/customers/me/payment-methods

Enables customers to securely add and store a new payment method to their account, such as a credit card or alternative payment option. This helps reduce transaction failures and improves customer checkout flexibility.

3 input
POST

Assign a seat to a team member

/v1/customer-portal/seats

Invite a team member to join your subscription by assigning them an available seat and sending them a claim invitation via email.

10 input
DELETE

Cancel your subscription

/v1/customer-portal/subscriptions/{id}

Allows customers to cancel their active subscriptions through a self-service portal, with access typically continuing until the end of the current billing period. This enables solopreneurs to offer a frictionless cancellation experience without manual intervention.

1 input · 3 path
GET

Check payment status for an order

/v1/customer-portal/orders/{id}/payment-status

Retrieve the current payment status for a specific order to understand whether payment is pending, completed, or needs customer action. Use this to provide customers with real-time payment progress updates and determine if follow-up actions are required.

1 input · 3 path
POST

Confirm a pending payment method

/v1/customer-portal/customers/me/payment-methods/confirm

Completes the setup of a new payment method after the customer has finished any required authentication steps, such as 3D Secure verification. This ensures the payment method is fully activated and ready for transactions.

2 input
POST

Confirm a retry payment

/v1/customer-portal/orders/{id}/confirm-payment

Processes a retry payment for an order that previously failed, allowing customers to complete their purchase with an updated payment method. This helps recover lost sales when initial payment attempts don't go through.

4 input · 3 path
POST

Deactivate a license key from client

/v1/customer-portal/license-keys/deactivate

Allows customers to deactivate their license keys from a specific device or installation, immediately freeing up the activation slot for use elsewhere. This is typically called from customer-facing applications when users switch devices or no longer need access on a particular machine.

3 input
POST

Generate an invoice for your order

/v1/customer-portal/orders/{id}/invoice

Generates a PDF invoice for a specific order that customers can download directly from your portal, making it easy for them to access invoices for their accounting needs whenever they need them.

1 input · 3 path
GET

Get a benefit grant by ID

/v1/customer-portal/benefit-grants/{id}

Retrieve detailed information about a specific benefit grant that a customer has received, including what benefit was granted and which subscription it's linked to.

1 input · 3 path
GET

Get a license key by ID

/v1/customer-portal/license-keys/{id}

Retrieve detailed information about a specific license key, including its activation status, usage limits, and expiration date. Use this to verify license validity, check how many devices are still available for activation, or display license details to your customers.

1 input · 3 path
GET

Get a specific usage meter

/v1/customer-portal/meters/{id}

Retrieve detailed usage data for a specific metered resource, including current consumption and billing period information. This helps you display usage breakdowns and progress indicators to your customers.

1 input · 3 path
GET

Get a subscription by ID

/v1/customer-portal/subscriptions/{id}

Retrieve the complete details of a specific subscription, including the current plan, billing period, and product information, so you can display accurate subscription status and management options to your customers.

1 input · 3 path
GET

Get a wallet by ID

/v1/customer-portal/wallets/{id}

View a customer's wallet details including their current balance, currency, and recent transactions to understand their account status and spending activity.

1 input · 3 path
GET

Get an order by ID

/v1/customer-portal/orders/{id}

Fetch detailed information about a specific customer order, including items, pricing, and payment status. This enables you to display order confirmations and billing details to your customers.

1 input · 3 path
GET

Get invoice data for your order

/v1/customer-portal/orders/{id}/invoice

Retrieve detailed invoice information for a specific order, including line items, taxes, and seller details to display or generate custom invoices for your customers.

1 input · 3 path
GET

Get the authenticated portal user

/v1/customer-portal/customer-session/user

Fetch the details of the currently logged-in customer in your portal to personalize their experience and display their account information.

GET

Get the portal organization

/v1/customer-portal/organizations/{slug}

Retrieve your organization's details and branding information for your customer portal by providing its unique identifier, allowing you to display consistent branding across customer-facing pages.

1 input · 3 path
GET

Get your customer profile

/v1/customer-portal/customers/me

Retrieve the authenticated customer's profile information including name, email, billing address, and any custom data stored in their account. Use this to display account settings and pre-fill forms in your customer portal.

GET

Inspect current portal session

/v1/customer-portal/customer-session/introspect

Verify the validity and details of a customer's current portal session, including their identity and permissions. Use this to confirm a customer is logged in and has access to specific features before allowing them to perform actions.

GET

List subscriptions where you have a seat

/v1/customer-portal/seats/subscriptions

Retrieve all subscriptions where the authenticated customer has an active seat, allowing you to display their current team memberships and access to shared subscriptions.

2 input · 3 query
GET

List your benefit grants

/v1/customer-portal/benefit-grants/

Retrieve the list of benefits a customer has earned through their purchases, showing their current entitlements and access rights. Use this to display what the customer has unlocked in your customer portal.

10 input · 3 query
GET

List your downloadable files

/v1/customer-portal/downloadables/

Retrieve a customer's available downloadable files from their purchases so you can display them in a customer portal or dashboard. This lets your customers easily access digital products, software, or media they've bought from you.

3 input · 3 query
GET

List your license keys

/v1/customer-portal/license-keys/

Retrieve all license keys granted to the authenticated customer, enabling them to view and manage their software licenses in one place.

3 input · 3 query
GET

List your order history

/v1/customer-portal/orders/

Retrieve a customer's complete order history including one-time purchases and subscription renewals to display billing records and transaction details in your customer portal.

7 input · 3 query
GET

List your saved payment methods

/v1/customer-portal/customers/me/payment-methods

Retrieve all payment methods saved to your customer account, including credit cards and other payment instruments. Use this to display a payment method management interface where your customers can view and manage their stored payment options.

2 input · 3 query
GET

List your subscriptions

/v1/customer-portal/subscriptions/

Retrieves all active and past subscriptions for the authenticated customer, allowing you to display their subscription history and current plans in your customer portal. Use this to help customers manage their accounts and understand their billing status.

6 input · 3 query
GET

List your team members

/v1/customer-portal/members

Retrieve all members of your team to view and manage who has access to your account. This helps you keep track of your team roster and coordinate permissions across your organization.

2 input · 3 query
GET

List your team seats

/v1/customer-portal/seats

Retrieve all seat assignments for your team members on per-seat subscription plans, including pending invitations and available capacity. This helps you manage who has access to your subscription and track your team's resource usage.

2 input · 3 query
GET

List your usage meters

/v1/customer-portal/meters/

Retrieve your customer's current usage data across metered billing dimensions to display consumption tracking and plan limits in your customer portal.

5 input · 3 query
GET

List your wallets

/v1/customer-portal/wallets/

Retrieve all wallet accounts associated with your customer profile, including their current prepaid credit balances that can be used for purchases or subscriptions.

3 input · 3 query
DELETE

Remove a member from your team

/v1/customer-portal/members/{id}

Revoke a team member's access to your Polar account by removing them from your team. Use this when team members leave or no longer need platform access.

1 input · 3 path
DELETE

Remove a saved payment method

/v1/customer-portal/customers/me/payment-methods/{id}

Allows customers to remove a saved payment method from their account, such as expired or unwanted credit cards. This helps customers manage their payment information and keep their account clean.

1 input · 3 path
POST

Resend a seat invitation email

/v1/customer-portal/seats/{seat_id}/resend

Resend an invitation email to a team member for an unclaimed seat when the original message wasn't received or has been lost. This helps you quickly get team members onboarded without creating duplicate invitations.

1 input · 3 path
DELETE

Revoke a team seat

/v1/customer-portal/seats/{seat_id}

Remove a team member's access to subscription benefits by revoking their assigned seat. This frees up the seat so you can reassign it to another team member when needed.

1 input · 3 path
PATCH

Update a benefit grant

/v1/customer-portal/benefit-grants/{id}

Allows customers to modify settings for their benefit grants, such as changing which GitHub repository is connected or updating custom integration configurations.

1 input · 3 path
PATCH

Update a team member's role

/v1/customer-portal/members/{id}

Change a team member's role and permissions within your organization, allowing you to grant or revoke access levels as your team grows or responsibilities shift.

2 input · 3 path
PATCH

Update order details

/v1/customer-portal/orders/{id}

Allow customers to update their billing information directly, such as correcting their address or custom details for accurate invoicing without requiring manual intervention.

3 input · 3 path
PATCH

Update your customer profile

/v1/customer-portal/customers/me

Allow customers to update their own profile information like name, email, and billing address through your customer portal, reducing the need for manual account management.

3 input
PATCH

Update your subscription

/v1/customer-portal/subscriptions/{id}

Allows customers to modify their subscription details directly, such as upgrading to a higher tier, downgrading their plan, or switching products without needing your intervention.

1 input · 3 path
POST

Validate a license key from client

/v1/customer-portal/license-keys/validate

Verify that a customer's license key is valid and has available activations remaining, enabling you to grant access to your product from client-side applications without exposing sensitive credentials.

7 input

Customers

11 operations

Create, retrieve, and manage your complete customer database and their associated information. These operations form the foundation for customer relationship management, supporting bulk operations, external ID mapping, and full customer state tracking.

GET★ Featured

List all customers

/v1/customers/

Retrieve a paginated list of all customers in your organization with support for filtering by email, organization, and metadata to help you search, manage, and organize customer information.

7 input · 3 query
POST

Create a new customer

/v1/customers/

Create a customer record in Polar to register new buyers before purchase or sync existing customers from your application. This enables you to maintain a unified customer database and track customer relationships across your sales channels.

10 input
DELETE

Delete a customer by external ID

/v1/customers/external/{external_id}

Remove a customer from your billing system and immediately cancel all their active subscriptions and benefits. Use this when you need to delete a user account from your application while ensuring their Polar billing data is also cleaned up.

2 input · 3 path · 3 query
DELETE

Delete a customer permanently

/v1/customers/{id}

Permanently remove a customer record from your business and automatically cancel their active subscriptions and benefits, with an option to anonymize their personal data for privacy compliance.

2 input · 3 path · 3 query
GET

Export customers as CSV

/v1/customers/export

Download your complete customer list as a CSV file containing contact details and metadata for external use or analysis.

1 input · 3 query
GET

Get a customer by ID

/v1/customers/{id}

Retrieve detailed information about a specific customer by their ID, including their email, name, and any associated metadata. Use this to display customer profiles, verify customer identity, or load customer context before performing account operations.

1 input · 3 path
GET

Get a customer's full state

/v1/customers/{id}/state

Retrieve a complete snapshot of a customer's current subscriptions, benefits, and entitlements to understand exactly what they have access to. Use this to check customer status, control feature access, and keep your customer dashboards up-to-date.

1 input · 3 path
GET

Get customer state by external ID

/v1/customers/external/{external_id}/state

Retrieve a customer's subscription status, benefits, and entitlements using your own user ID system, enabling you to check what features they have access to without maintaining separate ID mappings.

1 input · 3 path
GET

Look up a customer by your external ID

/v1/customers/external/{external_id}

Retrieve a customer's account details and subscription information using your own user ID instead of Polar's internal identifier, letting you seamlessly connect your app's user database with their subscription data.

1 input · 3 path
PATCH

Update a customer

/v1/customers/{id}

Modify a customer's profile information including name, email, and billing details to keep your records synchronized with current customer data.

9 input · 3 path
PATCH

Update a customer by external ID

/v1/customers/external/{external_id}

Update customer information in Polar using your own user ID system, keeping customer profiles synchronized between your application and Polar without managing separate ID mappings.

7 input · 3 path

Discounts

5 operations

Design and administer promotional discounts that reduce customer costs or incentivize purchases. Use these operations to create discount campaigns, apply them strategically, and track their usage across your business.

POST

Create a new discount

/v1/discounts/

Create promotional discounts that customers can apply at checkout with percentage or fixed-amount savings. Set up time-limited offers, loyalty rewards, or affiliate codes with optional restrictions by product or redemption limits.

DELETE

Delete a discount

/v1/discounts/{id}

Remove a discount code from circulation to prevent future redemptions while keeping existing orders intact. Use this to retire expired promotions, remove duplicate codes, or disable compromised discounts.

1 input · 3 path
GET

Get a discount by ID

/v1/discounts/{id}

Retrieve detailed information about a specific discount, including its configuration, redemption limits, and usage statistics. Use this to verify discount settings or display discount details to customers and team members.

1 input · 3 path
GET

List all discounts

/v1/discounts/

Retrieve all your discount codes and promotions organized in a paginated list. Use this to track active discounts, manage promotional campaigns, and see what deals are currently available to your customers.

5 input · 3 query
PATCH

Update a discount

/v1/discounts/{id}

Modify an existing discount's settings such as expiration date, redemption limits, or product eligibility. This lets you quickly adjust promotional rules without creating new discounts.

15 input · 3 path

Disputes

2 operations

Monitor and manage payment disputes and chargebacks from your customers. These operations give you visibility into disputed transactions so you can respond appropriately and track dispute resolution status.

GET

Get a dispute by ID

/v1/disputes/{id}

Retrieve detailed information about a specific payment dispute, including the reason, amount, evidence deadline, and current status to investigate and respond to chargebacks.

1 input · 3 path
GET

List all payment disputes

/v1/disputes/

Retrieve a list of payment disputes and chargebacks filed against your account, allowing you to monitor dispute activity and track resolution status.

6 input · 3 query

Event Types

2 operations

Configure and analyze the event types that drive your usage tracking and metrics. These operations help you understand which events are being tracked and their statistical patterns within your system.

GET

List event types with statistics

/v1/event-types/

Retrieve all event types with aggregated statistics including event counts and timestamps to understand which events are active in your system.

10 input · 3 query
PATCH

Update an event type label

/v1/event-types/{id}

Rename how an event type appears in your dashboard and admin interface for better clarity, without affecting the underlying system. Use this to make event names more meaningful and easier to understand at a glance.

3 input · 3 path

Events

4 operations

Record and retrieve usage events that power consumption-based billing and analytics. Use these operations to send customer activity data to Polar and query historical event logs for billing and reporting purposes.

GET

Get an event by ID

/v1/events/{id}

Retrieve detailed information about a specific event including when it occurred, which customer triggered it, and any associated data. Use this to verify event details, investigate billing discrepancies, or audit customer activity.

1 input · 3 path
GET

List all events

/v1/events/

Retrieve a paginated list of events tracked for your organization to monitor usage-based billing and metering data. This helps you verify that your application is sending the correct event data and troubleshoot any billing discrepancies.

16 input · 3 query
GET

List unique event names

/v1/events/names

Retrieves all distinct event names that have been tracked in your organization, allowing you to discover what events are available and verify your application is sending the correct event types.

8 input · 3 query
POST

Send a batch of usage events

/v1/events/ingest

Track and report usage activities from your application to enable accurate usage-based billing and metering. This allows you to measure customer consumption like API calls, compute time, or storage so billing charges reflect actual usage.

1 input

Files

5 operations

Upload and manage files such as product images, documents, or media assets for your business. These operations handle the complete file lifecycle including uploads, metadata updates, and deletion.

POST

Complete a file upload

/v1/files/{id}/uploaded

Finalizes a file upload by confirming that the content has been successfully transferred to the storage location, making the file available for use in your system.

3 input · 3 path
DELETE

Delete a file

/v1/files/{id}

Remove a file from your storage to free up space and clean up outdated or unused media assets.

1 input · 3 path
GET

List all uploaded files

/v1/files/

Retrieve all files you've uploaded to your organization, including product media, downloadable assets, and attachments. Use this to organize your file library, display content to customers, or monitor your storage usage.

4 input · 3 query
PATCH

Update file metadata

/v1/files/{id}

Update a file's name, description, or other metadata without re-uploading the actual content. This lets you keep your file library organized and easy to find.

3 input · 3 path
POST

Upload a new file

/v1/files/

Prepare a file for upload by creating a file record and receiving a presigned URL where you can store your content. This is the first step in adding product images, digital downloads, or other attachments to your Polar workspace.

License Keys

7 operations

Generate and manage license keys for software product protection and distribution. These operations support activation, validation, and deactivation of licenses both from client and server contexts.

POST

Activate a license key server-side

/v1/license-keys/activate

Activate a license key instance from your backend server when a customer purchases or installs your software product. This consumes one activation slot and returns activation details for your records and customer tracking.

5 input
POST

Deactivate a license key server-side

/v1/license-keys/deactivate

Deactivate a license key instance to free up an activation slot, allowing the license to be used on a different device. Use this when you need server-side control over license management, such as when a customer upgrades their device or you're processing license returns.

3 input
GET

Get a license key activation

/v1/license-keys/{id}/activations/{activation_id}

Retrieve detailed information about a specific license key activation, including when it was activated and what device or installation it's associated with. Use this to track and verify which customers or machines are using your licensed software.

2 input · 3 path
GET

Get a license key by ID

/v1/license-keys/{id}

Retrieve detailed information about a specific license key, including its validity status, usage count, and associated customer details. Use this to manage licenses, support customer inquiries, and maintain accurate records of your product activations.

1 input · 3 path
GET

List all license keys

/v1/license-keys/

Retrieve all license keys issued by your organization to view your complete license inventory and monitor their status across customers and products.

4 input · 3 query
PATCH

Update a license key

/v1/license-keys/{id}

Modify license key properties including activation limits, expiration dates, and status to manage customer access and licensing terms. This lets you extend licenses, accommodate upgrades, or disable compromised keys without issuing new ones.

6 input · 3 path
POST

Validate a license key server-side

/v1/license-keys/validate

Verify that a license key is active and has available activations remaining, ensuring customers have valid access to your product or service.

7 input

Members

5 operations

Manage your organization's team members and their access levels. Use these operations to invite collaborators, adjust permissions, and maintain your team structure.

POST

Create a new member

/v1/members/

Invite and add new team members to your organization, enabling you to manage who has access to your workspace and resources.

5 input
GET

Get a member by ID

/v1/members/{id}

Retrieve detailed information about a specific organization member, including their name, email, and role within your organization.

1 input · 3 path
GET

List organization members

/v1/members/

Retrieve all members in your organization with pagination support, allowing you to see who has access to your account and manage team permissions.

5 input · 3 query
DELETE

Remove a member

/v1/members/{id}

Remove a member from your organization and revoke their access to subscriptions and benefits. Use this to offboard team members or manage access changes as your team evolves.

1 input · 3 path
PATCH

Update a member

/v1/members/{id}

Modify a team member's name, role, or permissions within your organization. Use this to update member information, change job titles, or adjust access levels as your team evolves.

3 input · 3 path

Meters

5 operations

Define and monitor the usage dimensions that drive variable pricing for your products. These operations let you create meters, track their values over time, and use them as the basis for consumption-based billing calculations.

POST

Create a new meter

/v1/meters/

Set up a usage-based billing metric that tracks and aggregates customer activity into measurable quantities for charging purposes. This lets you automatically calculate billing amounts based on how customers actually use your product.

5 input
GET

Get a meter by ID

/v1/meters/{id}

Retrieve detailed information about a specific meter to view its configuration, event filtering rules, and how it's calculating metrics for your products.

1 input · 3 path
GET

Get meter quantities over time

/v1/meters/{id}/quantities

Retrieve aggregated meter quantities over a specified time period, broken down by interval to track and analyze usage patterns. This helps you understand consumption trends and create visualizations of how your customers are using your metered services.

9 input · 3 path · 3 query
GET

List all meters

/v1/meters/

Retrieve all usage metrics configured for your organization to see how customer activity is being tracked and billed. This helps you understand your current billing meter setup and manage what you're measuring.

7 input · 3 query
PATCH

Update a meter

/v1/meters/{id}

Modify how a meter tracks and aggregates usage data, including its name, event filters, and calculation methods to ensure accurate billing and usage insights.

6 input · 3 path

Metrics

2 operations

Retrieve high-level business metrics including revenue and subscription analytics. Use these operations to gain insight into your financial performance and customer trends over specific date ranges.

GET

Get available date range for metrics

/v1/metrics/limits

Get the available date range for your metrics data, helping you understand what historical data you can query and analyze. Use this to set up date filters in dashboards and reports without requesting unavailable data.

GET

Get revenue and subscription metrics

/v1/metrics/

Get comprehensive revenue and subscription data across your business over any date range, including total earnings, subscriber counts, and key performance metrics. Use this to understand your financial health and track business growth over time.

9 input · 3 query

Oauth2

9 operations

Manage OAuth2 clients and authentication flows for secure third-party integrations and delegated access. These operations support registering applications, handling token exchanges, and managing user authorization workflows.

DELETE

Delete an OAuth2 client

/v1/oauth2/register/{client_id}

Removes a registered OAuth2 client and immediately invalidates all tokens associated with it, terminating any active sessions. Use this when shutting down an integration or responding to a security breach.

1 input · 3 path
POST

Exchange grant for access token

/v1/oauth2/token

Obtain or refresh API access tokens needed to make authenticated requests to Polar's API after a user authorizes your application. This enables your app to securely access Polar data and features on behalf of your users.

GET

Get an OAuth2 client by ID

/v1/oauth2/register/{client_id}

Retrieve the configuration details of a registered OAuth2 client, including its redirect URIs, scopes, and metadata. This helps you verify client settings and maintain accurate records of your integrations.

1 input · 3 path
GET

Get authenticated user profile

/v1/oauth2/userinfo

Retrieves the profile information of the currently logged-in user, including their email and name, to identify who authorized access to your application.

GET

Initiate OAuth2 authorization

/v1/oauth2/authorize

Redirects users to Polar's consent screen to grant your application permission to access their account, then returns an authorization code your app can exchange for tokens.

POST

Inspect token validity and scopes

/v1/oauth2/introspect

Check whether an access token is still valid and see what permissions it has, along with when it expires. This helps you verify that a user is properly authenticated before allowing them to access protected features in your application.

4 input
POST

Register an OAuth2 client

/v1/oauth2/register

Set up a new application that can connect to Polar and access user data through secure login, requiring you to specify where users will be redirected after authentication and what permissions the app needs.

11 input
POST

Revoke an access or refresh token

/v1/oauth2/revoke

Invalidates an access or refresh token to immediately disconnect a user's account integration or terminate an active session. Revoking a refresh token also invalidates all associated access tokens, providing a clean way to manage authentication state.

4 input
PUT

Update an OAuth2 client

/v1/oauth2/register/{client_id}

Modify your OAuth2 client's settings such as redirect URIs and allowed scopes when your integration requirements change or you need to support new environments.

12 input · 3 path

Orders

6 operations

Create, retrieve, and manage individual orders and their associated invoice data. These operations provide visibility into order history, enable order modifications, and support bulk export for reporting purposes.

GET★ Featured

List all orders

/v1/orders/

Retrieve all completed purchases from your store, including one-time sales and subscription renewals. Use this to view your order history, verify revenue, and automate follow-up actions after customers buy.

11 input · 3 query
GET

Export orders as CSV

/v1/orders/export

Download all your orders in CSV format to use with accounting software, spreadsheets, or financial analysis tools. Perfect for tracking sales data, preparing tax documents, or migrating information to another platform.

2 input · 3 query
POST

Generate an invoice for an order

/v1/orders/{id}/invoice

Create a PDF invoice for a specific order that can be sent to customers or stored for your records. This is useful when you need to provide billing documentation to customers or maintain organized financial records.

1 input · 3 path
GET

Get an order by ID

/v1/orders/{id}

Retrieve complete details about a specific order including line items, amounts, tax information, customer data, and payment status to verify purchase information or investigate order issues.

1 input · 3 path
GET

Get invoice data for an order

/v1/orders/{id}/invoice

Retrieve complete invoice details for a specific order, including line items, taxes, and seller information to use in your business systems.

1 input · 3 path
PATCH

Update an order

/v1/orders/{id}

Modify an order's details such as billing address, internal notes, or custom fields to keep your order information accurate and organized.

3 input · 3 path

Organization Access Tokens

4 operations

Create and manage API tokens for programmatic access to your organization's resources. Use these operations to issue credentials for automation, rotate tokens for security, and control token permissions.

POST

Create an organization access token

/v1/organization-access-tokens/

Generate a reusable access token tied to your organization rather than an individual user, enabling secure programmatic access for automated systems and integrations that persist across team changes.

4 input
GET

List organization access tokens

/v1/organization-access-tokens/

Retrieve all access tokens created for your organization to see which API credentials are active and manage programmatic access. This helps you track and audit which applications or integrations have permission to interact with your organization's data.

4 input · 3 query
DELETE

Revoke an organization access token

/v1/organization-access-tokens/{id}

Immediately revoke API access by deleting an organization access token, preventing any further requests from using that credential.

1 input · 3 path
PATCH

Update an organization access token

/v1/organization-access-tokens/{id}

Modify a token's permissions, description, or resource access rights without needing to generate a new token. This helps you adjust what actions the token can perform or add notes for easier management.

3 input · 3 path

Organizations

4 operations

Set up and manage the top-level organizations that contain your products, customers, and team members. These operations let you create organization structures, update settings, and organize your complete business presence.

POST

Create a new organization

/v1/organizations/

Set up a new organization on Polar to establish a top-level account that will manage products, customers, and billing. Use this when bringing on a new seller or launching a separate brand under your platform.

13 input
GET

Get an organization by ID

/v1/organizations/{id}

Fetch complete details about a specific organization including its name, configuration, and available features. Use this to verify organization settings and understand what capabilities are enabled before performing operations.

1 input · 3 path
GET

List all organizations

/v1/organizations/

Retrieve all organizations you have access to, useful for displaying organization selection menus or syncing your organizational structure with your application.

4 input · 3 query
PATCH

Update an organization

/v1/organizations/{id}

Update your organization's core settings including name, branding, billing information, and feature configurations to keep your business details current and manage capabilities.

13 input · 3 path

Payments

2 operations

Retrieve and analyze payment transactions processed through your checkout or subscription billing. Use these operations to track payment history and reconcile customer charges.

GET

Get a payment by ID

/v1/payments/{id}

Retrieve detailed information about a specific payment transaction including its status, amount, and payment method. Use this to verify transaction details, investigate payment issues, or generate payment receipts for customers.

1 input · 3 path
GET

List all payments

/v1/payments/

Retrieve all payments processed through your organization to track financial transactions and monitor cash flow. This gives you visibility into successful charges, failed payments, and pending transactions for your business.

9 input · 3 query

Products

5 operations

Create and configure the products or services that customers can subscribe to or purchase. These operations let you define product details, pricing structures, and associated benefits that form the core of your offerings.

POST★ Featured

Create a new product

/v1/products/

Add a new product to your catalog with custom pricing, descriptions, and benefits. Use this to launch subscription tiers, one-time purchases, or digital goods that customers can buy.

GET

Get a product by ID

/v1/products/{id}

Retrieve detailed information about a specific product including its pricing, benefits, and media to display on your store or verify product details before processing orders.

1 input · 3 path
GET

List all products

/v1/products/

Retrieve your complete product catalog to display on your website, pricing pages, or integrate with other business tools. Filter products by type and status to find exactly what you need.

11 input · 3 query
PATCH

Update a product

/v1/products/{id}

Modify your product's details including name, description, pricing, and visibility. Changes take effect immediately for new purchases while preserving existing customer agreements.

13 input · 3 path
POST

Update benefits for a product

/v1/products/{id}/benefits

Modify the benefits customers receive when they purchase a product, such as access to license keys, files, or integrations. Use this to add, remove, or update what value your customers get after buying.

2 input · 3 path

Refunds

2 operations

Issue and track refunds for processed payments and orders. Use these operations to handle customer refund requests and maintain accurate financial records of returned transactions.

POST★ Featured

Issue a refund

/v1/refunds/

Process a refund for a previous customer order by returning funds to their original payment method. Use this to handle customer refund requests, resolve billing issues, or automate refund workflows based on support interactions.

6 input
GET

List all refunds

/v1/refunds/

Retrieve all refunds issued by your organization to track refund activity and reconcile your financial records. Use this to monitor customer returns and maintain accurate accounting across your business.

10 input · 3 query

Subscriptions

6 operations

Create and manage recurring subscription agreements with your customers. These operations handle subscription lifecycle management from initial creation through updates, renewals, and cancellation.

POST★ Featured

Create a subscription programmatically

/v1/subscriptions/

Enroll customers directly into free subscriptions without requiring them to go through checkout, ideal for automated provisioning and free tier onboarding.

GET★ Featured

List all subscriptions

/v1/subscriptions/

Retrieve all subscriptions across your organization to monitor recurring revenue and customer retention. Use filters to view subscriptions by product, customer, or status for targeted insights.

11 input · 3 query
GET

Export subscriptions as CSV

/v1/subscriptions/export

Download all your subscription data as a CSV file for easy analysis, reporting, and integration with external tools like spreadsheets or accounting software.

1 input · 3 query
GET

Get a subscription by ID

/v1/subscriptions/{id}

Retrieve complete details about a specific subscription including its status, current period, pricing, and associated customer and product information.

1 input · 3 path
DELETE

Revoke a subscription immediately

/v1/subscriptions/{id}

Immediately terminate a customer's subscription and revoke their access, useful for addressing security issues or enforcing account policies right away.

1 input · 3 path
PATCH

Update a subscription

/v1/subscriptions/{id}

Modify an active subscription's plan, pricing, or custom attributes to reflect customer changes or business adjustments.

1 input · 3 path

Webhooks

8 operations

Set up real-time notifications for events occurring in your Polar account. These operations let you receive event data instantly, manage webhook endpoints, and troubleshoot delivery issues for integration purposes.

POST★ Featured

Create a webhook endpoint

/v1/webhooks/endpoints

Register a URL to receive real-time notifications when subscription, order, or payment events occur in your Polar account. This enables you to automatically sync customer data, trigger workflows, or integrate Polar events with your other business tools.

5 input
DELETE

Delete a webhook endpoint

/v1/webhooks/endpoints/{id}

Permanently remove a webhook endpoint to stop all future event deliveries when you no longer need the integration.

1 input · 3 path
GET

Get a webhook endpoint by ID

/v1/webhooks/endpoints/{id}

Retrieves the configuration details of a specific webhook endpoint, including its URL, subscribed events, and status. Use this to verify your webhook setup is correct or troubleshoot why events aren't being delivered.

1 input · 3 path
GET

List all webhook endpoints

/v1/webhooks/endpoints

View all webhook endpoints your organization has set up to receive real-time events from Polar. Use this to see which URLs are currently configured to receive notifications and manage your event delivery setup.

3 input · 3 query
GET

List webhook delivery attempts

/v1/webhooks/deliveries

View all webhook delivery attempts to see which events successfully reached your endpoints and which failed, helping you troubleshoot delivery issues and ensure your integrations are working reliably.

9 input · 3 query
POST

Redeliver a webhook event

/v1/webhooks/events/{id}/redeliver

Retry sending a failed webhook event to its destination endpoint, useful for recovering from temporary delivery issues or outages without waiting for the next automatic retry attempt.

1 input · 3 path
PATCH

Rotate webhook signing secret

/v1/webhooks/endpoints/{id}/secret

Regenerate the signing secret used to verify webhook messages from Polar, ensuring your webhook endpoint can securely receive and validate future notifications from the platform.

1 input · 3 path
PATCH

Update a webhook endpoint

/v1/webhooks/endpoints/{id}

Modify a webhook endpoint's configuration, including its delivery URL, subscribed events, or active status without losing its history or settings.

6 input · 3 path
What now

Use Polar in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.