Skip to main content

GET /classic/packages

List active packages partners can pick from when initializing a classic group.

Only returns active packages. micro packages are meant to top up larger groups; standard packages are the main offerings.

Use case

Render the package picker UI; use package _id as aSelectedPackageIds / aSelectedMicroIds in /classic/initialize.

Query params

FieldTypeRequiredDescription
eTypestringnomicro or standard to filter. Omit to get both.

Response 200

{
"packages": [
{
"_id": "...",
"sName": "9 SOL",
"nSOL": 9,
"nBots": 3,
"bIsMicro": false,
"bIsActive": true
}
]
}

Errors

StatusMeaning
400eType is not micro or standard.

Example

curl -H "Authorization: Bearer $ACCESS" \
"$BASE_URL/classic/packages?eType=standard"