Credentials
Create a credential schema
Changed onCreate a credential schema for your tenant. You define the schema name, VCT (Verifiable Credential Type), and claim attributes. The API returns the stored schema with defaults such as format, version, branding, revocability, and status.
post/v1/credential-schemas
Request
- Base URLhttps://idv0.staging.didit.me
- AuthHTTP bearer
Request body
Example request
{
"name": "Loyalty Membership",
"vct": "AirlineLoyalty",
"attributes": [
{
"name": "given_name",
"sd": true
},
{
"name": "tier",
"sd": true
}
]
}Response
The credential schema was created.
Example response
{
"uuid": "2e844e4b-e7da-4d94-828e-eee9bdf66349",
"name": "Loyalty Membership",
"vct": "AirlineLoyalty",
"version": "1.0",
"format": "sd_jwt_vc",
"attributes": [
{
"name": "given_name",
"sd": true
},
{
"name": "tier",
"sd": true
}
],
"branding": {},
"revocable": true,
"status": "active",
"created_at": "2026-07-02T23:33:33.468912Z"
}Changes
- breaking
the request property
attributesbecame required - breaking
the request property
attributes/items/sdbecame required - breaking
removed the success response with the status
11 more changes in this revision
- breaking