Get Encrypted File#

Returns a single encrypted file.

Request#

HTTP Method: GET

URI Path: /v3/encrypted_files/

URI Query Parameters#

Name

Type

Is Required?

Description

id

string

Yes

Unique ID identifier of the Encrypted File.

Examples#

http

1GET /v3/encrypted_files/c8e004b0-87ec-4987-b4fb-ee89db099f0e HTTP/1.1
2Host: api.didww.com
3Content-Type: application/vnd.api+json
4Accept: application/vnd.api+json
5Api-Key: [API token]

curl

1curl -i -X GET https://api.didww.com/v3/encrypted_files/c8e004b0-87ec-4987-b4fb-ee89db099f0e -H "Accept: application/vnd.api+json" -H "Api-Key: [API token]" -H "Content-Type: application/vnd.api+json"

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5    "data": [
 6        {
 7            "id": "cc52b6b3-0627-47d3-a1c9-b54d3de42813",
 8            "type": "encrypted_files",
 9            "attributes": {
10                "description": "Description",
11                "expire_at": "2021-03-29T14:18:19.569Z"
12            }
13        }
14    ],
15    "meta": {
16        "total_records": 1,
17        "api_version": "2022-05-10"
18    },
19    "links": {
20        "first": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50",
21        "last": "https://sandbox-api.didww.com/v3/encrypted_files?page%5Bnumber%5D=1&page%5Bsize%5D=50"
22    }
23}

Other Responses#

Code

Success

Description

401

No

Unauthorized