Fanovate
Fanovate API

Mass Messages

Mass messages, scheduled messages and online campaigns.


Get the state of a withdrawal run

GET
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/einzel-rueckzug/{laufId}
X-API-Key (header)

Progress of one individual withdrawal run.

Get the state of a withdrawal run › path Parameters

id
​integer · required
laufId
​string · minLength: 1 · required

Get the state of a withdrawal run › Responses

Success.


Cancel a withdrawal run

POST
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/einzel-rueckzug/{laufId}/abbrechen
X-API-Key (header)

Stops one running withdrawal run. Messages already withdrawn stay withdrawn.

Cancel a withdrawal run › path Parameters

id
​integer · required
laufId
​string · minLength: 1 · required

Cancel a withdrawal run › Responses

Success.


Send a mass message

POST
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/mass-send
X-API-Key (header)

Sends one message to platform lists, optionally scheduled, with automatic unsend and a follow-up. Runs on the server through the creator session; responds 409 or 503 when the server cannot run it. Rate limited to 20 per minute.

Send a mass message › path Parameters

id
​integer · required

Send a mass message › Request Body

userLists
​string[] · minItems: 1 · maxItems: 50 · required
excludeLists
​string[] · maxItems: 50
Default: []
scheduledDate
​string · date-time
autoUnsendAfterMinutes
​integer · min: 1 · max: 1380
text
​string · maxLength: 8000
Default:
priceCents
​integer · min: 0 · max: 9999999
lockedText
​boolean
​array · maxItems: 20
previews
​integer[] · maxItems: 20
giphyId
​string · pattern: ^[A-Za-z0-9_-]{1,64}…

Send a mass message › Responses

Success.

No data returned

List sent mass messages

GET
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/mass-sends
X-API-Key (header)

Mass messages sent through Fanovate with their withdrawal and follow-up state.

List sent mass messages › path Parameters

id
​integer · required

List sent mass messages › Responses

Success.

​object[] · required

Get the platform statistics of mass messages

GET
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/mass-stats
X-API-Key (header)

The platform's own statistics of mass messages for the last days. Runs on the server through the creator session; responds 409 or 503 when the server cannot run it.

Get the platform statistics of mass messages › path Parameters

id
​integer · required

Get the platform statistics of mass messages › query Parameters

days
​integer

Get the platform statistics of mass messages › Responses

Success.

ok
​boolean · const · required
Const value:
​object[] · required
​array · required

Start an individual withdrawal of a mass message

POST
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/mass-stats/{queueId}/einzel-rueckzug
X-API-Key (header)

Withdraws a sent mass message from the chats of fans who have not answered, one by one, at rateProMin per minute. Text and send date come from the mass message statistics. Runs on the server in the background; returns a run id.

Start an individual withdrawal of a mass message › path Parameters

id
​integer · required
queueId
​string · pattern: ^\d+$ · required

Start an individual withdrawal of a mass message › Request Body

text
​string · minLength: 1 · maxLength: 8000 · required
date
​string · date-time · required
empfaenger
​integer · min: 0 · max: 1000000
rateProMin
​integer · min: 10 · max: 120
Default: 60

Start an individual withdrawal of a mass message › Responses

Success.

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object · requires: ok, laufId
type = object · requires: ok, reason
Properties for Variant 1:
ok
​boolean · const · required
Const value:
​required

List scheduled messages

GET
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/scheduled-list
X-API-Key (header)

Reads the platform queue of scheduled messages. Runs on the server through the creator session; responds 409 or 503 when the server cannot run it.

List scheduled messages › path Parameters

id
​integer · required

List scheduled messages › Responses

Success.

ok
​boolean · const · required
Const value:
​object[] · required
summary
​

Schedule a message to one fan

POST
https://api.fanovate.io
/dashboard/api/v1/creators/{id}/scheduled-send
X-API-Key (header)

Puts a message into the platform queue for a later time. Runs on the server through the creator session; responds 409 or 503 when the server cannot run it.

Schedule a message to one fan › path Parameters

id
​integer · required

Schedule a message to one fan › Request Body

fanIds
​string[] · minItems: 1 · maxItems: 1 · required
scheduledAt
​string · date-time · required
text
​string · maxLength: 8000
Default:
priceCents
​integer · min: 0 · max: 9999999
lockedText
​boolean
​array · maxItems: 20
previews
​integer[] · maxItems: 20
giphyId
​string · pattern: ^[A-Za-z0-9_-]{1,64}…

Schedule a message to one fan › Responses

Success.

No data returned

Cancel a scheduled message

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

Removes an entry from the platform queue. Runs on the server through the creator session; responds 409 or 503 when the server cannot run it.

Cancel a scheduled message › path Parameters

id
​integer · required
queueId
​string · minLength: 1 · maxLength: 40 · required

Cancel a scheduled message › Responses

Success.

ok
​boolean · const · required
Const value:

List campaigns

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

List campaigns › query Parameters

creatorId
​integer
status
​string

List campaigns › Responses

Success.

​object[]
No data returned

Create a mass message campaign

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

Requires the setup_omm permission. Creates and starts, schedules or sets up a recurring mass message. Sending runs on the server. Responds 409 on an illegal state transition.

Create a mass message campaign › Request Body

creatorId
​integer · required
body
​string · minLength: 1 · maxLength: 5000 · required
wennLaeuft
​string · enum
Enum values:
planen
laufendePausieren
name
​string · maxLength: 120
​object
ppvAmountCents
​integer | null · min: 0 · max: 1000000
mediaIds
​string[] · maxItems: 20
scheduleKind
​string · enum
Enum values:
immediate
scheduled
recurring
Default: immediate
scheduledAt
​string · date-time
​object

Create a mass message campaign › Responses

Success.

No data returned

Get a campaign

GET
https://api.fanovate.io
/dashboard/api/v1/omm/{id}
X-API-Key (header)

Get a campaign › path Parameters

id
​integer · required

Get a campaign › Responses

Success.

No data returned

Update a campaign

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

Requires the setup_omm permission.

Update a campaign › path Parameters

id
​integer · required

Update a campaign › Request Body

name
​string · maxLength: 120
startsAt
​string · date-time
expiresAt
​string · date-time
includeLists
​string[] · maxItems: 50
Default: []
excludeLists
​string[] · maxItems: 50
Default: []
cooldownSeconds
​integer · min: 1 · max: 86400
minuteDelay
​integer · min: 0 · max: 1440
Default: 0
sendWindowStart
​integer | null · min: 0 · max: 1439
sendWindowEnd
​integer | null · min: 0 · max: 1439
sendWindowTz
​string | null · maxLength: 64
onlyActiveFans
​boolean
Default: false
neverChattedOnly
​boolean
Default: false
sendAsFirstMessage
​boolean
Default: false
gemuteteAusschliessen
​boolean
wennLaeuft
​string · enum
Enum values:
planen
laufendePausieren
creatorId
​integer
mode
​string · enum
Enum values:
online
mass
​object[] · minItems: 1
​object[]

Update a campaign › Responses

Success.

No data returned

Pause a campaign

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/pause
X-API-Key (header)

409 on an illegal state transition.

Pause a campaign › path Parameters

id
​integer · required

Pause a campaign › Responses

Success.

No data returned

Resume a campaign

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/resume
X-API-Key (header)

Sending runs on the server. Responds 409 on an illegal state transition.

Resume a campaign › path Parameters

id
​integer · required

Resume a campaign › Responses

Success.

No data returned

Get the withdrawal status of a campaign

GET
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/rueckzug
X-API-Key (header)

Get the withdrawal status of a campaign › path Parameters

id
​integer · required

Get the withdrawal status of a campaign › Responses

Success.

No data returned

Stop a running withdrawal

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/rueckzug/stopp
X-API-Key (header)

409 when no withdrawal is running.

Stop a running withdrawal › path Parameters

id
​integer · required

Stop a running withdrawal › Responses

Success.

No data returned

Start a campaign

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/start
X-API-Key (header)

Sending runs on the server. Responds 409 on an illegal state transition.

Start a campaign › path Parameters

id
​integer · required

Start a campaign › Responses

Success.

No data returned

Get campaign statistics

GET
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/stats
X-API-Key (header)

Dispatch counts per status; purchase data only with the of_statistics permission.

Get campaign statistics › path Parameters

id
​integer · required

Get campaign statistics › Responses

Success.

No data returned

Stop a campaign

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/stop
X-API-Key (header)

409 on an illegal state transition.

Stop a campaign › path Parameters

id
​integer · required

Stop a campaign › Responses

Success.

No data returned

Withdraw a campaign

POST
https://api.fanovate.io
/dashboard/api/v1/omm/{id}/withdraw
X-API-Key (header)

Sending runs on the server. Responds 409 on an illegal state transition.

Withdraw a campaign › path Parameters

id
​integer · required

Withdraw a campaign › Responses

Success.

No data returned

Estimate the audience of a campaign

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

Computes the expected recipient count for a target definition. Does not create or send anything.

Estimate the audience of a campaign › Request Body

creatorId
​integer · required
includeLists
​string[] · maxItems: 50
Default: []
excludeLists
​string[] · maxItems: 50
Default: []
onlyActiveFans
​boolean
Default: false
neverChattedOnly
​boolean
Default: false
sendAsFirstMessage
​boolean
Default: false
gemuteteAusschliessen
​boolean
Default: false
nieGechatteteEinbeziehen
​boolean
Default: false
mode
​string · enum
Enum values:
online
mass
Default: online
excludeRecentlyMessagedMinuten
​integer · min: 0 · max: 100000
Default: 0

Estimate the audience of a campaign › Responses

Success.

No data returned

Create an online campaign

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

Requires the setup_omm permission. Creates a campaign that messages fans while they are online. Sending runs on the server. Responds 409 on an illegal state transition.

Create an online campaign › Request Body

creatorId
​integer · required
​object[] · minItems: 1 · required
name
​string · maxLength: 120
startsAt
​string · date-time
expiresAt
​string · date-time
includeLists
​string[] · maxItems: 50
Default: []
excludeLists
​string[] · maxItems: 50
Default: []
cooldownSeconds
​integer · min: 1 · max: 86400
minuteDelay
​integer · min: 0 · max: 1440
Default: 0
sendWindowStart
​integer | null · min: 0 · max: 1439
sendWindowEnd
​integer | null · min: 0 · max: 1439
sendWindowTz
​string | null · maxLength: 64
onlyActiveFans
​boolean
Default: false
neverChattedOnly
​boolean
Default: false
sendAsFirstMessage
​boolean
Default: false
gemuteteAusschliessen
​boolean
wennLaeuft
​string · enum
Enum values:
planen
laufendePausieren
mode
​string · enum
Enum values:
online
mass
​object[]

Create an online campaign › Responses

Success.

No data returned

Get the campaign settings of a creator

GET
https://api.fanovate.io
/dashboard/api/v1/omm/settings/{creatorId}
X-API-Key (header)

Get the campaign settings of a creator › path Parameters

creatorId
​integer · required

Get the campaign settings of a creator › Responses

Success.

No data returned