Setup

Create a Trust Registry Service instance for your organization.

Prerequisites

Ensure you have the trust-registry feature enabled via the _features.conf:

enabledFeatures = [
    trust-registry
]

Create the Service

CURL

Endpoint: POST /v1/{target}/resource-api/services/create | API Reference

Example Request
curl -X 'POST' \
  'https://{orgID}.enterprise-sandbox.waltid.dev/v1/{target}/resource-api/services/create' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer {yourToken}' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "trust-registry",
  "validateSignaturesByDefault": true
}'

Path Parameters

  • orgID: String - Your organization's Base URL prefix, e.g. myorg.enterprise-sandbox.waltid.dev.
  • target: String - The target path for the new service: {organizationID}.{tenantID}.{serviceID}, e.g. myorg.tenant1.trust-registry.

Header Parameters

  • Authorization: String - Bearer token for your organization.

Body

  • type: String - Must be trust-registry.
  • validateSignaturesByDefault: Boolean (optional) - Whether to validate XMLDSig signatures on TSL sources by default. Defaults to true.

Example Response
StatusDescription
201Service created successfully
400Invalid request
401Invalid or missing authentication token

Once the service is created, load trust sources into it. See Trust Source Management.

Last updated on May 6, 2026