Docs

Create Subscription

Creates a subscription in Assembly.com.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
string

The ID of the client this subscription is assigned to. Leave empty if assigning to a company.

string

The ID of the company this subscription is assigned to. This is required when assigning to a company.

string

Unique ID of the invoice template to use. If provided, template values will be used for line items and invoice metadata.

array of object

Array of line items. Required if templateId is not provided.

numberrequired

Quantity of the item (supports decimals).

number

Amount in cents. Required if priceId is not provided.

string

Unique ID of the price object. Required if amount is not provided.

string

Description of the item, ignored if priceId is provided.

string

Arbitrary string attached to the invoice, often used for display.

numberrequired

The number of days from when the subscription invoice is created until it is due. Max value is 30.

number

Tax percentage to apply to the invoice amount.

string

Billing frequency. Required if line items do not include a recurring price. Values: day, week, month, quarterly, yearly.

number

Number of intervals between billings. Default value is 1.

array of objectrequired

Array of preferences which specify which payment methods are allowed and how transaction fees are handled for each payment method.

stringrequired

Payment method type. Values are creditCard or bankAccount.

booleanrequired

When true, the transaction fee is paid by the client, otherwise it is covered by your account.

stringrequired

Specify how to charge for an invoice. Values: sendInvoice or chargeAutomatically.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.