AY Developer docs
ApiPublic documents

Platform DID document

The did:webvh document of the AY platform. `#key-2` signs every passport and credential. `application/did+ld+json`, `ETag`, `Cache-Control: public, max-age=3600`.

GET
/.well-known/did.json

The did:webvh document of the AY platform. #key-2 signs every passport and credential. application/did+ld+json, ETag, Cache-Control: public, max-age=3600.

Response Body

DID document

application/did+ld+json
  1. response

W3C DID document (did:webvh). Only id is guaranteed; the rest follows DID Core.

@context?array<string>
id*string
controller?string
verificationMethod?array<>
authentication?array<string>
assertionMethod?array<string>
service?array<>
deactivated?boolean
[key: string]?any
Example Request
curl -X GET 'https://api.aytwin.ai/.well-known/did.json'
Example Response
{  "@context": [    "string"  ],  "id": "string",  "controller": "string",  "verificationMethod": [    {      "id": "string",      "type": "string",      "controller": "string",      "publicKeyMultibase": "string",      "publicKeyJwk": {}    }  ],  "authentication": [    "string"  ],  "assertionMethod": [    "string"  ],  "service": [    {      "id": "string",      "type": "string",      "serviceEndpoint": "http://example.com"    }  ],  "deactivated": true}