Skip to main content
POST
Create a new mDoc credential preset.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
credentialFormat
enum<string>
required
Available options:
mdoc
templateName
string
required
code
string
required
Pattern: ^[a-z0-9-]+$
templateDescription
string
required
type
string
required
Minimum string length: 1
templateAttributes
object
required
validUntil
object
required
issuerConfig
object
branding
object
Example:
namespace
enum<string>
Available options:
public,
private

Response

200 - application/json

Created mDoc credential preset.

data
object
required
Example:
meta
object
errors
object[]