Cards_vcard
GET
/api/cards/{id}/vcard
const url = 'https://met.cards/api/cards/example/vcard?compact=1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://met.cards/api/cards/example/vcard?compact=1' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”compact
string
Set to 1 for the compact vCard (no PHOTO, no NOTE) that a Contact QR code encodes. Any other value returns the full file with photo.