Headers
-
The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC
Format should match the following pattern:
^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$. -
The PSU's IP address if the PSU is currently logged in with the TPP.
-
An RFC4122 UID used as a correlation id.
-
Indicates the user-agent that the PSU is using.
Path parameters
-
The organisation ID
Minimum length is
1, maximum length is40. Format should match the following pattern:^[^<>]*$. -
The software statement ID
Maximum length is
40. Format should match the following pattern:^[^<>]*$.
Body
-
Key value for the custom claim as it will appear in the ID Token
Maximum length is
255. Format should match the following pattern:^[A-Za-z0-9_~-]+$. -
Valid JSON Path indicating the values in the trust framework profile to be pulled into the claim
Maximum length is
255. Format should match the following pattern:^\$[.\[].*. Default value is$.. -
Source from which the custom claim data is to be pulled. Determines the structure of the path
Value is
TRUST_FRAMEWORK_PROFILE.
Responses
-
A single custom claim object
-
Bad Request
-
Unauthorized
-
Forbidden
-
Not found
-
Not Acceptable
-
Too many requests, maximum capacity reached. Requests are now throttled.
-
Internal Server Error
-
Bad Gateway
-
Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again.
curl \
--request POST 'https://matls-api.sandbox.raidiam.io/organisations/{OrganisationId}/softwarestatements/{SoftwareStatementId}/custom-claims' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "x-fapi-auth-date: string" \
--header "x-fapi-customer-ip-address: string" \
--header "x-fapi-interaction-id: string" \
--header "x-customer-user-agent: string" \
--data '{"Name":"string","Path":"$.","Source":"TRUST_FRAMEWORK_PROFILE"}'
# Headers
x-fapi-auth-date: string
x-fapi-customer-ip-address: string
x-fapi-interaction-id: string
x-customer-user-agent: string
# Payload
{
"Name": "string",
"Path": "$.",
"Source": "TRUST_FRAMEWORK_PROFILE"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"Name": "string",
"Path": "$.",
"Source": "TRUST_FRAMEWORK_PROFILE",
"ClaimKey": "string",
"CreatedAt": "2026-05-04T09:42:00Z",
"ID": "string",
"UpdatedAt": "2026-05-04T09:42:00Z"
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}
# Headers
x-fapi-interaction-id: 73cac523-d3ae-2289-b106-330a6218710d
# Payload
{
"errors": [
"string"
]
}