v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Cards

Generate virtual card file

Generate a virtual card file. The file can be a PNG image (barcode or QR code) or a pass package for Apple Wallet. Use the returned URL to display or distribute the digital card in a mobile application or by email.

post/cards/actions/generate-digital-card-file

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

card_idstring required

The unique ID of the card for which the file is generated.

file_type'png' | 'wallet' | 'qr-png' required

Type of the final file. Possible values: png - generates picture of barcode in png format / qr-png - generates picture of QR code in png format /wallet - generates pass package file for Apple Wallet

Example request

{
  "card_id": "8fd73167342d06899c4c015320",
  "file_type": "png"
}

Response

OK

Example response

{
  "data": {
    "file_url": "https://dev-carecloud.cortex.cz//crm/scripts/generate_mobile_card.php?account=80c4d97a736d98a90badb5128&card=8bd4811700646e0b1788109b8"
  }
}