Get Public Keys#

Returns a list of RSA public keys which should be used for files encryption.

Encryption details is available here.

Request#

HTTP Method: GET

URI Path: /v3/public_keys

Examples#

http

1GET /v3/public_keys HTTP/1.1
2Host: api.didww.com
3Accept: application/vnd.api+json

curl

1curl -i -X GET https://api.didww.com/v3/public_keys -H "Accept: application/vnd.api+json"

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5    "data": [
 6        {
 7            "id": "dcf2bfcb-a1d0-3b58-bbf0-3ec22a510ba8",
 8            "type": "public_keys",
 9            "attributes": {
10                "key": "-----BEGIN PUBLIC KEY-----\n...-----END PUBLIC KEY-----\n"
11            }
12        },
13        {
14            "id": "f40e1176-a4ff-36e6-b2ed-c2c2d18097a3",
15            "type": "public_keys",
16            "attributes": {
17                "key": "-----BEGIN PUBLIC KEY-----\n...-----END PUBLIC KEY-----\n"
18            }
19        }
20    ],
21    "meta": {
22        "api_version": "2026-04-16"
23    }
24}