LogoLogo
Back to All
  • TNG Identity user documentation
  • ๐Ÿ“‘INTRODUCTION
    • Introduction to TNG Identity
    • Why choose TNG Identity?
      • DID differentiators
    • How does TNG Identity work?
      • Data flows
      • Use cases and applications
    • Standards and regulations
    • Portal API
      • Overview
      • Getting Started
      • API Documentation
        • App
        • Auth
        • Mail
        • Organisation Profiles
        • User Profiles
        • PSP > Product Manager > Customer User Api Key
        • PSP > Product Manager > User Manager
  • ๐Ÿ“„TNG Identity Issuers
    • What is an issuer?
    • How to become an issuer?
    • Operating an issuer
    • What do issuers do?
    • Issuer API
      • Overview
      • Getting Started
      • Examples
        • Issue an email credential
        • Revoke a claimed email credential
      • API Documentation
        • Info
        • Auth
        • Media
        • Credential Offer Claims
        • Credential Offer Collections
        • Credential Offers
        • Credential Templates
        • Claim
        • Agent
  • ๐Ÿ“‘TNG IDENTITY VERIFIER
    • What is a Verifier?
    • Operating a verifier
    • How to become a verifier?
    • Verifier API
      • Overview
      • Getting Started
      • Examples
        • Verify an email credential
      • API Documentation
        • Info
        • Auth
        • Verifiable Presentation
        • Agent
        • SIOP
        • Templates
  • ๐Ÿ“„TNG IDENTITY WALLET
    • What is the wallet for?
    • How to receive a Verifiable Credential?
    • How to share a Verifiable Credential?
  • ๐Ÿ“‘Privacy and Security
    • Privacy and Security Measures: TNG Identity Services
    • Revocation and data deletion
  • ๐Ÿ—ƒ๏ธSELF-SOVEREIGN IDENTITY KNOWLEDGE
    • Self-Sovereign Identity
    • Actors
    • Decentralized vs Self-Sovereign Identity
    • Key Principles of Self-Sovereign Identity
    • Self-Sovereign Identity โ€“ Use Cases
    • Digital Trust
    • Some of the critical components of Self Sovereign Identity
      • Trust over IP
    • Some of the critical components of Decentralise ID
      • A Blockchain Tailored for Decentralized Identity
      • Decentralise Identifiers (DID)
      • Verifiable Credentials
      • Verifiable Presentations
  • ๐Ÿ“‘GLOSSARY
    • Glossary
  • ๐Ÿ“„FAQs / HELP
    • Help & FAQs
      • What is a digital identity?
      • What is TNG Identity, and how does it work?
      • How is blockchain used in TNG Identity?
      • Compatible Blockchains for TNG Identity.
      • How can my business sign up for TNG Identity?
      • How is TNG Identity different to other identity solutions in the market?
      • Can TNG Identity communicate with other identity solutions?
      • What is TNG Identity doing with my data, and does it act as a data processor or controller?
      • What measures does TNG Identity take to protect user data?
      • What support is available for TNG Identity?
      • Can TNG Identity be integrated into our existing systems?
      • How can I get started with TNG Identity?
      • What countries is TNG Identity available in?
Powered by GitBook
On this page
  1. ๐Ÿ“„TNG Identity Issuers
  2. Issuer API
  3. API Documentation

Credential Templates

PreviousCredential OffersNextClaim

Copyright ยฉ nChain Licensing AG 2024

Deletes the credential template cover image and reverts back to the Issuer default one if exists else throws an error.

delete

Delete credential template cover image.


Claim-based access control: Issuer_Admin, Issuer_User

Authorizations
Path parameters
correlationIdstringRequired

Defines a organisation which is defined as a correlationId. Must be a value the Issuer is working with!

Example: nchain
credentialIdstringRequired

Defines the credential type

Example: emailCredential
Responses
204
Successfully deleted
400
Invalid request params.
401
Invalid authentication credentials.
403
User does not have a required claim to perform this operation.
500
Internal server error.
delete
DELETE /products/web/$IDENTITY_ENV_ID/issuer/api/private/credential-templates/correlation/{correlationId}/credential/{credentialId}/cover-image HTTP/1.1
Host: identity.nchainplatform.com
X-API-KEY: YOUR_API_KEY
Accept: */*

No content

  • PUTUpload credential template background cover image.
  • GETFetch credential templates
  • DELETEDeletes the credential template cover image and reverts back to the Issuer default one if exists else throws an error.

Fetch credential templates

get

Fetch all the information related to the credential templates


Claim-based access control: Issuer_Admin, Issuer_User, Issuer_Auditor

Authorizations
Path parameters
correlationIdstringRequired

Defines a organisation which is defined as a correlationId. Must be a value the Issuer is working with!

Example: nchain
Query parameters
credentialIdstringOptional

Defines the credential type

Example: emailCredential
Responses
200Success
application/json
400
Invalid request body.
401
Invalid authentication credentials.
403
User does not have a required claim to perform this operation.
500
Internal server error.
get
GET /products/web/$IDENTITY_ENV_ID/issuer/api/private/credential-templates/correlation/{correlationId} HTTP/1.1
Host: identity.nchainplatform.com
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "credentials": [
    {
      "correlationId": "nchain",
      "credentialId": "emailCredential",
      "isDefaultCoverImage": true,
      "coverImage": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "mimeType": "image/jpeg",
        "keyUrl": "text",
        "filename": "text",
        "type": "cover_image"
      },
      "display": [
        {
          "name": "Email Credential",
          "description": "Email Credential for Organisation",
          "background_image": {
            "url": "https://cloudfront.example.com/some-path/1/emailCredential"
          }
        }
      ],
      "format": "jwt_vc_json",
      "fieldOrder": [
        "email"
      ],
      "fields": {
        "ANY_ADDITIONAL_PROPERTY": {
          "value_type": "string",
          "mandatory": true,
          "display": [
            {
              "name": "text",
              "locale": "text"
            }
          ],
          "format": "date",
          "minLength": 1,
          "maxLength": 1,
          "pattern": "text",
          "patternDescription": "text",
          "enum": [
            "text"
          ],
          "minDate": "text",
          "maxDate": "text",
          "min": 1,
          "max": 1
        }
      }
    }
  ]
}

Upload credential template background cover image.

put

Accepts the next image formats: image/jpeg, image/png, image/webp. Max size is: 5242880 bytes.


Claim-based access control: Issuer_Admin, Issuer_User

Authorizations
Path parameters
correlationIdstringRequired

Defines a organisation which is defined as a correlationId. Must be a value the Issuer is working with!

Example: nchain
credentialIdstringRequired

Defines the credential type

Example: emailCredential
Body
imagestring ยท binaryOptional
Responses
200Success
application/json
400
Invalid request body.
401
Invalid authentication credentials.
403
User does not have a required claim to perform this operation.
413
Image exceeds the allowed size.
415
Unsupported media type.
500
Internal server error.
put
PUT /products/web/$IDENTITY_ENV_ID/issuer/api/private/credential-templates/correlation/{correlationId}/credential/{credentialId}/background-cover-upload HTTP/1.1
Host: identity.nchainplatform.com
X-API-KEY: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18

{
  "image": "binary"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-06-20T03:01:54.663Z",
  "updatedAt": "2025-06-20T03:01:54.663Z",
  "correlationId": "nchain",
  "credentialId": "emailCredential",
  "isDefaultCoverImage": true,
  "coverImage": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "mimeType": "image/jpeg",
    "keyUrl": "text",
    "filename": "text",
    "type": "cover_image"
  }
}