CreatorHero
CreatorHero API

Licenses (plan subscriptions with a number of creator seats) of the agency.


List licenses

GET
https://backend.creatorhero.com
/dashboard/api/v1/license/list

Licenses of the authenticated user's agency. quantity is the number of creator seats, activeUsed the number of creators using the license.

List licenses › query Parameters

plan
​string

basic, advanced or professional, case-insensitive; empty = all

type
​string

MONTHLY or YEARLY, case-insensitive; empty = all

List licenses › Responses

200

Licenses

​LicenseDto[]
License of the agency: a plan subscription with a number of creator seats
id
​integer · int32

ID of the license

quantity
​integer · int64

Number of creator seats

plan
​string

Plan name, with the suffix _yearly for yearly billing

disabled
​boolean

Whether the license is disabled; its creators lose the plan features

unpaid
​boolean

Whether a payment for the license failed; the license is disabled at paymentFailExpiration if it stays unpaid

paymentFailExpiration
​string · date-time

When the license gets disabled if invoices are still unpaid (UTC); null when there is no failed payment

activeUsed
​integer · int32

Number of creators using the license

ownerId
​integer · int32

ID of the agency that owns the license

subscriptionId
​string

ID of the license's billing subscription; null for free licenses


List licenses a creator can upgrade to

GET
https://backend.creatorhero.com
/dashboard/api/v1/license/creator/{creatorId}

Licenses of the agency with free seats (available) on a higher plan than the creator's current license (any plan if it has none), in usableLicenses, with their plan names in planDisplayNames. canUpgrade is true when there is at least one. Requires the agency owner or a team admin.

List licenses a creator can upgrade to › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List licenses a creator can upgrade to › Responses

Upgrade options

Licenses on a higher plan than the creator's current one that still have free seats
​UsableLicenseDto[]

Licenses the creator can be moved to

canUpgrade
​boolean

Whether at least one license is available for an upgrade

planDisplayNames
​string[]

Display names of the licenses' plans with billing period, e.g. Professional (Monthly), in the order of usableLicenses