PUT: Add Access Lists Addresses

New addresses can be added to an access list as needed by entering an optional user friendly name and address.

https://api.hypermint.com/v1/access-list/:accessListId/addresses

Add New Addresses to Access List

The accessListId can be found in the url on the access list page https://app.hypermint.com/access-list/:accessListId

Parameters

Header

ParameterDescription
HM_ACCESS_KEYHyperMint Access Key
HM_ACCESS_KEY_SECRETHyperMint Access Key Secret

Body

ParameterTypeRequiredDescription
addressesArrayYaddresses is an array of wallet addresses to be added to the specified access list. see interface AddAddressesRequest below for more details

Response

CodeMeaning
🟢 200: OKSuccessfully added
🟠 404: Not FoundAccess List does not exist or you don't have permission
🟠 400: Bad RequestThe address array field is required in your request
🟠 400: Bad RequestYou must have at least one address in your request
🟠 400: Bad RequestThe address field is required in all your addresses entries
{ "success": true }

Request Interface

interface AddAddressesRequest {
    addresses: {
        address: string;
        name?: string;
    }[];
}
ParameterTypeRequiredDescription
addressstringYThe wallet address of the user you want to add to the access list
namestringNThe friendly name of the access list address to be added which can be viewed on the dashboard

Feedback

Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.


Did this page help you?