Skip to content
KnockDevelopers
Marketing cards

Update a marketing card

Chat with a Developer
PATCH
/v1/marketing-cards/{cardId}

Changes the fields you send and returns the card. A field you leave out, or send as null, keeps its value, and an empty description removes it. socials replaces the card's social links and branding its colors, font and corners; send startsAt and endsAt together. The buttons and the channel cannot be changed. An empty body changes nothing.

As on create, the social links you send fill your account's social links that are still empty.

An update is safe to send again: after a failure, part of it may already be saved, so retry the same update. Send Content-Type: application/json. Unknown fields are ignored.

Authorization

ApiKeyAuth
headerx-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.

Path Parameters

cardId*string

The cardId of one of your marketing cards.

Formatuuid

Request Body

application/json
  1. body

The fields to change. A field you leave out, or send as null, keeps its value. socials and branding replace the card's own. The buttons and the channel cannot be changed.

name?string

Name of the card, usually the event's.

Length1 <= length <= 200
description?string

Your internal note about the event.

Lengthlength <= 1000
startsAt?string

When 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?string

When 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.

socials?array<>

The social links, in display order, each type once. A type you leave out is not shown.

Itemsitems <= 9
profile?

The text at the top of the card: only the fields you send change.

branding?

The card's colors, font and corners, all of them: they replace the card's.

Response Body

The card after the change.

application/json
  1. response

A card your team hands out at an event or shares in a post, with chat and booking buttons.

cardId*string

ID of the card.

Formatuuid
name*string

Name 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_cardother
description*|

Your internal note about the event.

startsAt*|

When the event starts.

Formatdate-time
endsAt*|

When the event ends.

Formatdate-time
url*string

The 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*string

When the card was created.

Formatdate-time
Example Request
curl -X PATCH 'https://app.knock-ai.com/v1/marketing-cards/3c9a7e2f-5b14-4d8e-a6f0-1e2d3c4b5a69' \  -H 'x-api-key: <YOUR_API_KEY>' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "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"}