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
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"
}
}