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",
"emailDomain": "https://website-sample.com",
"phoneNumber": "+1234567890",
"alias": "An example name",
"discordUsername": "An example name",
"twitterUsername": "An example name",
"farcasterUsername": "An example name",
"farcasterFid": 123
}'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"allowListId": "95b11417-f18f-457f-8804-68e361f9164f",
"walletPublicKey": "<string>",
"email": "jsmith@example.com",
"emailDomain": "<string>",
"phoneNumber": "<string>",
"discordUsername": "<string>",
"twitterUsername": "<string>",
"farcasterUsername": "<string>",
"farcasterFid": 123,
"alias": "<string>"
}
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",
"emailDomain": "https://website-sample.com",
"phoneNumber": "+1234567890",
"alias": "An example name",
"discordUsername": "An example name",
"twitterUsername": "An example name",
"farcasterUsername": "An example name",
"farcasterFid": 123
}'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"allowListId": "95b11417-f18f-457f-8804-68e361f9164f",
"walletPublicKey": "<string>",
"email": "jsmith@example.com",
"emailDomain": "<string>",
"phoneNumber": "<string>",
"discordUsername": "<string>",
"twitterUsername": "<string>",
"farcasterUsername": "<string>",
"farcasterFid": 123,
"alias": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the allowlist
36
"95b11417-f18f-457f-8804-68e361f9164f"
Fields necessary to create a new allowlist entry
The body is of type object
.
Created
The response is of type object
.
Was this page helpful?