Resources

Get API resources

Changed on

Get API resources in the current tenant with pagination.

get/api/resources

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/resources
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Query parameters

includeScopesstring

If it's provided with a truthy value (true, 1, yes), the scopes of each resource will be included in the response.

excludeManagementApisstring

If it's provided with a truthy value (true, 1, yes), Logto Management API resources will be excluded from the response.

pageinteger

Page number (starts from 1).

page_sizeinteger

Entries per page.

Response

An array of resources.

tenantIdstring required
idstring required
namestring required
indicatorstring required
isDefaultboolean required
accessTokenTtlnumber required

Changes