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 betrust-registry.validateSignaturesByDefault: Boolean (optional) - Whether to validate XMLDSig signatures on TSL sources by default. Defaults totrue.
Example Response
| Status | Description |
|---|---|
201 | Service created successfully |
400 | Invalid request |
401 | Invalid or missing authentication token |
Once the service is created, load trust sources into it. See Trust Source Management.
Last updated on May 6, 2026
