Provides access to the labels that are part of a Hyperproof organization.
Labels API (1.0)
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/labels
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/?canLink=string&status=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success.
The unique identifier for the organization the label belongs to.
The description of the label.
The freshness policy of an object. Set to 'manual' with a 'freshAsOfDate' value otherwise 'freshness' will be set to 'unknown'.
The freshness status of an object. Cannot be set if 'freshnessPolicy' is 'none' and 'freshAsOfDate' is null.
The date when the label was last marked 'fresh' (ISO-8601 format).
The note populated when the label was marked 'fresh'.
The unique identifier of the user who created the label.
The date and time the label was created (ISO-8601 format).
The unique identifier of the user who last updated the label.
The date and time the label was last updated (ISO-8601 format).
[ { "id": "d88d505d-5199-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "name": "Acceptable use of assets", "description": "List of acceptable uses of assets by company employees.", "freshnessPolicy": "manual", "freshForDuration": "PT720H", "freshness": "fresh", "freshAsOfDate": "2025-01-12T18:26:10.00.5365Z", "freshAsOfNote": "Initial freshness set", "expiration": "2025-02-11T06:26:10.0000000+00:00", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2025-01-12T18:26:10.0053650+00:00", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedOn": "2025-01-12T18:26:10.0053650+00:00", "status": "active", "permissions": [] } ]
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/labels
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acceptable use of assets",
"description": "List of acceptable uses of assets by company employees."
}'Success.
The unique identifier for the organization the label belongs to.
The description of the label.
The freshness policy of an object. Set to 'manual' with a 'freshAsOfDate' value otherwise 'freshness' will be set to 'unknown'.
The freshness status of an object. Cannot be set if 'freshnessPolicy' is 'none' and 'freshAsOfDate' is null.
The date when the label was last marked 'fresh' (ISO-8601 format).
The note populated when the label was marked 'fresh'.
The unique identifier of the user who created the label.
The date and time the label was created (ISO-8601 format).
The unique identifier of the user who last updated the label.
The date and time the label was last updated (ISO-8601 format).
{ "id": "d88d505d-5199-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "name": "Acceptable use of assets", "description": "List of acceptable uses of assets by company employees.", "freshnessPolicy": "manual", "freshForDuration": "PT720H", "freshness": "fresh", "freshAsOfDate": "2025-01-12T18:26:10.00.5365Z", "freshAsOfNote": "Initial freshness set", "expiration": "2025-02-11T06:26:10.0000000+00:00", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2025-01-12T18:26:10.0053650+00:00", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedOn": "2025-01-12T18:26:10.0053650+00:00", "status": "active", "permissions": [] }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/summaries
- Hyperproof UShttps://api.hyperproof.app/v1/labels/summaries
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels/summaries
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels/summaries
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/summaries?canLink=string&status=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'[ { "id": "09bb0a00-519a-11ee-a644-522476618ae8", "name": "Acceptable use of assets", "createdOn": "2023-09-08T18:26:10.0053650+00:00", "updatedOn": "2023-09-08T18:26:10.0053650+00:00", "permissions": [] } ]
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}
- Hyperproof UShttps://api.hyperproof.app/v1/labels/{labelId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels/{labelId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels/{labelId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Success.
The unique identifier for the organization the label belongs to.
The description of the label.
The freshness policy of an object. Set to 'manual' with a 'freshAsOfDate' value otherwise 'freshness' will be set to 'unknown'.
The freshness status of an object. Cannot be set if 'freshnessPolicy' is 'none' and 'freshAsOfDate' is null.
The date when the label was last marked 'fresh' (ISO-8601 format).
The note populated when the label was marked 'fresh'.
The unique identifier of the user who created the label.
The date and time the label was created (ISO-8601 format).
The unique identifier of the user who last updated the label.
The date and time the label was last updated (ISO-8601 format).
{ "id": "d88d505d-5199-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "name": "Acceptable use of assets", "description": "List of acceptable uses of assets by company employees.", "freshnessPolicy": "manual", "freshForDuration": "PT720H", "freshness": "fresh", "freshAsOfDate": "2025-01-12T18:26:10.00.5365Z", "freshAsOfNote": "Initial freshness set", "expiration": "2025-02-11T06:26:10.0000000+00:00", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2025-01-12T18:26:10.0053650+00:00", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedOn": "2025-01-12T18:26:10.0053650+00:00", "status": "active", "permissions": [] }
The description of the label.
The freshness policy of an object. Set to 'manual' with a 'freshAsOfDate' value otherwise 'freshness' will be set to 'unknown'.
Sets the duration after which the label becomes stale. Supply as a string in standard ISO-8601 duration format ex: P1Y3M2D or PT720H
The freshness status of an object. Cannot be set if 'freshnessPolicy' is 'none' and 'freshAsOfDate' is null.
Sets the date and time when the label was last fresh.
Adds a note when setting freshness. Cannot be set without also updating freshAsOfDate
Adds a note for resetting a label's freshness with an existing freshness policy.
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}
- Hyperproof UShttps://api.hyperproof.app/v1/labels/{labelId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels/{labelId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels/{labelId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Acceptable use of assets",
"description": "List of acceptable uses of assets by company employees.",
"freshnessPolicy": "manual",
"freshForDuration": "PT720H",
"freshness": "fresh",
"freshAsOfDate": "2025-01-12T18:26:10.00.5365Z",
"freshAsOfNote": "Updating expired label freshness",
"customFields": [
{
"fieldId": "ceb912ab-519b-11ee-a644-522476618ae8",
"value": "Antonio Moreno"
}
]
}'Success.
The unique identifier for the organization the label belongs to.
The description of the label.
The freshness policy of an object. Set to 'manual' with a 'freshAsOfDate' value otherwise 'freshness' will be set to 'unknown'.
The freshness status of an object. Cannot be set if 'freshnessPolicy' is 'none' and 'freshAsOfDate' is null.
The date when the label was last marked 'fresh' (ISO-8601 format).
The note populated when the label was marked 'fresh'.
The unique identifier of the user who created the label.
The date and time the label was created (ISO-8601 format).
The unique identifier of the user who last updated the label.
The date and time the label was last updated (ISO-8601 format).
{ "id": "d88d505d-5199-11ee-a644-522476618ae8", "orgId": "ce83e3cd-5199-11ee-a644-522476618ae8", "name": "Acceptable use of assets", "description": "List of acceptable uses of assets by company employees.", "freshnessPolicy": "manual", "freshForDuration": "PT720H", "freshness": "fresh", "freshAsOfDate": "2025-01-12T18:26:10.00.5365Z", "freshAsOfNote": "Initial freshness set", "expiration": "2025-02-11T06:26:10.0000000+00:00", "createdBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "createdOn": "2025-01-12T18:26:10.0053650+00:00", "updatedBy": "82d7c228-8bcd-11e9-a94b-ab3de8494987", "updatedOn": "2025-01-12T18:26:10.0053650+00:00", "status": "active", "permissions": [] }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}/proof
- Hyperproof UShttps://api.hyperproof.app/v1/labels/{labelId}/proof
- Hyperproof Govhttps://api.hyperproofgov.app/v1/labels/{labelId}/proof
- Hyperproof EUhttps://api.hyperproof.eu/v1/labels/{labelId}/proof
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.hyperproof.app/_mock/hyperproof-api/labels/labels.openapi/{labelId}/proof' \
-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" }