Skip to main content
GET
/
templates
/
type
/
{type}
Get Templates by Type
curl --request GET \
  --url https://forgegames.org/api/templates/type/{type} \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "type": "gacha",
    "config": {
      "pityThreshold": 1,
      "rateUpMultiplier": 1,
      "sparkCurrency": 1,
      "baseRates": {}
    },
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

type
enum<string>
required
Available options:
gacha,
roguelike,
idle,
card_pack

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