CreatorHero
CreatorHero API

Automation Run Settings

When the creator's automations run: ALWAYS_RUN, RUN_WHEN_ONLINE or CUSTOM_TIMES; fromTime and toTime (UTC) apply to CUSTOM_TIMES. Requires the "Modify Creator Settings" permission for the creator.


List automation run settings

GET
https://backend.creatorhero.com
/dashboard/api/v1/settings/automation/{creatorId}

Returns each automation of the creator (serviceType) with its runBehavior, fromTime and toTime.

List automation run settings › path Parameters

creatorId
​integer · int64 · required

ID of the creator

List automation run settings › Responses

200

Automation run settings

serviceType
​string
runBehavior
​string
fromTime
​string
toTime
​string

Set automation run setting

POST
https://backend.creatorhero.com
/dashboard/api/v1/settings/automation/{creatorId}

Sets runBehavior of the automation serviceType (e.g. ONLINE_MASS_MESSAGES), creating the entry if needed, and returns all run settings. fromTime and toTime (HH:mm:ss, UTC; the window may cross midnight) change only when both are sent. Send only the documented serviceType and runBehavior values; unknown values are not rejected.

Set automation run setting › path Parameters

creatorId
​integer · int64 · required

ID of the creator

Set automation run setting › Request Body

Run setting of one creator automation
serviceType
​string · required

Automation type, e.g. ONLINE_MASS_MESSAGES

runBehavior
​string · required

When the automation runs: ALWAYS_RUN, RUN_WHEN_ONLINE or CUSTOM_TIMES

fromTime
​string

Start of the CUSTOM_TIMES window (HH:mm:ss); applied only together with toTime

toTime
​string

End of the CUSTOM_TIMES window (HH:mm:ss); applied only together with fromTime

Set automation run setting › Responses

200

All automation run settings

serviceType
​string
runBehavior
​string
fromTime
​string
toTime
​string