Live on Base with Ewance

See the certificates
API ReferenceReferenceTenants

Retrieve the current tenant

GET
/tenants/me

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token in the Authorization header. Key prefix determines environment: lrn_test_ → Base Sepolia, lrn_live_ → Base mainnet.

In: header

Response Body

application/json

application/json

curl -X GET "https://api.learncoin.me/v1/tenants/me"
{
  "id": "string",
  "name": "string",
  "did": "did:web:learncoin.me#tenant-01HXYZ",
  "plan": "developer",
  "environment": "test",
  "credentials_issued_this_month": 0,
  "credentials_limit_this_month": 0
}
{
  "error": {
    "code": "credential_not_found",
    "message": "string",
    "request_id": "req_01HXYZABCDEF"
  }
}