Skip to main content

Validate VMC logo format (SVG)

PUT https://www.digicert.com/services/v2/util/validate-vmc-logo

Use this endpoint to check if the format of an SVG file is compatible with the requirements for Verified Mark Certificates (VMC).

Notice

This endpoint accepts raw SVG data. To submit compressed logo data formatted as a base64-encoded string, use the Validate VMC logo format (encoded) endpoint.

Request format

To submit a request to the Validate VMC logo format (SVG) endpoint:

  • Set the Content-Type header.

    • If the image data includes an XML tag (for example, <?xml version ="1.0" encoding ="UTF-8"?>), use image/svg+xml.

    • If the image data does not include an XML tag, use image/svg.

  • Submit the raw SVG data for the image as the payload of the request.

  • Omit the custom header X-DC-DEVKEY. This operation does not require authentication with an API key.

Response format

If the logo format meets VMC requirements, the endpoint returns a status of 204 No Content.

If there is a formatting issue with the logo, the endpoint returns an error message with a status of 400 Bad Request. The error message provides:

  • A brief description of the formatting issue.

  • The line and column number where you can find the problem when you open the file in a text editor.

To learn more about formatting a logo for VMC, visit Getting Ready for BIMI: Prep Your Logo.

To resolve issues with the SVG format of your logo:

  1. Open the SVG file in a text editor.

  2. Update the content at the locations displayed in the error messages.

  3. Save the file.

  4. Submit another request with your updated SVG data.

Example requests and responses