Environments

Gets the current environment.

<div> <code>read:environments</code> </div>
get/api/v1/environment

Request

  • Base URL: https://your_kinde_subdomain.kinde.com
  • URL: https://your_kinde_subdomain.kinde.com/api/v1/environment
  • Auth: HTTP bearer

Response

Environment successfully retrieved.

codestring

Response code.

messagestring

Response message.

Example response

{
  "code": "OK",
  "message": "success_response",
  "environment": {
    "code": "production",
    "name": "Production",
    "google_analytics_tag": "G-1234567",
    "contentsquare_tag_id": "769238b6e1309",
    "is_default": true,
    "is_live": true,
    "kinde_domain": "example.kinde.com",
    "custom_domain": "app.example.com",
    "logo": "https://yoursubdomain.kinde.com/logo?org_code=org_1ccfb819462&cache=311308b8ad3544bf8e572979f0e5748d",
    "logo_dark": "https://yoursubdomain.kinde.com/logo_dark?org_code=org_1ccfb819462&cache=311308b8ad3544bf8e572979f0e5748d",
    "favicon_svg": "https://yoursubdomain.kinde.com/favicon_svg?org_code=org_1ccfb819462&cache=311308b8ad3544bf8e572979f0e5748d",
    "favicon_fallback": "https://yoursubdomain.kinde.com/favicon_fallback?org_code=org_1ccfb819462&cache=311308b8ad3544bf8e572979f0e5748d",
    "link_color": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "background_color": {
      "raw": "#ffffff",
      "hex": "#ffffff",
      "hsl": "hsl(0, 0%, 100%)"
    },
    "button_color": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "button_text_color": {
      "raw": "#ffffff",
      "hex": "#ffffff",
      "hsl": "hsl(0, 0%, 100%)"
    },
    "link_color_dark": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "background_color_dark": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "button_text_color_dark": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "button_color_dark": {
      "raw": "#0056F1",
      "hex": "#0056F1",
      "hsl": "hsl(220, 100%, 50%)"
    },
    "button_border_radius": 8,
    "card_border_radius": 16,
    "input_border_radius": 4,
    "created_on": "2021-01-01T00:00:00Z"
  }
}

Changes