Files

Use the REST API to fetch files data.

About files


You can access an file that you require that belongs to you with our api endpoint.

Parameters for "Get file data"

Body parameters
fileId
string
Required
The file id of which you want to get data for.

apiKey
string
Required
The API key for the user that can be created in the users settings.

HTTP response status codes for "Get file"

Stats codeDescription
200

OK

403

Forbidden

404

Resource not found

422

Validation failed, or the endpoint has been spammed.

Code sample for "Get files"

POSTpdf.fides-solutions.io/api/v1/file-data
cURL
curl --location 'https://pdf.fides-solutions.io/api/v1/file-data' \--header 'Content-Type: application/json' \--data '
{
"fileId": "<YOUR-FILE-ID>",
"apiKey": "<YOUR-API-TOKEN>"
}
'

Response

Example response
Status: 200
{
"name": "file for api",
"creationDate": "2023-12-04T23:58:22.571Z",
"publicAvailability": true,
"SubmissionCounter": 2,
"VisitCounter": 2,
"submissions": [
{
"createdDate": "2023-12-09T17:05:13.207Z",
"content": {
"Name": "James",
"Lastname": "Smith"
}
},
{
"createdDate": "2023-12-09T17:05:29.990Z",
"content": {
"Name": "Tom",
"Lastname": "Smith"
}
}
]
}

Help and support

Was this page helpful?

Share your feedback

Questions?

We're here to help if you have questions.
Logo

Fides PDF

2024 Fides-Solutions, Ltd. All Rights Reserved