Fanovate
Fanovate API

Free Trial Links

Operations of the group Free Trial Links.


GET
https://api.fanovate.io
/dashboard/api/v1/free-trial-links
X-API-Key (header)

Free trial links with claim counts; revenue figures need the statistics permission on the creator. Optionally limited to one creator.

List free trial links › query Parameters

creatorId
​integer

List free trial links › Responses

Success.


POST
https://api.fanovate.io
/dashboard/api/v1/free-trial-links
X-API-Key (header)

Creates a link that grants a trial of 1 to 8760 hours. The slug is generated when omitted.

Create a free trial link › Request Body

creatorId
​integer · required
durationHours
​integer · min: 1 · max: 8760 · required
label
​string · maxLength: 120
destination
​string · maxLength: 200
capacity
​integer | null · min: 1 · max: 1000000
slug
​string · pattern: ^[a-zA-Z0-9-]{3,32}$

Create a free trial link › Responses

Success.


PATCH
https://api.fanovate.io
/dashboard/api/v1/free-trial-links/{id}
X-API-Key (header)

Changes label, destination, duration, capacity or the disabled flag.

Update a free trial link › path Parameters

id
​integer · required

Update a free trial link › Request Body

label
​string · maxLength: 120
destination
​string · maxLength: 200
durationHours
​integer · min: 1 · max: 8760
capacity
​integer | null · min: 1 · max: 1000000
disabled
​boolean

Update a free trial link › Responses

Success.


DELETE
https://api.fanovate.io
/dashboard/api/v1/free-trial-links/{id}
X-API-Key (header)

Deletes one link.

Delete a free trial link › path Parameters

id
​integer · required

Delete a free trial link › Responses

Success.