v1
latestOpenAPI 3.1.02026-07-24300110.4 KBPOST Document
Creates a document.
Query parameters
Name of the document
The document file to upload
Description of the document
Certification type (badge) of the document
When set to true, this document will be 'featured' on a public profile
UUID of the folder to place the document in
Access level of the document
Comma-separated Product Line UUIDs. These are the applicable product lines for the document. Leave blank if applicable to all product lines.
Comma-separated Access Group UUIDs
Disable downloads for this document
Use this document for question answering. If not provided, it will be automatically determined based on whether the document can be used for question answering.
Expiration date in ISO 8601 format (e.g. 2026-12-31).
Document owner/curator. Must be a user in your org. Cannot be combined with curator_email unless they match.
Alternative to curator_id. Resolved to a user in your org. Cannot be combined with curator_id unless they match.
Headers
Your Conveyor API key
Response
201
Example response
{
"id": "9ac0f20b-554e-490e-b806-e6713068404c",
"created_at": "2024-09-17T17:48:17.221Z",
"updated_at": "2024-09-17T17:48:17.500Z",
"file_updated_at": "2024-09-17T17:48:17.422Z",
"name": "test_document_name",
"description": "test test",
"display_certification": "Cyber Essentials",
"featured": true,
"folder": "testa",
"access_level": "need_to_know",
"product_lines": [
{
"id": "c75a6dff-532e-481a-9fcb-0410afc7ea7e",
"created_at": "2024-09-11T17:04:48.615Z",
"updated_at": "2024-09-11T17:04:48.615Z",
"_type": "product_line",
"program_id": "af57131d-50e7-4b2d-be4e-a8703ec255bc",
"name": "test cloud",
"in_use": true
}
],
"access_groups": [
{
"id": "bb2ecf25-1cfb-451a-adfe-91fcf9bd6158",
"created_at": "2024-09-11T17:05:40.182Z",
"updated_at": "2024-09-11T17:05:40.182Z",
"_type": "exchange/access_group",
"name": "test access group ",
"dataroom_id": "74fa2c77-402c-4384-b68d-35746d79659e",
"in_use": true,
"_links": {
"self": {
"href": "http://localhost:4006/exchange/access_groups/bb2ecf25-1cfb-451a-adfe-91fcf9bd6158"
}
}
}
],
"versions": [
{
"id": "ed3a99aa-eab8-45cc-9aac-04050b59d1ff",
"version_number": 1,
"content_type": "application/pdf",
"filename": "Boarding Pass - OYJHHQ - BOS-SFO.pdf",
"created_at": "2024-09-17T17:48:17.422Z"
}
],
"use_for_question_answering": true
}