Fanovate
Fanovate API

Automated Messages

Operations of the group Automated Messages.


List automated message templates

GET
https://api.fanovate.io
/dashboard/api/v1/auto-templates
X-API-Key (header)

Templates of one creator, optionally filtered by kind: welcome, rebill, ppv_followup, auto_follow or welcome_followup. Requires access to the creator.

List automated message templates › query Parameters

creatorId
​integer · required
kind
​string · enum
Enum values:
welcome
rebill
ppv_followup
auto_follow
welcome_followup

List automated message templates › Responses

Success.


Create automated message template

POST
https://api.fanovate.io
/dashboard/api/v1/auto-templates
X-API-Key (header)

Creates a welcome, rebill, PPV follow-up or follow template for a creator. PPV prices must reach the platform minimum.

Create automated message template › Request Body

creatorId
​integer · required
kind
​string · enum · required
Enum values:
welcome
rebill
ppv_followup
auto_follow
welcome_followup
body
​string · minLength: 1 · maxLength: 5000 · required
name
​string · maxLength: 120
enabled
​boolean
delayMinutes
​integer · min: -43200 · max: 43200
ppvAmountCents
​integer | null · min: 0 · max: 1000000
​object
mediaIds
​string[] · maxItems: 20
noTimeframe
​boolean
timeframeStartMin
​integer | null · min: 0 · max: 1439
timeframeEndMin
​integer | null · min: 0 · max: 1439
includeTrackingLink
​string | null · maxLength: 64
excludeTrackingLink
​string | null · maxLength: 64
followUpEnabled
​boolean
followUpBody
​string | null · maxLength: 5000
followUpMinutes
​integer | null · min: 0 · max: 43200
followUpIfNotSeen
​boolean
fallback
​string · maxLength: 80
replaceCustomWithName
​boolean

Create automated message template › Responses

Success.


Update automated message template

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

Changes the given fields of one template. Creator and kind cannot be changed.

Update automated message template › path Parameters

id
​integer · required

Update automated message template › Request Body

name
​string · maxLength: 120
enabled
​boolean
body
​string · minLength: 1 · maxLength: 5000
delayMinutes
​integer · min: -43200 · max: 43200
ppvAmountCents
​integer | null · min: 0 · max: 1000000
​object
mediaIds
​string[] · maxItems: 20
noTimeframe
​boolean
timeframeStartMin
​integer | null · min: 0 · max: 1439
timeframeEndMin
​integer | null · min: 0 · max: 1439
includeTrackingLink
​string | null · maxLength: 64
excludeTrackingLink
​string | null · maxLength: 64
followUpEnabled
​boolean
followUpBody
​string | null · maxLength: 5000
followUpMinutes
​integer | null · min: 0 · max: 43200
followUpIfNotSeen
​boolean
fallback
​string · maxLength: 80
replaceCustomWithName
​boolean

Update automated message template › Responses

Success.


Delete automated message template

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

Deletes one template.

Delete automated message template › path Parameters

id
​integer · required

Delete automated message template › Responses

Success.

ok
​boolean · required

Get automation metrics

GET
https://api.fanovate.io
/dashboard/api/v1/auto-templates/metrics
X-API-Key (header)

Send and revenue figures of the automated templates of one creator.

Get automation metrics › query Parameters

creatorId
​integer · required

Get automation metrics › Responses

Success.