Get third-party applications

GET /applications

Get third-party applications filtered by user's organization membership, organization roles, and user roles

Responses

  • 200 application/json

    Applications retrieved successfully

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data array[object]
      Hide data attributes Show data attributes object
      • id string

        Application ID

      • name string

        Application name (FQDN)

      • description string

        Application description

      • redirect_uris array[string]

        OAuth redirect URIs

      • post_logout_redirect_uris array[string]

        Post logout redirect URIs

      • login_url string

        OAuth2 login URL with dynamic scopes and parameters

      • branding object
        Hide branding attributes Show branding attributes object
        • display_name string

          Application display name

        • logo_url string

          Application logo URL

        • dark_logo_url string

          Application dark theme logo URL

  • 401 application/json

    Unauthorized - invalid or missing token

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
  • 500 application/json

    Failed to fetch applications from Logto

    Hide response attributes Show response attributes object
    • code integer

      HTTP error code

    • message string

      Error message

    • data object
      Hide data attributes Show data attributes object
      • type string

        Type of error

        Values are validation_error or external_api_error.

      • errors array[object]
        Hide errors attributes Show errors attributes object
        • key string

          Field name that failed validation

        • message string

          Error code or message

        • value string

          Value that failed validation

      • details

        Additional error details

GET /applications
curl \
 --request GET 'https://api.your-domain.com/api/applications' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 200,
  "message": "Applications retrieved successfully",
  "data": [
    {
      "id": "app_123456789",
      "name": "management.company.com",
      "description": "Management interface for system administrators",
      "redirect_uris": [
        "https://management.company.com/callback"
      ],
      "post_logout_redirect_uris": [
        "https://management.company.com"
      ],
      "login_url": "https://tree6d.logto.app/oidc/auth?client_id=app_123456789&redirect_uri=https%3A%2F%2Fmanagement.company.com%2Fcallback&response_type=code&scope=openid+profile+email+roles&state=random-state-string",
      "branding": {
        "display_name": "Management Console",
        "logo_url": "https://cdn.example.com/logos/management-console.png",
        "dark_logo_url": "https://cdn.example.com/logos/management-console-dark.png"
      }
    }
  ]
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (500)
{
  "code": 400,
  "message": "validation failed",
  "data": {
    "type": "validation_error",
    "errors": [
      {
        "key": "username",
        "message": "required",
        "value": "string"
      }
    ]
  }
}