POST
/
allowlists
/
{allowlistId}
/
entries
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/allowlists/{allowlistId}/entries \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "walletPublicKey": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
  "email": "hello-world@foobar.com",
  "alias": "An example name"
}'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "allowListId": "95b11417-f18f-457f-8804-68e361f9164f",
  "walletPublicKey": "<string>",
  "email": "jsmith@example.com",
  "alias": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

allowlistId
string
required

ID of the allowlist

Required string length: 36

Body

application/json
Fields necessary to create a new allowlist entry
walletPublicKey
string

Valid blockchain wallet address, must be an alphanumeric string without any special characters

email
string
alias
string

Response

201
application/json
Created
id
string
required
Required string length: 36
allowListId
string
required
Required string length: 36
walletPublicKey
string
email
string
alias
string