JWT

Generate Credentials

GET
https://in.staging.decentro.tech/v2/auth/token

Clients can use this API to generate a JSON Web Token (JWT) for secure access to all Decentro Fabric APIs as an alternative to using client_id and client_secret.

Decentro APIs can be accessed using either of the following methods:

  • Client Credentials
  • JWT Tokens

1. Client Credentials

During onboarding, clients receive credentials specific to the selected modules. If you have not received your credentials, please sign up here.

The credentials provided include:

NameDescription
client_idA unique ID assigned to each client
client_secretA secret key assigned to access your Decentro account

⚠️

Credentials are platform-specific. Do not share them internally or externally without appropriate authorization.


2. JWT (JSON Web Token)

JWT (JSON Web Token) is a compact and self-contained mechanism (as per RFC 7519) for securely transmitting information as a JSON object.

JWTs can be generated using the Decentro Auth API with one of the following grant_type values:

  • client_credentials

JWT tokens are valid for 15 minutes by default.

Language
Click Try It! to start a request and see the response here!