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": {
    "environmentName": "sandbox",
    "chains": [
      {
        "name": "<string>",
        "enabled": true,
        "networks": [
          {
            "networkId": "1",
            "chainName": "Ethereum Mainnet",
            "enabled": true,
            "rpcUrl": "<string>"
          }
        ]
      }
    ],
    "customFields": [
      {
        "name": "<string>",
        "required": true,
        "enabled": true,
        "unique": true,
        "verify": true,
        "type": "standard",
        "validationRules": {
          "unique": true,
          "regex": "^0x",
          "validOptions": [
            {
              "label": "small"
            },
            {
              "label": "medium"
            },
            {
              "label": "large"
            }
          ],
          "checkboxText": "Agree to the terms and conditions"
        },
        "validationType": "text",
        "label": "<string>"
      }
    ],
    "kyc": [
      {
        "name": "<string>",
        "required": true,
        "enabled": true,
        "unique": true,
        "verify": true,
        "type": "standard",
        "validationRules": {
          "unique": true,
          "regex": "^0x",
          "validOptions": [
            {
              "label": "small"
            },
            {
              "label": "medium"
            },
            {
              "label": "large"
            }
          ],
          "checkboxText": "Agree to the terms and conditions"
        },
        "validationType": "text",
        "label": "<string>"
      }
    ],
    "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": "An example name",
      "supportEmail": "[email protected]",
      "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,
        "defaultChain": "eip155:1",
        "keyExportUrl": "<string>",
        "termsAcceptedByUser": {
          "termsUrl": "<string>",
          "email": "[email protected]",
          "userId": "95b11417-f18f-457f-8804-68e361f9164f",
          "createdAt": "2023-11-07T05:31:56Z"
        },
        "appleKeyId": "<string>",
        "appleTeamId": "<string>",
        "accountSid": "<string>",
        "twilioNumber": "<string>",
        "enabledCountries": [
          {
            "isoCountryCode": "US",
            "phoneCountryCode": "An example name"
          }
        ],
        "entryPointVersion": "v6"
      }
    ],
    "sdk": {
      "emailSignIn": {
        "signInProvider": "dynamic"
      },
      "socialSignIn": {
        "signInProvider": "dynamic",
        "providers": [
          {
            "provider": "apple",
            "enabled": true
          }
        ]
      },
      "multiWallet": true,
      "multiWalletUnlinkDisabled": true,
      "confirmWalletTransfers": true,
      "onrampFunding": true,
      "passkeyEmbeddedWalletEnabled": true,
      "automaticEmbeddedWalletCreation": true,
      "passkeyEmbeddedWalletRecoveryEnabled": true,
      "embeddedWalletSecurityMethods": [
        "passkey"
      ],
      "embeddedWallets": {
        "automaticEmbeddedWalletCreation": true,
        "emailRecoveryEnabled": true,
        "forceAuthenticatorAtSignup": true,
        "allowSkippingAuthenticatorAtSignup": true,
        "sessionKeyDuration": {
          "amount": 123,
          "unit": "days"
        },
        "supportedSecurityMethods": {
          "passkey": {
            "isDefault": true,
            "isEnabled": true,
            "isPermanentAuthenticator": true,
            "listPosition": 123
          },
          "email": {
            "isDefault": true,
            "isEnabled": true,
            "isPermanentAuthenticator": true,
            "listPosition": 123
          },
          "password": {
            "isDefault": true,
            "isEnabled": true,
            "isPermanentAuthenticator": true,
            "listPosition": 123
          }
        },
        "chainConfigurations": [
          {
            "name": "<string>",
            "enabled": true,
            "primary": true
          }
        ],
        "domainEnabledByProvider": true
      },
      "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>",
              "alignment": "center"
            }
          ]
        }
      ],
      "accountAbstraction": {
        "allWallets": true,
        "allUsers": true
      },
      "enableMultiAsset": true,
      "showFiat": true
    },
    "security": {
      "jwtDuration": {
        "amount": 123,
        "unit": "days"
      },
      "hCaptcha": {
        "enabled": true,
        "secretKey": "<string>",
        "siteKey": "<string>"
      },
      "mfa": {
        "enabled": true,
        "required": true,
        "availableMethods": [
          "totp"
        ]
      },
      "auth": {
        "storage": [
          "localstorage"
        ]
      }
    },
    "networks": [
      {
        "chainName": "<string>",
        "networks": [
          {
            "lcdUrl": "https://lcd.osmosis.zone",
            "chainName": "Ethereum Mainnet",
            "name": "Ethereum Mainnet",
            "shortName": "ETH",
            "chain": "ETH",
            "chainId": "1",
            "nameService": {
              "registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
            },
            "networkId": "1",
            "iconUrls": [
              "<string>"
            ],
            "nativeCurrency": {
              "decimals": "18",
              "name": "Ether",
              "symbol": "ETH",
              "denom": "uatom"
            },
            "rpcUrls": [
              "https://mainnet.infura.io/v3/"
            ],
            "privateCustomerRpcUrls": [
              "https://mainnet.infura.io/v3/"
            ],
            "blockExplorerUrls": [
              "https://etherscan.io/"
            ],
            "vanityName": "Ethereum"
          }
        ]
      }
    ]
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "sdkVersion": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

environmentId
string
required

ID of the environment

Response

200 - application/json
id
string
required

ID of the environment

settings
object
createdAt
string
updatedAt
string
sdkVersion
string