Download an application as PDF
curl --request GET \
--url https://acme.getid.ee/api/v1/pdf/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/pdf/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/pdf/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"responseCode": 401,
"errorMessage": "Unauthorized"
}{
"responseCode": 404
}Review and records
Download an application as PDF
Get a verified application in PDF format
In case of using the ApiKeyAuth, you can get any application;
In case of using the ApiTokenAuth without root access, you can get only application marked with this token;
GET
/
api
/
v1
/
pdf
/
{id}
Download an application as PDF
curl --request GET \
--url https://acme.getid.ee/api/v1/pdf/{id} \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://acme.getid.ee/api/v1/pdf/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://acme.getid.ee/api/v1/pdf/{id}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"responseCode": 401,
"errorMessage": "Unauthorized"
}{
"responseCode": 404
}Authorizations
ApiKeyAuthApiTokenAuth
Headers
Response
successful operation
The response is of type file.