sideos API Documentation
  • Welcome!
  • Quick Start
  • Sign up & get started
    • Creating a Credential Type
    • Add an Admin
  • Issue a Verifiable Credential
  • How to delete your Data
  • Reference
    • API Reference
      • Offer Credentials
      • Request Credentials
      • Templates
      • Wallets
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Templates

Credential Type definitions

PreviousRequest CredentialsNextWallets

Last updated 1 year ago

In the calls to create Credential Request or Credential Offer there is a reference to the respective credential type by its ID. If you want to get the template spec, you can call the API to get the type definition of a certain template.

Description of the template fields.

post

Provide the types of the fields of a template based on the given template ID.

Authorizations
Body
TemplateIdnumber ยท integerOptional

The ID of a credential template as defined in the sidoes administration console.

Example: 18
Responses
200
The description of the template definition.
application/json
400
Bad Request
application/json
403
Unauthorized Access
application/json
500
Server Error
application/json
post
POST /v3/templatefielddescription HTTP/1.1
Host: juno.sideos.io
X-TOKEN: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "TemplateId": 18
}
{
  "templateid": 18,
  "domain": "https://yourdomain/callback",
  "challenge": "A08935CF-FAEF-4978-81FF-BA4BBD757727",
  "dataset": {
    "email": "DataFeedItem",
    "name": "DataFeedItem"
  }
}