Skip to main content
POST
Create Template

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Creates a template with type-specific configuration

name
string
required
type
enum<string>
required
Available options:
gacha,
roguelike,
idle,
card_pack
config
object
required
id
string
createdAt
string
updatedAt
string | null

Response

Successful response

id
string
required
teamId
string
required
name
string
required
type
enum<string>
required
Available options:
gacha,
roguelike,
idle,
card_pack
config
object
required
createdAt
string
required
updatedAt
string | null
required