Portal Link Schema
Fields
Portal Link Schema
Schema for links a service provider offers its customers in the customer portal, optionally targeted at organisations or customer roles
title
Link label shown to the customer
url
Target: https://<host>…, mailto:… or tel:… (anything else is rejected)
description
Optional one-line explanation
category
Free-text group; categories are ordered by the smallest sortOrder inside
iconType
Show the site favicon or a built-in icon
faviconiconiconName
Built-in icon (iconType "icon")
globedownloadkeycloudshieldphonelifebookmailfilenullfaviconDataUrl
Favicon as base64 image data URL (iconType "favicon")
sortOrder
Ascending display order
featured
Highlighted at the top of the portal page
active
false = draft, invisible to customers
visibleFrom
Visible from (ISO); null = immediately
visibleUntil
Visible until (ISO); null = unlimited
audienceMode
all customers, selected organisations, or selected customer roles
allpartiesrolesaudiencePartyIds
Organisation party ids (audienceMode "parties")
audienceRoleIds
Customer role ids, role_definitions with isCustomerRole (audienceMode "roles")
clicks30d
Read-only: clicks of the last 30 days
clicksByDay
Server-managed click counter per tenant-local day; never client-written
No fields match the filter.
Standard endpoints
This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:
GET /api/v1/portal_links— List, paginated + filterableGET /api/v1/portal_links/<id>— Single entityPOST /api/v1/portal_links— CreatePATCH /api/v1/portal_links/<id>— Partial updateDELETE /api/v1/portal_links/<id>— Soft deleteGET /api/v1/portal_links/<id>/timeline— Audit + activities