Skip to main content
POST
/
api
/
v1
/
realms
/
{realmId}
/
web3
/
activations
Create an activation
curl --request POST \
  --url https://api.drip.re/api/v1/realms/{realmId}/web3/activations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "activationType": "nft",
  "contractAddress": "<string>",
  "chain": "ethereum",
  "configs": [
    {
      "configType": "generator",
      "pointsConfig": "<array>"
    }
  ]
}
'
{
  "id": "<string>",
  "activationType": "nft",
  "contractAddress": "<string>",
  "chain": "ethereum",
  "collectionKey": "<string>",
  "displayName": "<string>",
  "configs": "<array>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

API Key

Path Parameters

realmId
string
required

Body

application/json
activationType
enum<string>
required
Available options:
nft,
erc1155,
token
contractAddress
string
required
chain
enum<string>
default:ethereum
required
Available options:
ethereum,
polygon,
arbitrum,
optimism,
base,
zksync,
starknet,
scroll,
polygonZkEVM,
arbitrumNova,
avalanche,
gnosis,
opbnb,
metis,
astar,
linea,
mantle,
berachain,
flow,
crossfi,
soneium,
worldchain,
rootstock,
shape,
unichain,
apechain,
geist,
lens,
abstract,
lumia,
ink,
zetachain,
blast,
sonic,
zora,
settlus,
solana,
bsc
configs
object[] | null

Response

Default Response