v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Cards

Get a PassMachine digital card

Generate a PassMachine link for a customer's digital card. The customer must have an existing card; if no card exists, the link cannot be generated.

post/cards/actions/generate-pass-machine-card

Headers

Accept-Languagestring

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

Request body

customer_idstring required

The unique ID of the customer with PassMachine.

passmachine_template_idstring

ID of a template from PassMachine. The ID is available in administration environment of PassMachine. If the parameter is not set, the default template is used.

Example request

{
  "customer_id": "8ea2591121e636086a4a9c0992",
  "passmachine_template_id": "8ea2591121e636086a4a9c0992"
}

Response

OK

Example response

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