⚡️ Quickstart Guide
Last updated
Last updated
Takes 5 minutes!
You will need an API Key and any library or app capable of making http requests (Postman, Fetch, Axios, Httpie, etc)
Get an API key
Select a credential schema
Build and issue credential(s)
The Disco API enables developers to issue Verifiable Credentials to addresses and to fetch and validate credentials about those addresses. These credentials use standard data models (schemas), contain event metadata or attestations, and can be later fetched and relied upon to bootstrap onboarding, manage access control, and understand community insights.
You will need to create an API key, steps to create one:
Create a test
account in our dashboard
Go to the Admin section and click on API Keys
Create an API Key
The directions below use the Membership Credential schema.
This method constructs a Membership Credential Schema, signed by Disco-controlled keys.
Generate and issue credentials to an ETH address or Decentralized Identifier (DID).
Fetch a public credential based on its ID
Video and more details are found in section.
Schemas define the structure and contents of a credential – enabling them to be consistent, verifiable, and interoperable. More details in . View Disco's public of schemas.
Always use Schemas raw files, .
Join our ! You can also contact us at ask@disco.xyz.
Returns a single credential using its verifiable credential ID (vc.id
) -
assuming the Api Key holder is either the holder, issuer or the Credential is public.
Unique ID of Credential
"did:3:123abcexample#someuuid"
Generate and return a signed Credential. This will also write the Credential the recipient's data backpack in Disco's Verifiable Data Registry. The JSON body should contain required Credential values for the schema type used. Available schemas and their specifications can be found at https://github.com/discoxyz/disco-schemas.
The URL of the verifiable crednetial schema. Available schemas can be found at https://github.com/discoxyz/disco-schemas
https://raw.githubusercontent.com/discoxyz/disco-schemas/main/json/MembershipCredential/1-0-0.json
The DID address of the credential's claimant
did:3:Example987xyz
The fields and values for the credential (based on its schema)
{ "memberId": "Goldstar Member", "membershipDescription": "Demo membership to showcase Disco API", "membershipLevel": "Permanent", "membershipType": "Developer", "organization": "Disco.xyz" }
The date for the credential to expire for the claimant. Leave empty if there's no expiration.
Optional - supported values are "JWT" and "712".
The DID address of the credential's issuer.
did:web:api.disco.xyz/v1/disco
To sign or not to sign - hint you should sign! Either leave out or assign false.
false