Create a marketing card
Creates a card and returns it with its public url. The card also gets its own chat link, and its event shows in your touchpoints under the channel you send. Buttons and social links show in the order you send them; a type you leave out is not shown.
Omit branding to use your account's default card branding. The branding you send becomes that default when your account has none yet, and the social links you send fill your account's social links that are still empty.
The steps of a create do not roll back: after a failed create, list your cards before you retry, so you do not create the card twice. Send Content-Type: application/json. Unknown fields are ignored.
ApiKeyAuthx-api-key<token>Your Knock API key. Ask your Knock account team for one: a key with the Enrichment API role to enrich and route leads and find warm intros, the Viewer role to read chats, meetings, routing rules, FAQs, analytics, magic links, meeting routing rules, marketing cards and members, the Admin, Editor or AI Manager role to change FAQs, the Admin, Editor or Partner Contributor role to create marketing cards and wrap chat links, or the Admin role to set the working hours of your members.
application/json- body
A marketing card to create.
name*stringName of the card, usually the event's.
1 <= length <= 200channel*enum<string>Where the card is handed out: a Channel other than linkedin_ads, facebook_ads, tiktok_ads and marketing_card.
Show 44 valuesHide values
websiteoffline_eventvirtual_eventemaillinkedinfacebookgoogle_adstiktokinstagramtwitterthreadsreddityoutubevimeomediumdocsproductdiscordslackslack_communitywhatsapptelegramg2capterratrustpilotproduct_huntcrunchbasemerchandiseqr_codeaws_marketplaceazure_marketplacegoogle_cloud_marketplaceatlassian_marketplacesalesforce_appexchangehubspot_marketplaceslack_app_directorymicrosoft_appsourcegithub_marketplacegitlab_marketplacesnowflake_marketplacehashicorp_marketplacewebflow_marketplaceother_marketplaceotherdescription?stringYour internal note about the event.
length <= 1000startsAt?stringWhen the event starts. A date (YYYY-MM-DD) or a date-time (YYYY-MM-DDTHH:mm[:ss[.sss]]), with an optional Z or ±HH:MM: without one, it is read as UTC.
endsAt?stringWhen the event ends, not before startsAt. A date (YYYY-MM-DD) or a date-time (YYYY-MM-DDTHH:mm[:ss[.sss]]), with an optional Z or ±HH:MM: without one, it is read as UTC.
profile*The text at the top of the card.
buttons?array<>The buttons, in display order, up to 10. A type you leave out is not shown.
items <= 10socials?array<>The social links, in display order, each type once. A type you leave out is not shown.
items <= 9branding?The card's colors, font and corners. Left out: your account's default card branding.
The card you created.
application/json- response
A card your team hands out at an event or shares in a post, with chat and booking buttons.
cardId*stringID of the card.
uuidname*stringName of the card, usually the event's.
channel*enum<string>Where the card is handed out:
website: Your website.offline_event: An in-person event, such as a conference, trade show or meetup.virtual_event: An online event, such as a webinar or virtual summit.email: An email, such as a newsletter, a campaign or a signature.linkedin: LinkedIn.linkedin_ads: LinkedIn ads.facebook: Facebook.facebook_ads: Facebook ads.google_ads: Google ads.tiktok: TikTok.tiktok_ads: TikTok ads.instagram: Instagram.twitter: X (Twitter).threads: Threads.reddit: Reddit.youtube: YouTube.vimeo: Vimeo.medium: Medium.docs: Your product documentation.product: Inside your product.discord: Discord.slack: Slack.slack_community: A Slack community.whatsapp: WhatsApp.telegram: Telegram.g2: G2.capterra: Capterra.trustpilot: Trustpilot.product_hunt: Product Hunt.crunchbase: Crunchbase.merchandise: Printed material or merchandise.qr_code: A QR code.aws_marketplace: AWS Marketplace.azure_marketplace: Azure Marketplace.google_cloud_marketplace: Google Cloud Marketplace.atlassian_marketplace: Atlassian Marketplace.salesforce_appexchange: Salesforce AppExchange.hubspot_marketplace: HubSpot Marketplace.slack_app_directory: Slack App Directory.microsoft_appsource: Microsoft AppSource.github_marketplace: GitHub Marketplace.gitlab_marketplace: GitLab Marketplace.snowflake_marketplace: Snowflake Marketplace.hashicorp_marketplace: HashiCorp Marketplace.webflow_marketplace: Webflow Marketplace.other_marketplace: Another marketplace.marketing_card: The link of a marketing card. Read-only: it is never accepted on a write.other: Anywhere else, including channels Knock no longer offers.
Show 48 valuesHide values
websiteoffline_eventvirtual_eventemaillinkedinlinkedin_adsfacebookfacebook_adsgoogle_adstiktoktiktok_adsinstagramtwitterthreadsreddityoutubevimeomediumdocsproductdiscordslackslack_communitywhatsapptelegramg2capterratrustpilotproduct_huntcrunchbasemerchandiseqr_codeaws_marketplaceazure_marketplacegoogle_cloud_marketplaceatlassian_marketplacesalesforce_appexchangehubspot_marketplaceslack_app_directorymicrosoft_appsourcegithub_marketplacegitlab_marketplacesnowflake_marketplacehashicorp_marketplacewebflow_marketplaceother_marketplacemarketing_cardotherdescription*|Your internal note about the event.
startsAt*|When the event starts.
date-timeendsAt*|When the event ends.
date-timeurl*stringThe card's public link.
profile*The text at the top of the card.
buttons*array<>The buttons, in display order.
socials*array<>The social links, in display order.
createdAt*stringWhen the card was created.
date-timecurl -X POST 'https://app.knock-ai.com/v1/marketing-cards' \ -H 'x-api-key: <YOUR_API_KEY>' \ -H 'Content-Type: application/json' \ -d '{ "name": "SaaStr Annual 2026", "channel": "offline_event", "profile": { "headline": "Meet us at booth 42", "info": "Scan to chat with our team or book a demo." }}'{ "cardId": "3c9a7e2f-5b14-4d8e-a6f0-1e2d3c4b5a69", "name": "SaaStr Annual 2026", "channel": "offline_event", "description": null, "startsAt": "2026-12-01T09:00:00.000Z", "endsAt": "2026-12-03T18:00:00.000Z", "url": "https://knock.cards/k/acme/x7q", "profile": { "headline": "Meet us at booth 42", "info": "Scan to chat with our team or book a demo.", "title": "Acme", "logoUrl": null }, "buttons": [ { "type": "whatsapp", "text": "Chat on WhatsApp", "url": null, "meetingRoutingId": null } ], "socials": [ { "type": "linkedin", "url": "https://www.linkedin.com/company/acme" } ], "createdAt": "2026-11-09T12:00:00.000Z"}