API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · portal_links

Portal Link Schema

Schema ID
portal_link
Collection
portal_links
Permissions
  • Readportal_link_view
  • Createportal_link_create
  • Editportal_link_edit
  • Deleteportal_link_delete

Fields

Portal Link Schema

portal_links4 permissions

Schema for links a service provider offers its customers in the customer portal, optionally targeted at organisations or customer roles

titlestringrequired

Link label shown to the customer

1–80 characters
urlstringrequired

Target: https://<host>…, mailto:… or tel:… (anything else is rejected)

1–2048 characters
descriptionstringoptional

Optional one-line explanation

max 120 charactersnullable
categorystringrequired

Free-text group; categories are ordered by the smallest sortOrder inside

1–40 characters
iconTypestringoptional

Show the site favicon or a built-in icon

faviconicon
iconNamestringoptional

Built-in icon (iconType "icon")

globedownloadkeycloudshieldphonelifebookmailfilenull
nullable
faviconDataUrlstringoptional

Favicon as base64 image data URL (iconType "favicon")

max 90000 charactersPatternnullable
sortOrdernumberoptional

Ascending display order

activebooleanoptional

false = draft, invisible to customers

visibleFromdatetimeoptional

Visible from (ISO); null = immediately

nullable
visibleUntildatetimeoptional

Visible until (ISO); null = unlimited

nullable
audienceModestringoptional

all customers, selected organisations, or selected customer roles

allpartiesroles
audiencePartyIdsstring[]optional

Organisation party ids (audienceMode "parties")

max 500 items
audienceRoleIdsstring[]optional

Customer role ids, role_definitions with isCustomerRole (audienceMode "roles")

max 500 items
clicks30dnumberoptional

Read-only: clicks of the last 30 days

read-only
clicksByDayobjectoptional

Server-managed click counter per tenant-local day; never client-written

read-only

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 + filterable
  • GET /api/v1/portal_links/<id> — Single entity
  • POST /api/v1/portal_links — Create
  • PATCH /api/v1/portal_links/<id> — Partial update
  • DELETE /api/v1/portal_links/<id> — Soft delete
  • GET /api/v1/portal_links/<id>/timeline — Audit + activities

Search