Skip to content
Toolkit

API reference

Every operation in the HTTP contract, grouped by tag. The narrative is the API guide.

Cardsite Link Manager API 1.0.0: 244 operations on 166 paths, in 18 tags. Request and response schemas are in the contract itself.

auth 17

Registration, login, password reset, 2FA

MethodPathSummary
POST/api/v1/auth/registerRegister a new user account
POST/api/v1/auth/loginLogin and receive a JWT
POST/api/v1/auth/login/2faExchange an OAuth pending token and a second factor for a session
POST/api/v1/auth/lost-passwordRequest a password-reset email
POST/api/v1/auth/reset-passwordReset password using the emailed token
POST/api/v1/auth/2fa/setupGenerate a 2FA provisioning URI (TOTP)
POST/api/v1/auth/2fa/verifyActivate 2FA after scanning QR code
GET/api/v1/auth/2fa/recovery-codesHow many unused 2FA recovery codes the account holds
POST/api/v1/auth/2fa/recovery-codesReplace every 2FA recovery code with a new set (shown once)
DELETE/api/v1/auth/2faDelete auth 2fa
deleteApiV1Auth2Fa
POST/api/v1/auth/activate-userCreate auth activate user
postApiV1AuthActivateUser
GET/api/v1/auth/captchaRetrieve auth captcha
getApiV1AuthCaptcha
GET/api/v1/auth/legalRetrieve auth legal
getApiV1AuthLegal
GET/api/v1/auth/oauth/providersRetrieve oauth providers
getApiV1AuthOauthProviders
POST/api/v1/auth/oauth/{provider}/callbackCreate oauth callback
postApiV1AuthOauthProviderCallback
GET/api/v1/auth/oauth/{provider}/initiateRetrieve oauth initiate
getApiV1AuthOauthProviderInitiate
POST/api/v1/auth/resend-activationCreate auth resend activation
postApiV1AuthResendActivation

account 47

User profile, password, API key, preferences, GDPR export

MethodPathSummary
GET/api/v1/userGet current user profile
PUT/api/v1/accountUpdate profile fields
DELETE/api/v1/accountPermanently delete account (requires password confirmation)
PUT/api/v1/account/passwordChange password
GET/api/v1/account/planGet current plan and subscription details
POST/api/v1/account/api-keyRegenerate API key (legacy full-scope credential; the new key is returned once — only its SHA-256 digest is stored)
GET/api/v1/account/tokensList scoped API tokens (ADR-0002) — revoked included, hashes never returned; also returns the grantable scope list
POST/api/v1/account/tokensCreate a scoped API token — the plaintext secret appears only in this response
DELETE/api/v1/account/tokens/{id}Revoke a scoped API token (kept as an audit record; auth honors revocation immediately)
GET/api/v1/account/preferencesGet user preferences
PUT/api/v1/account/preferencesReplace user preferences
PATCH/api/v1/account/preferencesMerge into user preferences
GET/api/v1/account/exportGDPR data export — returns a ZIP archive of all user data
GET/api/v1/dataRetrieve v1 data
getApiV1Data
GET/api/v1/data/{id}Retrieve v1 data
getApiV1DataId
DELETE/api/v1/data/{id}Delete v1 data
deleteApiV1DataId
GET/api/v1/eventsRetrieve v1 events
getApiV1Events
POST/api/v1/eventsCreate v1 events
postApiV1Events
GET/api/v1/events/{id}Retrieve v1 events
getApiV1EventsId
PUT/api/v1/events/{id}Update v1 events
putApiV1EventsId
DELETE/api/v1/events/{id}Delete v1 events
deleteApiV1EventsId
GET/api/v1/feature-flags/evaluateList the feature flags enabled for the authenticated user
getApiV1FeatureFlagsEvaluate
GET/api/v1/realtimeServer-Sent Events stream for the caller's user and active workspace channels
getApiV1Realtime
GET/api/v1/historyRetrieve v1 history
getApiV1History
GET/api/v1/history/sessionUndoable/redoable counts for a per-tab editor session
getApiV1HistorySession
POST/api/v1/history/redoCreate history redo
postApiV1HistoryRedo
POST/api/v1/history/undoCreate history undo
postApiV1HistoryUndo
GET/api/v1/internal-notificationsRetrieve v1 internal notifications
getApiV1InternalNotifications
POST/api/v1/internal-notifications/read-allCreate internal notifications read all
postApiV1InternalNotificationsReadAll
GET/api/v1/internal-notifications/unreadRetrieve internal notifications unread
getApiV1InternalNotificationsUnread
POST/api/v1/internal-notifications/{id}/readCreate internal notifications read
postApiV1InternalNotificationsIdRead
GET/api/v1/logsRetrieve v1 logs
getApiV1Logs
GET/api/v1/notification-handlersRetrieve v1 notification handlers
getApiV1NotificationHandlers
POST/api/v1/notification-handlersCreate v1 notification handlers
postApiV1NotificationHandlers
GET/api/v1/notification-handlers/{id}Retrieve v1 notification handlers
getApiV1NotificationHandlersId
PUT/api/v1/notification-handlers/{id}Update v1 notification handlers
putApiV1NotificationHandlersId
DELETE/api/v1/notification-handlers/{id}Delete v1 notification handlers
deleteApiV1NotificationHandlersId
GET/api/v1/referrals/commissionsRetrieve referrals commissions
getApiV1ReferralsCommissions
POST/api/v1/referrals/keyCreate referrals key
postApiV1ReferralsKey
GET/api/v1/referrals/statsRetrieve referrals stats
getApiV1ReferralsStats
POST/api/v1/referrals/withdrawCreate referrals withdraw
postApiV1ReferralsWithdraw
GET/api/v1/referrals/withdrawalsRetrieve referrals withdrawals
getApiV1ReferralsWithdrawals
GET/api/v1/signaturesRetrieve v1 signatures
getApiV1Signatures
POST/api/v1/signaturesCreate v1 signatures
postApiV1Signatures
GET/api/v1/signatures/{id}Retrieve v1 signatures
getApiV1SignaturesId
PUT/api/v1/signatures/{id}Update v1 signatures
putApiV1SignaturesId
DELETE/api/v1/signatures/{id}Delete v1 signatures
deleteApiV1SignaturesId

resources 14

Resources — the collection. A resource is any single addressable member of it (ADR-0012). Type-agnostic views across every registered link type live here, as do the per-product endpoints for types with no tag of their own; the other per-product tags below each list one type.

MethodPathSummary
GET/api/v1/resourcesList the workspace's resources, every kind
GET/api/v1/resources/countsCount the workspace's resources by kind
GET/api/v1/resources/recentList recently edited resources
GET/api/v1/spotlightSearch the workspace's resources
GET/api/v1/staticRetrieve v1 static
getApiV1Static
POST/api/v1/staticCreate v1 static
postApiV1Static
GET/api/v1/static/{id}Retrieve v1 static
getApiV1StaticId
PUT/api/v1/static/{id}Update v1 static
putApiV1StaticId
DELETE/api/v1/static/{id}Delete v1 static
deleteApiV1StaticId
GET/api/v1/payment-linksRetrieve v1 payment links
getApiV1PaymentLinks
POST/api/v1/payment-linksCreate v1 payment links
postApiV1PaymentLinks
GET/api/v1/payment-links/{id}Retrieve v1 payment links
getApiV1PaymentLinksId
PUT/api/v1/payment-links/{id}Update v1 payment links
putApiV1PaymentLinksId
DELETE/api/v1/payment-links/{id}Delete v1 payment links
deleteApiV1PaymentLinksId

Short links — the product, not the collection (ADR-0008). Create, update, delete, statistics. The tag id matches the route and the table, neither of which is user-facing.

MethodPathSummary
GET/api/v1/linksList short links
POST/api/v1/linksCreate a short link
POST/api/v1/links/{link_id}/duplicateMake an exact copy of a resource at a new address
GET/api/v1/links/{link_id}Get a short link
PUT/api/v1/links/{link_id}Update a short link
DELETE/api/v1/links/{link_id}Delete a short link

Biolink pages and blocks

MethodPathSummary
GET/api/v1/biolinksList biolink pages
POST/api/v1/biolinksCreate a biolink page
GET/api/v1/biolinks/{link_id}Get a biolink page
PUT/api/v1/biolinks/{link_id}Update biolink page settings
DELETE/api/v1/biolinks/{link_id}Delete a biolink page
GET/api/v1/biolink-blocks/typesList all available block types with field schema
GET/api/v1/biolink-blocksRetrieve v1 biolink blocks
getApiV1BiolinkBlocks
POST/api/v1/biolink-blocksCreate v1 biolink blocks
postApiV1BiolinkBlocks
POST/api/v1/biolink-blocks/orderCreate biolink blocks order
postApiV1BiolinkBlocksOrder
GET/api/v1/biolink-blocks/{id}Retrieve v1 biolink blocks
getApiV1BiolinkBlocksId
PUT/api/v1/biolink-blocks/{id}Update v1 biolink blocks
putApiV1BiolinkBlocksId
DELETE/api/v1/biolink-blocks/{id}Delete v1 biolink blocks
deleteApiV1BiolinkBlocksId
GET/api/v1/biolinks-templatesRetrieve v1 biolinks templates
getApiV1BiolinksTemplates
GET/api/v1/biolinks-themesRetrieve v1 biolinks themes
getApiV1BiolinksThemes
GET/api/v1/pwasRetrieve v1 pwas
getApiV1Pwas
POST/api/v1/pwasCreate v1 pwas
postApiV1Pwas
GET/api/v1/pwas/{id}Retrieve v1 pwas
getApiV1PwasId
PUT/api/v1/pwas/{id}Update v1 pwas
putApiV1PwasId
DELETE/api/v1/pwas/{id}Delete v1 pwas
deleteApiV1PwasId
GET/api/v1/pwas/{id}/manifest.jsonRetrieve pwas manifest.json
getApiV1PwasIdManifest.Json
GET/api/v1/splash-pagesRetrieve v1 splash pages
getApiV1SplashPages
POST/api/v1/splash-pagesCreate v1 splash pages
postApiV1SplashPages
GET/api/v1/splash-pages/{id}Retrieve v1 splash pages
getApiV1SplashPagesId
PUT/api/v1/splash-pages/{id}Update v1 splash pages
putApiV1SplashPagesId
DELETE/api/v1/splash-pages/{id}Delete v1 splash pages
deleteApiV1SplashPagesId
GET/api/v1/vcardsRetrieve v1 vcards
getApiV1Vcards
POST/api/v1/vcardsCreate v1 vcards
postApiV1Vcards
GET/api/v1/vcards/{id}Retrieve v1 vcards
getApiV1VcardsId
PUT/api/v1/vcards/{id}Update v1 vcards
putApiV1VcardsId
DELETE/api/v1/vcards/{id}Delete v1 vcards
deleteApiV1VcardsId
GET/api/v1/vcards/{id}/downloadRetrieve vcards download
getApiV1VcardsIdDownload

qrcodes 7

QR code generation and management

MethodPathSummary
GET/api/v1/qr-codesList QR codes
POST/api/v1/qr-codesCreate a QR code
GET/api/v1/qr-codes/typesList available QR code types
POST/api/v1/qr-codes/generateCreate qr codes generate
postApiV1QrCodesGenerate
GET/api/v1/qr-codes/{id}Retrieve v1 qr codes
getApiV1QrCodesId
PUT/api/v1/qr-codes/{id}Update v1 qr codes
putApiV1QrCodesId
DELETE/api/v1/qr-codes/{id}Delete v1 qr codes
deleteApiV1QrCodesId

projects 5

Organize resources into projects

MethodPathSummary
GET/api/v1/projectsList projects
POST/api/v1/projectsCreate project
GET/api/v1/projects/{id}Retrieve v1 projects
getApiV1ProjectsId
PUT/api/v1/projects/{id}Update v1 projects
putApiV1ProjectsId
DELETE/api/v1/projects/{id}Delete v1 projects
deleteApiV1ProjectsId

domains 6

Custom domains

MethodPathSummary
GET/api/v1/domainsList custom domains
POST/api/v1/domainsAdd a custom domain
POST/api/v1/domains/{domain_id}/verifyTrigger DNS verification for a domain
GET/api/v1/domains/{id}Retrieve v1 domains
getApiV1DomainsId
PUT/api/v1/domains/{id}Update v1 domains
putApiV1DomainsId
DELETE/api/v1/domains/{id}Delete v1 domains
deleteApiV1DomainsId

pixels 6

Tracking pixel integrations

MethodPathSummary
GET/api/v1/pixelsList tracking pixels
POST/api/v1/pixelsAdd a tracking pixel
GET/api/v1/pixels/typesList available pixel provider types (24 providers)
GET/api/v1/pixels/{id}Retrieve v1 pixels
getApiV1PixelsId
PUT/api/v1/pixels/{id}Update v1 pixels
putApiV1PixelsId
DELETE/api/v1/pixels/{id}Delete v1 pixels
deleteApiV1PixelsId

payments 15

Checkout, payment history, subscription management

MethodPathSummary
GET/api/v1/paymentsList payment history
POST/api/v1/checkoutInitiate checkout for a plan
GET/api/v1/payment-processorsList user payment processor configurations
POST/api/v1/payment-processorsAdd a payment processor
POST/webhook/{gateway}Payment gateway webhook receiver
POST/api/v1/codes/redeemCreate codes redeem
postApiV1CodesRedeem
POST/api/v1/codes/validateCreate codes validate
postApiV1CodesValidate
GET/api/v1/credit-notes/{id}Retrieve v1 credit notes
getApiV1CreditNotesId
GET/api/v1/invoices/{id}Retrieve v1 invoices
getApiV1InvoicesId
GET/api/v1/payment-processors/{id}Retrieve v1 payment processors
getApiV1PaymentProcessorsId
PUT/api/v1/payment-processors/{id}Update v1 payment processors
putApiV1PaymentProcessorsId
DELETE/api/v1/payment-processors/{id}Delete v1 payment processors
deleteApiV1PaymentProcessorsId
GET/api/v1/payments/{id}Retrieve v1 payments
getApiV1PaymentsId
GET/api/v1/plansRetrieve v1 plans
getApiV1Plans
POST/api/v1/subscription/cancelCreate subscription cancel
postApiV1SubscriptionCancel

teams 12

Team management and member access control

MethodPathSummary
GET/api/v1/teamsList teams the current user owns
POST/api/v1/teamsCreate a team
GET/api/v1/teams/{team_id}/membersList team members
POST/api/v1/teams/{team_id}/membersInvite a member by email
GET/api/v1/teams-memberRetrieve v1 teams member
getApiV1TeamsMember
PUT/api/v1/teams-member/{id}Update v1 teams member
putApiV1TeamsMemberId
DELETE/api/v1/teams-member/{id}Delete v1 teams member
deleteApiV1TeamsMemberId
GET/api/v1/teams/{id}Retrieve v1 teams
getApiV1TeamsId
PUT/api/v1/teams/{id}Update v1 teams
putApiV1TeamsId
DELETE/api/v1/teams/{id}Delete v1 teams
deleteApiV1TeamsId
PUT/api/v1/teams/{team_id}/members/{member_id}Update teams members
putApiV1TeamsTeam_IdMembersMember_Id
DELETE/api/v1/teams/{team_id}/members/{member_id}Delete teams members
deleteApiV1TeamsTeam_IdMembersMember_Id

workspaces 14

Workspaces and their membership — the tenancy boundary (ADR-0006)

MethodPathSummary
GET/api/v1/workspacesList workspaces the current user belongs to, with role
POST/api/v1/workspacesCreate a shared workspace (caller becomes owner; session-only)
PUT/api/v1/workspaces/{id}Rename a shared workspace (owner only)
DELETE/api/v1/workspaces/{id}Delete a shared workspace and everything in it (owner only)
GET/api/v1/workspaces/{id}/membersList workspace members (any member)
POST/api/v1/workspaces/{id}/membersAdd an existing user by email (admin or owner)
PUT/api/v1/workspaces/{id}/members/{user_id}Change a member's role between member and admin (admin or owner)
DELETE/api/v1/workspaces/{id}/members/{user_id}Remove a member (admin or owner; the owner cannot be removed)
POST/api/v1/workspaces/{id}/leaveLeave a workspace (owners cannot leave)
GET/api/v1/commentsList the comment thread on a resource
getApiV1Comments
POST/api/v1/commentsPost a comment, or a reply to one
postApiV1Comments
DELETE/api/v1/comments/{id}Delete a comment
deleteApiV1CommentsId
GET/api/v1/realtime/presenceWho is present in the workspace
getApiV1RealtimePresence
GET/api/v1/workspaces/activityRecent activity in the workspace
getApiV1WorkspacesActivity

ai 18

AI tools — chat, images, text, TTS, transcription

MethodPathSummary
GET/api/v1/ai/statusWhether the AI generators will work for this caller
GET/api/v1/ai/chatsList AI chat conversations
POST/api/v1/ai/chatsCreate a new chat conversation
POST/api/v1/ai/chats/{chat_id}/messagesSend a message and receive an AI reply
POST/api/v1/ai/imagesGenerate an AI image
POST/api/v1/ai/textsGenerate AI text
POST/api/v1/ai/synthesesText-to-speech synthesis
POST/api/v1/ai/transcriptionsAudio transcription (speech-to-text)
GET/api/v1/ai/imagesList the caller's generated images
getApiV1AiImages
GET/api/v1/ai/textsList the caller's generated texts
getApiV1AiTexts
GET/api/v1/ai/synthesesList the caller's speech syntheses (tts)
getApiV1AiSyntheses
GET/api/v1/ai/transcriptionsList the caller's transcriptions (stt)
getApiV1AiTranscriptions
GET/api/v1/ai/chats/{id}Retrieve ai chats
getApiV1AiChatsId
DELETE/api/v1/ai/chats/{id}Delete ai chats
deleteApiV1AiChatsId
DELETE/api/v1/ai/images/{id}Delete ai images
deleteApiV1AiImagesId
DELETE/api/v1/ai/syntheses/{id}Delete ai syntheses
deleteApiV1AiSynthesesId
DELETE/api/v1/ai/texts/{id}Delete ai texts
deleteApiV1AiTextsId
DELETE/api/v1/ai/transcriptions/{id}Delete ai transcriptions
deleteApiV1AiTranscriptionsId

statistics 2

Resource and platform analytics

MethodPathSummary
GET/api/v1/statisticsGet aggregated resource statistics for the current user
GET/api/v1/statistics/{link_id}Retrieve v1 statistics
getApiV1StatisticsLink_Id

uploads 8

File uploads

MethodPathSummary
GET/api/v1/uploadsList the active workspace's uploads, newest first
POST/api/v1/uploadsUpload a file (multipart)
GET/api/v1/filesRetrieve v1 files
getApiV1Files
POST/api/v1/filesCreate v1 files
postApiV1Files
GET/api/v1/files/{id}Retrieve v1 files
getApiV1FilesId
PUT/api/v1/files/{id}Update v1 files
putApiV1FilesId
DELETE/api/v1/files/{id}Delete v1 files
deleteApiV1FilesId
DELETE/api/v1/uploads/{id}Delete v1 uploads
deleteApiV1UploadsId

public 24

Public endpoints (redirect, biolink renderer, directory)

MethodPathSummary
GET/l/{url}Redirect a short link (tracks click)
GET/b/{url}Render public biolink page (HTML or JSON)
GET/api/public/vcards/{url}Public vCard contact-card data (allowlisted; gated cards return only the reason)
GET/api/public/vcards/{url}/vcfDownloadable .vcf for a public vCard (refused while its gate stands)
GET/api/public/events/{url}Public event page data (allowlisted; gated events return only the reason)
GET/api/public/payments/{url}Public payment page data (destination host derived server-side; gated links return only the reason)
GET/api/public/cards/{url}Summary card for any public resource — the payload @{url} serves. Fields are a projection of the type's own public payload (ADR-0105); a redirect-by-design type has no card, and a gated resource returns only the reason.
GET/@{url}The same card, at the address a person types (one handler, ADR-0105)
GET/api/public/resolve/{url}What a bare address is (card.site/{slug}), for the app's catch-all route
GET/api/public/events/{url}/icsDownloadable .ics for a public event (refused while its gate stands)
GET/api/v1/directoryBrowse public biolink directory
GET/api/v1/blogRetrieve v1 blog
getApiV1Blog
GET/api/v1/blog/categoriesRetrieve blog categories
getApiV1BlogCategories
GET/api/v1/blog/{url}Retrieve v1 blog
getApiV1BlogUrl
POST/api/v1/cookie-consentCreate v1 cookie consent
postApiV1CookieConsent
POST/api/v1/emails/bounceRecord a bounce or complaint reported by the ESP
postApiV1EmailsBounce
GET/api/v1/languagesRetrieve v1 languages
getApiV1Languages
GET/api/v1/reference/targetingRetrieve the vocabulary a display rule may name
getApiV1ReferenceTargeting
GET/api/v1/og-imagesRetrieve v1 og images
getApiV1OgImages
POST/api/v1/og-images/webhookCreate og images webhook
postApiV1OgImagesWebhook
GET/api/v1/pagesRetrieve v1 pages
getApiV1Pages
GET/api/v1/pages/{url}Retrieve v1 pages
getApiV1PagesUrl
POST/api/v1/push-subscribersCreate v1 push subscribers
postApiV1PushSubscribers
POST/api/v1/push-subscribers/unsubscribeCreate push subscribers unsubscribe
postApiV1PushSubscribersUnsubscribe

admin 9

Admin-only endpoints

MethodPathSummary
GET/admin-api/v1/statisticsPlatform-wide statistics
GET/admin-api/v1/usersList all users
PUT/admin-api/v1/users/{user_id}Update user (status, plan, type)
DELETE/admin-api/v1/users/{user_id}Delete user
PUT/admin-api/v1/users/{user_id}/plan-settingsOverride per-user plan limits (26 numeric + 25 feature flags)
GET/admin-api/v1/plansList plans
POST/admin-api/v1/plansCreate plan
GET/admin-api/v1/settings/{category}Get settings for a category
PUT/admin-api/v1/settings/{category}Update settings for a category

observability 3

Health, readiness, metrics

MethodPathSummary
GET/healthLiveness probe
GET/readyReadiness probe (checks DB connectivity)
GET/metricsPrometheus metrics

Source: shared/contracts/openapi.yaml

Library