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>",
            "iconUrl": "<string>",
            "type": "custom"
          }
        ]
      }
    ],
    "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>",
        "position": 123
      }
    ],
    "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>",
        "position": 123
      }
    ],
    "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": "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,
        "defaultChain": "eip155:1",
        "keyExportUrl": "<string>",
        "termsAcceptedByUser": {
          "termsUrl": "<string>",
          "email": "jsmith@example.com",
          "userId": "95b11417-f18f-457f-8804-68e361f9164f",
          "createdAt": "2023-11-07T05:31:56Z"
        },
        "scopes": "<string>",
        "baseAuthUrl": "<string>",
        "appleKeyId": "<string>",
        "appleTeamId": "<string>",
        "shopifyStore": "<string>",
        "accountSid": "<string>",
        "twilioNumber": "<string>",
        "enabledCountries": [
          {
            "isoCountryCode": "US",
            "phoneCountryCode": "An example name"
          }
        ],
        "entryPointVersion": "v6",
        "kernelVersion": "v2_4",
        "multichainAccountAbstractionProviders": [
          {
            "clientId": "<string>",
            "chain": "<string>",
            "default": true
          }
        ],
        "ecdsaProviderType": "zerodev_signer_to_ecdsa",
        "createNewAccounts": true,
        "enableKernelV3Migration": true,
        "enableEIP7702": true
      }
    ],
    "sdk": {
      "nameService": {
        "evm": {
          "domain": "<string>"
        }
      },
      "featureFlags": {
        "connectOnlyMultiAsset": true
      },
      "emailSignIn": {
        "signInProvider": "dynamic"
      },
      "socialSignIn": {
        "signInProvider": "dynamic",
        "providers": [
          {
            "provider": "apple",
            "enabled": true
          }
        ]
      },
      "multiWallet": true,
      "multiWalletUnlinkDisabled": true,
      "mobile": {
        "deeplinkUrlsEnabled": true
      },
      "confirmWalletTransfers": true,
      "onrampFunding": true,
      "passkeyEmbeddedWalletEnabled": true,
      "automaticEmbeddedWalletCreation": true,
      "passkeyEmbeddedWalletRecoveryEnabled": true,
      "embeddedWalletSecurityMethods": [
        "passkey"
      ],
      "embeddedWallets": {
        "automaticEmbeddedWalletCreation": true,
        "automaticEmbeddedWalletCreationForExternal": true,
        "showEmbeddedWalletActionsUI": 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,
        "defaultWalletVersion": "V1",
        "promptForKeyExport": true,
        "transactionSimulation": true
      },
      "waas": {
        "passcodeRequired": true,
        "onSignUp": {
          "promptBackupOptions": true,
          "promptClientShareExport": true
        },
        "backupOptions": [
          "googleDrive"
        ]
      },
      "walletConnect": {
        "projectId": "<string>",
        "v2Enabled": true,
        "walletProjectId": "<string>"
      },
      "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,
        "separateSmartWalletAndSigner": true
      },
      "blockEmailSubaddresses": true,
      "enableMultiAsset": true,
      "showFiat": true,
      "disabledWalletConnectors": [
        "metamask"
      ],
      "funding": {
        "onramps": [
          "banxa"
        ],
        "externalWallets": {
          "enabled": true,
          "minAmount": {
            "amount": "<string>",
            "currency": "<string>"
          },
          "defaultSettings": {
            "chainSettings": [
              {
                "chain": "ETH",
                "token": {
                  "value": "<string>",
                  "rule": "recommended"
                }
              }
            ]
          }
        }
      }
    },
    "security": {
      "jwtDuration": {
        "amount": 123,
        "unit": "days"
      },
      "hCaptcha": {
        "enabled": true,
        "secretKey": "<string>",
        "siteKey": "<string>"
      },
      "mfa": {
        "enabled": true,
        "required": true,
        "availableMethods": [
          "totp"
        ]
      },
      "auth": {
        "storage": [
          "localstorage"
        ]
      },
      "externalAuth": {
        "enabled": true,
        "iss": "An example name",
        "aud": "An example name",
        "jwksUrl": "<string>",
        "cookieName": "An example name"
      }
    },
    "networks": [
      {
        "chainName": "<string>",
        "networks": [
          {
            "lcdUrl": "https://lcd.osmosis.zone",
            "chainName": "Ethereum Mainnet",
            "key": "ethereum",
            "name": "Ethereum Mainnet",
            "shortName": "ETH",
            "isTestnet": false,
            "chain": "ETH",
            "chainId": "1",
            "nameService": {
              "registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
            },
            "networkId": "1",
            "iconUrls": [
              "<string>"
            ],
            "nativeCurrency": {
              "decimals": "18",
              "name": "Ether",
              "symbol": "ETH",
              "denom": "uatom",
              "iconUrl": "<string>",
              "pricingProviderTokenId": "<string>"
            },
            "rpcUrls": [
              "https://mainnet.infura.io/v3/"
            ],
            "privateCustomerRpcUrls": [
              "https://mainnet.infura.io/v3/"
            ],
            "blockExplorerUrls": [
              "https://etherscan.io/"
            ],
            "vanityName": "Ethereum",
            "bech32Prefix": "cosmos",
            "genesisHash": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
            "cluster": "mainnet, devnet, etc"
          }
        ]
      }
    ]
  },
  "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
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Response

200
application/json
Environment response
id
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

settings
object
createdAt
string
updatedAt
string
sdkVersion
string

Was this page helpful?