Provides access to the proof that is part of a Hyperproof organization.
Proof API (1.0)
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/proof
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/?limit=25&sortBy=createdBy&sortDirection=asc&nextToken=string&objectType=control&objectId=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success.
A collection of proof.
{ "data": [ { … } ], "nextToken": "string" }
Request
POST /
Adds a new proof item to an organization, storing evidence details, file attachments, and metadata for compliance tracking.
Uploading Testable CSV proof
When sending CSV files, you need to explicitly declare the type as text/csv. This tells Hyperproof to treat the uploaded blob as tabular data. This allows the CSV proof to be usable in automated tests.
curl --request POST \
--url https://api.hyperproof.app/v1/proof \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--form proof=@"./policies/AcceptableUse.csv:type=text/csv" \
--form hp-proof-owned-by="$USER_ID"
--form contentType="text/csv"- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/proof
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data'Success.
Unique identifier of the user who owns the proof item
The date the proof was uploaded (ISO-8601 format)
Status of the proof item
Unique identifier of the user who created the proof item
The date the proof was created (ISO-8601 format)
Unique identifier of the user who last updated the proof item
{ "id": "4eb909de-51af-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "filename": "example.txt", "contentType": "text/plain", "fileExtension": "txt", "size": 627, "version": 0, "source": "localComputer", "ownedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "uploadedOn": "2023-09-12T20:59:47.6943530+00:00", "isPrivate": false, "status": "active", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2023-09-12T20:59:47.6943530+00:00", "updatedOn": "2023-09-12T20:59:47.6943530+00:00" }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}
- Hyperproof UShttps://api.hyperproof.app/v1/proof/{proofId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof/{proofId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof/{proofId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success.
Unique identifier of the user who owns the proof item
The date the proof was uploaded (ISO-8601 format)
Status of the proof item
Unique identifier of the user who created the proof item
The date the proof was created (ISO-8601 format)
Unique identifier of the user who last updated the proof item
{ "id": "4eb909de-51af-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "filename": "example.txt", "contentType": "text/plain", "fileExtension": "txt", "size": 627, "version": 0, "source": "localComputer", "ownedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "uploadedOn": "2023-09-12T20:59:47.6943530+00:00", "isPrivate": false, "status": "active", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2023-09-12T20:59:47.6943530+00:00", "updatedOn": "2023-09-12T20:59:47.6943530+00:00" }
Request
PATCH /{proofId}
Updates an existing proof file identified by its ID, allowing modification to whether it is private. Also allows adding the schema file for proof uploaded in CSV format to make that file compatible with the automated testing feature.
Updating Testable CSV proof
After uploading a CSV file intended for automated testing, a PATCH request should be made to create the schema to be tested. The body of the request will define the CSV fields and types for the automated testing feature. Available types include text , number , boolean , and date.
curl --request PATCH 'https://api.hyperproof.app/v1/proof/:proofid' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"isPrivate": false,
"schema": {
"class": "CsvFileSchema",
"fields": [{
"name": "Name",
"type": "text"
}, {
"name": "Email",
"type": "text"
}]
}
}'- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}
- Hyperproof UShttps://api.hyperproof.app/v1/proof/{proofId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof/{proofId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof/{proofId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"isPrivate": false,
"schema": {
"class": "CsvFileSchema",
"fields": [
{
"name": "Name",
"type": "text"
},
{
"name": "Email",
"type": "text"
}
]
}
}'Success.
Unique identifier of the user who owns the proof item
The date the proof was uploaded (ISO-8601 format)
Status of the proof item
Unique identifier of the user who created the proof item
The date the proof was created (ISO-8601 format)
Unique identifier of the user who last updated the proof item
{ "id": "4eb909de-51af-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "filename": "example.txt", "contentType": "text/plain", "fileExtension": "txt", "size": 627, "version": 0, "source": "localComputer", "ownedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "uploadedOn": "2023-09-12T20:59:47.694353Z", "isPrivate": false, "status": "active", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2023-09-12T20:59:47.694353Z", "updatedOn": "2023-09-12T20:59:47.694353Z" }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}/versions
- Hyperproof UShttps://api.hyperproof.app/v1/proof/{proofId}/versions
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof/{proofId}/versions
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof/{proofId}/versions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}/versions' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data'Success.
Unique identifier of the user who owns the proof item
The date the proof was uploaded (ISO-8601 format)
Status of the proof item
Unique identifier of the user who created the proof item
The date the proof was created (ISO-8601 format)
Unique identifier of the user who last updated the proof item
{ "id": "4eb909de-51af-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "filename": "example.txt", "contentType": "text/plain", "fileExtension": "txt", "size": 627, "version": 0, "source": "localComputer", "ownedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "uploadedOn": "2023-09-12T20:59:47.6943530+00:00", "isPrivate": false, "status": "active", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2023-09-12T20:59:47.6943530+00:00", "updatedOn": "2023-09-12T20:59:47.6943530+00:00" }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}/contents
- Hyperproof UShttps://api.hyperproof.app/v1/proof/{proofId}/contents
- Hyperproof EUhttps://api.hyperproof.eu/v1/proof/{proofId}/contents
- Hyperproof Govhttps://api.hyperproofgov.app/v1/proof/{proofId}/contents
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/proof/proof.openapi/{proofId}/contents?version=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'