Icons

Download an icon

Download the specified icon by its unique ID in the requested format and size.

get/v1/icons/{id}/download

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/icons/{id}/download
  • Auth: API key in header x-magnific-api-key

Path parameters

idinteger required

Icon resource ID

Query parameters

format'svg' | 'png' | 'gif' | 'mp4' | 'aep' | 'json' | 'psd' | 'eps'

These are the formats available for download

  • Note: gif, mp4, aep, json, psd and eps are not available for standard and sticker icon types.
png_size512 | 256 | 128 | 64 | 32 | 24 | 16

These are the sizes available for png_url formats.

  • Note: Only apply to format png.

Headers

Accept-Languagestring

Specifies the search query language using the ISO 639-1 (2-letter language code) and the ISO 3166-1 (2-letter country code) for language variants. The API will use "en-US" as a default language for processing if a code is not provided, or does not exist.

Response

OK

Example response

{
  "data": {
    "filename": "filename",
    "url": "https://openapi-generator.tech"
  }
}

Changes

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