Submit an uploaded Vanta evidence document
import requests
url = "https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit \
--header 'Authorization: Bearer <token>'{
"attempts": 123,
"complete": true,
"created_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"framework": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_error": "<string>",
"last_error_class": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payload_sha256": "<string>",
"period": "<string>",
"receipt": {},
"requested_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"submitted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Security
Submit an uploaded Vanta evidence document
Submits the Vanta document an uploaded delivery put there; upload and submission are separate. A refused or uncertain submission leaves the delivery uploaded with the reason.
POST
/
api
/
v1
/
org
/
security
/
evidence
/
deliveries
/
{delivery_id}
/
submit
Submit an uploaded Vanta evidence document
import requests
url = "https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/org/security/evidence/deliveries/{delivery_id}/submit \
--header 'Authorization: Bearer <token>'{
"attempts": 123,
"complete": true,
"created_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z",
"destination_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"framework": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_error": "<string>",
"last_error_class": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"payload_sha256": "<string>",
"period": "<string>",
"receipt": {},
"requested_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "pending",
"submitted_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "permission_denied",
"permission": "<string>",
"scope_type": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful response
One evidence snapshot sent to one destination; its id is the stable event id. delivered is accepted transport, not a decoded or indexed event; uploaded is a Vanta draft until submitted; complete is false when the inventory exceeded the snapshot bound.
Available options:
pending, retrying, delivered, uploaded, submitted, failed, abandoned, cancelled