Skip to content

List Course Packages

Endpoint used to retrieve the list of course packages in Toolzz LMS.

Terminal window
curl --request GET \
--url 'https://kong.api.toolzz.com.br/api/plans/' \
--header 'Authorization: Bearer <token>'
{
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uuid": "<string>",
"instituicao_id": 1,
"user_id": 1,
"external_id": "<string>",
"transaction_operator": "<string>",
"name": "<string>",
"cover": "<string>",
"interval": "<string>",
"trial_days": 0,
"amount": "<string>",
"payment_method": "<string>",
"max_installments": 12,
"description": "<string>",
"status": "<string>",
"public": 1,
"created_at": "<string>",
"updated_at": "<string>",
"checkout_url": "<string>",
"checkout_external": 0
}
]
}
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes

KeyTypeDescription
dataobjectList of course packages.
data.current_pagenumberCurrent page number of the result set.
data.dataarrayList of course packages.
data.data.idnumberUnique identifier of the course package.
data.data.uuidstringUniversal unique identifier (UUID) of the course package.
data.data.instituicao_idnumberID of the institution associated with the package.
data.data.user_idnumberID of the user associated with the package.
data.data.external_idstringExternal ID, if available.
data.data.transaction_operatorstringPayment system used in the transaction.
data.data.namestringName of the course package.
data.data.coverstringURL of the course package cover image.
data.data.intervalstringSubscription interval (e.g., months, years).
data.data.trial_daysnumberNumber of trial days before payment.
data.data.amountstringPrice of the course package.
data.data.payment_methodstringPayment method used (e.g., credit card).
data.data.max_installmentsnumberMaximum number of installments allowed.
data.data.descriptionstringDescription of the course package.
data.data.statusstringPackage status (e.g., Active, Inactive).
data.data.publicnumberIndicates if the package is public (1) or private (0).
data.data.created_atstringDate and time the package was created.
data.data.updated_atstringDate and time the package was last updated.
data.data.checkout_urlstringURL for the checkout process.
data.data.checkout_externalnumberIndicates if checkout is external (1) or internal (0).

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.