Credentials
Create a credential template
Changed onCreate an issuance template for a credential schema. You provide the schema UUID, template name, and validity duration. Use the returned template UUID when you issue credentials.
post/v1/credential-templates
Request
- Base URLhttps://idv0.staging.didit.me
- AuthHTTP bearer
Request body
Example request
{
"schema": "2e844e4b-e7da-4d94-828e-eee9bdf66349",
"name": "standard",
"validity_seconds": 31536000
}Response
The credential template was created.
Example response
{
"uuid": "5588f83f-620b-4614-8ffa-933634a0b708",
"schema": "2e844e4b-e7da-4d94-828e-eee9bdf66349",
"name": "standard",
"validity_seconds": 31536000,
"created_at": "2026-07-02T23:33:33.479128Z"
}Changes
- breaking
removed the success response with the status
- breaking
- breaking
added required request body
- info
added the success response with the status
- breaking