CreatorHero
CreatorHero API

Inbox Indication Colors

Colors that mark fans in the inbox by spend. Each color has a price: the lower spend boundary it applies from. Colors are sent and returned as hex (#RGB, #RGBA, #RRGGBB or #RRGGBBAA). Requires the "Modify Creator Settings" permission for the creator.


Move inbox color to another price

PUT
https://backend.creatorhero.com
/dashboard/api/v1/settings/edit-color

Moves the color with id to a new spend boundary. Body: {"price": 300}, greater than 0.

Move inbox color to another price › query Parameters

creatorId
​integer · int64 · required

ID of the creator

id
​integer · int32 · required

ID of the color

Move inbox color to another price › Request Body

New spend boundary of an inbox indication color
price
​integer · int32

New lower fan spend boundary; greater than 0, not used by another color

Move inbox color to another price › Responses

Moved color

id
​integer · int32
colorHex
​string

The hex of the main color (supports alpha)

backgroundColorHex
​string

The hex of the background color (supports alpha)


Add inbox color

POST
https://backend.creatorhero.com
/dashboard/api/v1/settings/add-color

Adds a color for a spend boundary. Body: price (greater than 0, not used by another color), colorHex and optional backgroundColorHex.

Add inbox color › query Parameters

creatorId
​integer · int64 · required

ID of the creator

Add inbox color › Request Body

New inbox indication color
price
​integer · int32

Lower fan spend boundary the color applies from; greater than 0, not used by another color

colorHex
​string

Main color as hex (#RGB, #RGBA, #RRGGBB or #RRGGBBAA)

backgroundColorHex
​string

Background color as hex; omit for none, must not be blank

Add inbox color › Responses

Created color

id
​integer · int32
colorHex
​string

The hex of the main color (supports alpha)

backgroundColorHex
​string

The hex of the background color (supports alpha)


Update inbox color

PATCH
https://backend.creatorhero.com
/dashboard/api/v1/settings/colors/{id}

Changes price, color and backgroundColor of one color, including the default color (whose price cannot change). price 0 or missing and invalid colors are ignored. An empty or missing backgroundColor removes the background color.

Update inbox color › path Parameters

id
​integer · int32 · required

ID of the color

Update inbox color › Request Body

Changes to an inbox indication color
price
​integer · int32

The lower price boundary associated with this color. This price must not already exist for the creator's settings.

Must be greater than 0.

If this field is present, the changes will be made, but not returned in the response.

color
​string

The hex of the main color (supports alpha)

backgroundColor
​string

The hex of the background color (supports alpha)

Update inbox color › Responses

Updated color

id
​integer · int32
colorHex
​string

The hex of the main color (supports alpha)

backgroundColorHex
​string

The hex of the background color (supports alpha)


Delete inbox color

DELETE
https://backend.creatorhero.com
/dashboard/api/v1/settings/delete-color

Deletes the color with id. An unknown id is ignored.

Delete inbox color › query Parameters

creatorId
​integer · int64 · required

ID of the creator

id
​integer · int32 · required

ID of the color

Delete inbox color › Responses

200

Deleted

No data returned