GET
/
environments
/
{environmentId}
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "settings": {
    "chains": [
      {
        "name": "<string>",
        "enabled": true,
        "networks": [
          {
            "networkId": "1",
            "chainName": "Ethereum Mainnet",
            "enabled": true,
            "rpcUrl": "<string>"
          }
        ]
      }
    ],
    "kyc": [
      {
        "name": "<string>",
        "required": true,
        "enabled": true,
        "unique": true,
        "verify": true
      }
    ],
    "design": {
      "modal": {
        "border": "<string>",
        "brand": "<string>",
        "primaryColor": "<string>",
        "radius": 123,
        "theme": "<string>",
        "view": "<string>",
        "template": "<string>",
        "displayOrder": [
          "<string>"
        ],
        "emailOnly": true,
        "showWalletsButton": true,
        "emailSubmitButtonInsideInput": true,
        "splitEmailAndSocial": true,
        "socialAboveEmail": true
      },
      "button": {
        "background": "<string>",
        "fontColor": "<string>",
        "paddingHeight": 123,
        "paddingWidth": 123,
        "radius": 123
      },
      "widget": {
        "backgroundColor": "<string>",
        "border": "<string>",
        "radius": 123,
        "textColor": "<string>",
        "theme": "<string>"
      }
    },
    "general": {
      "displayName": "<string>",
      "supportEmail": "jsmith@example.com",
      "supportText": "<string>",
      "appLogo": "<string>",
      "imageUserNotInAccessList": "<string>",
      "imageUserInAccessList": "<string>",
      "supportUrls": {
        "slack": "https://dynamic.xyz",
        "twitter": "https://dynamic.xyz"
      },
      "collectUserDataWelcomeHeader": "<string>",
      "collectUserDataWelcomeMessage": "<string>",
      "skipOptionalKYCFieldDuringOnboarding": true,
      "emailCompanyName": "An example name"
    },
    "privacy": {
      "collectIp": true
    },
    "providers": [
      {
        "id": "95b11417-f18f-457f-8804-68e361f9164f",
        "provider": "emailOnly",
        "enabledAt": "2023-11-07T05:31:56Z",
        "clientId": "<string>",
        "clientSecret": "<string>",
        "providerProjectId": "<string>",
        "authorizationUrl": "<string>",
        "redirectUrl": "<string>",
        "defaultChainId": 123,
        "keyExportUrl": "<string>",
        "termsAcceptedByUser": {
          "termsUrl": "<string>",
          "email": "jsmith@example.com",
          "userId": "95b11417-f18f-457f-8804-68e361f9164f",
          "createdAt": "2023-11-07T05:31:56Z"
        },
        "appleKeyId": "<string>",
        "appleTeamId": "<string>"
      }
    ],
    "sdk": {
      "socialSignIn": {
        "signInProvider": "dynamic",
        "providers": [
          {
            "provider": "apple",
            "enabled": true
          }
        ]
      },
      "multiWallet": true,
      "multiWalletUnlinkDisabled": true,
      "confirmWalletTransfers": true,
      "onrampFunding": true,
      "passkeyEmbeddedWalletEnabled": true,
      "automaticEmbeddedWalletCreation": true,
      "passkeyEmbeddedWalletRecoveryEnabled": true,
      "embeddedWalletSecurityMethods": [
        "passkey"
      ],
      "walletConnect": {
        "projectId": "<string>",
        "v2Enabled": true
      },
      "confirmEmailProviderForVerify": true,
      "displayDynamicMessaging": true,
      "hideNetworkInDynamicWidget": true,
      "preventOrphanedAccounts": true,
      "views": [
        {
          "type": "login",
          "sections": [
            {
              "type": "email",
              "label": "<string>",
              "numOfItemsToDisplay": 123,
              "defaultItem": "<string>"
            }
          ]
        }
      ]
    },
    "security": {
      "jwtDuration": {
        "amount": 123,
        "unit": "days"
      },
      "hCaptcha": {
        "enabled": true,
        "secretKey": "<string>",
        "siteKey": "<string>"
      }
    }
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "sdkVersion": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Response

200
application/json
Environment response
id
string
required
Required string length: 36
settings
object
createdAt
string
updatedAt
string
sdkVersion
string