API Reference
Create a Certificate Authority
Creates a Certificate Authority (CA) identifier (DID) and a new wallet address.
POST
'https://demo.eidcmp.wallid.io/api/v1/ca/
Headers
Content-Type
application/json
Authorization
Bearer <token>
Request Body
wa
string
wallet address
admin_email
string
registered email address of the account admin
Example Request
Example Response
Create a Template
Creates a Certificate template as achema with fixed attributes and corresponding dynamic attestations.
POST
'https://demo.eidcmp.wallid.io/api/v1/template/
Headers
Content-Type
application/json
Authorization
Bearer <token>
Request Body
cid
string
CA identifier
name
string
Name of the Template
wa
string
CA wallet address
frontendProps
object
frontend elements and attributes of the certificate schema. Contains components
object and current_layout
array
components
object
contains all the visual and atribute elements of the certificate
CurrentLayout
string
type of certificate visual format (card, badge, vertical A4, horizontal H4)
Example Request
Component Object elements
id
string
type
string
inputType
string
content
string
styles
object
className
string
placeholder
string
src
string
text
string
name
string
value
string
isActive
boolean
isDraggable
boolean
x
number
y
number
baseText
(string | undefined)[]
originalText
string
maxCharacters
string
minCharacters
string
isMandatory
boolean
Styles object elements:
width
string
height
string
color
string
backgroundColor
string
fontSize
string | number
fontWeight
string
textAlign
string
fontFamily
string
isItalic
boolean
isBold
boolean
isUnderlined
boolean
letterSpacing
string
previousWidth
number
warp
number
cursor
string
Example Response
Other Template Related Requests
Get Template
Returns the certificate template json file
GET
'https://demo.eidcmp.wallid.io/api/v1/template/:tid
Get Template File
Returns a the certificate template file in the specified file format (eg. .csv or .xls)
GET
'https://demo.eidcmp.wallid.io/api/v1/template/:tid/download/:fileFormat
Delete Template
Deletes Template from the API
DELETE
'https://demo.eidcmp.wallid.io/api/v1/template/:tid
Issue Certificates
Issues new certificate to and sends it to the a recipient email address.
POST
'https://demo.eidcmp.wallid.io/api/v1/credential/create
Headers
Content-Type
application/json
Authorization
Bearer <token>
Request Body
cid
string
CA identifier
tid
string
Template identifier
waAdmin
string
CA wallet address
data
dictionary
object with data to be stored in the credential (in the format of a list of "key": "value" pairs)
email
string
recipient person email address
Example Request
Example Response
Verify Certificates
Creates a verification URL to get and display certificate and verification data.
POST
'https://demo.eidcmp.wallid.io/api/v1/credential/create-verify-url
Headers
Content-Type
application/json
Authorization
Bearer <token>
Request Body
id
string
Certificate identifier
tid
string
Template identifier
guid
string
a unique identifier for the verification session and is returned in the init method
Example Request
Example Response
Other Verification Related Requests
Redirect Verification Session
Triggers socket io event in the Verify page session
GET
'https://demo.eidcmp.wallid.io/api/v1/credential/redirect/:sessionId
Get Certificate data
Gets certificate data for the session in the OIDC format
GET
'https://demo.eidcmp.wallid.io/api/v1/credential/data/:sessionId
Last updated