REST API Quick Start
Authenticate against the StimuliZ API, issue your first verifiable credential, and verify a presentation in under 10 minutes.
# REST API Quick Start
This guide walks you through authenticating and issuing your first verifiable credential.
Prerequisites
- A StimuliZ developer account — join the waitlist
- Your **Client ID** and **Client Secret** from the Developer Portal
Authentication
StimuliZ uses OAuth 2.0 client credentials flow.
curl -X POST https://api.stimulizdigital.com/oauth/token \
-H "Content-Type: application/json" \
-d '{
"grant_type": "client_credentials",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"scope": "credentials:issue credentials:verify"
}'You will receive a bearer token valid for 1 hour.
Issue a Credential
curl -X POST https://api.stimulizdigital.com/v1/credentials/issue \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "type": "EmailCredential", "subject_did": "did:web:example.com", "claims": { "email": "alice@example.com" } }'SDK Support
| Language | Package | |----------|---------| | TypeScript | @stimuliz/identity-sdk | | Python | stimuliz-identity | | Go | github.com/stimulizdigital/sdk-go |