DPP

Upload an opt-in form screenshot to IPFS

Pins an opt-in form screenshot to IPFS and returns its content-addressed reference. The returned uri is stored as the reserved opt_in_form field in a passport data object so it is certified alongside the rest of the certificate.

post/v1/dpp/opt-in-forms

Request

  • Base URL: https://api.prod.keyban.io
  • URL: https://api.prod.keyban.io/v1/dpp/opt-in-forms
  • Auth: API key in header X-Api-Key

Request body

filenamestring required
mediaType'image/png' | 'image/jpeg' | 'image/webp' required
contentstring base64 required

Response

Image pinned to IPFS

cidstring required
uristring required

Changes

No recorded changes to this operation across all 1 revision of this API.