POST
/
organizations
/
{organizationId}
/
customNetworks
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/customNetworks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "networkType": "ETH",
  "chainName": "Base Mainnet",
  "chainId": "8453",
  "rpcUrl": "https://website-sample.com",
  "blockExplorerUrl": "https://website-sample.com",
  "iconUrl": "https://website-sample.com",
  "nativeCurrencyName": "Ethereum",
  "nativeCurrencySymbol": "ETH",
  "nativeCurrencyIconUrl": "https://website-sample.com",
  "nativeCurrencyDecimals": 18
}'
{
  "customNetwork": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "networkType": "ETH",
    "chainName": "<string>",
    "chainId": "<string>",
    "rpcUrl": "https://website-sample.com",
    "blockExplorerUrl": "https://website-sample.com",
    "iconUrl": "https://website-sample.com",
    "nativeCurrencyName": "<string>",
    "nativeCurrencySymbol": "<string>",
    "nativeCurrencyIconUrl": "https://website-sample.com",
    "nativeCurrencyDecimals": 9
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

organizationId
string
required

ID of organization

Required string length: 36
Example:

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

Body

application/json
Data to create a custom network

The body is of type object.

Response

201
application/json
Custom network created

The response is of type object.