Drops Endpoints

Validate drop allowlist

Changed on

Checks an allowlist uploaded with the context from POST /api/v2/drops/{slug}/allowlist, without saving anything, and returns the token to put in a signed_presale stage's allowlist_file_token in POST /api/v2/drops/{slug}. A file that fails returns 400 naming the offending line numbers and what is wrong with them. See upload_drop_allowlist for the file format.

post/api/v2/drops/{slug}/allowlist/validate

Request

Path parameters

slugstring required

Collection slug

Request body

allowlist_file_tokenstring required

Token for the uploaded allowlist file

Response

Validated file token

tokenstring required

Token for the validated allowlist file

Changes

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the optional property to the response with the status