The Cloudsmith Developer Hub

Welcome to the Cloudsmith Developer Hub. You'll find comprehensive guides and documentation to help you start working with Cloudsmith as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Zapier

How to integrate Zapier with Cloudsmith

Cloudsmith provides a Zapier integration to manage your entitlement codes; allowing you to hook up almost any shopping cart to enable Cloudsmith as your digital asset distribution provider.

No Code Entitlements

The Cloudsmith API gives you full control of repository entitlements; allowing you to create, destroy and distribute tokens when you detect an event. Just create a Zap, configure your API Key, and you'll be all set.

Setup

The Cloudsmith Zapier Integration uses your Cloudsmith API Key for authentication:

Zapier Cloudsmith API Key setup

You can get your Cloudsmith API key from your user settings page when you have logged into the Cloudsmith website, or by using the Cloudsmith CLI cloudsmith login command.


Actions

The Cloudsmith Zapier Integration currently provides two actions:

  • Create Entitlement Token
  • Disable Entitlement Token

Please see Entitlements for more information on Cloudsmith Entitlement Tokens.


Create Entitlement Token

The Create Entitlement Token action has three required fields:

Zapier Create Entitlement Token Fields

Fields

Field NameDescriptionRequired
Token NameA name for the Token within the repository
Repository OwnerThe username or organisation name that owns the repository
RepositoryThe repository identifier (also called the slug)
Token StringA string for the token itself. If one is not provided, a random string will be generated.
Is ActiveA boolean defines if the token is enabled or disabled
Valid FromThe start date that the token is valid from
Valid ToThe end date that the token is valid until
Limit Number of DownloadsThe maximum number of downloads that the Token allows
Limit Number of ClientsThe maximum number of clients (Unique IP addresses) allowed by the token
Limit Package QueryThe package-based search query to apply to restrict downloads. See Searching / Filtering for further details.
Limit Path QueryThe path-based search query to apply to restrict downloads.The path evaluated does not include the domain name, the namespace, the entitlement code used, the package format, etc. and it always starts with a forward slash.

Disable Entitlement Token

The Disable Entitlement Token action has three required fields:

Zapier Delete Entitlement Token Fields

Fields

Field NameDescriptionRequired
Repository OwnerThe username or organisation name that owns the repository
RepositoryThe repository identifier (also called the slug)
Entitlement IdentifierThe unique identifier for a token within a repository (see Entitlements for further information on tokens and identifiers)

Updated 23 days ago


Zapier


How to integrate Zapier with Cloudsmith

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.