Documents
Get an organization document
Gets a single document by ID within an organization
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuiddocumentId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "id": "string", "organizationId": "string", "projectId": "string", "name": "string", "description": "string", "type": "policy", "accessLevel": "public", "requiredAgreementId": "string", "allowlistEmails": [ "string" ], "allowlistDomains": [ "string" ], "tags": [ "string" ], "frameworks": [ "string" ], "slug": "string", "policyType": "string", "policyTemplateVersion": -9007199254740991, "formSubmissionId": "string", "migratedFromPolicyId": "string", "assets": [ { "id": "string", "format": "html", "language": "string", "body": "string", "file": { "bucket": "string", "key": "string", "size": -9007199254740991, "fileName": "string", "contentType": "string", "etag": "string", "sha256": "string" }, "version": -9007199254740991, "dateCreated": null, "dateUpdated": null } ], "question": "string", "url": "string", "quiz": { "items": [ { "id": "string", "type": "text", "label": "string", "title": "string", "description": "string", "placeholder": "string", "options": [ { "value": "string", "label": "string", "disabled": true } ], "defaultValue": "string", "validationRules": { "type": "string", "required": true, "min": -9007199254740991, "max": -9007199254740991, "pattern": "string" }, "componentId": "string", "entityKind": "control", "checkedChildren": "string", "uncheckedChildren": "string", "sectionId": "string", "visibleIf": { "type": "field-equals", "field": "string", "value": "string" }, "prefillFrom": "string", "correctAnswers": [ "string" ], "order": -9007199254740991, "children": { "condition": "string", "items": [ { "id": "string", "type": "text", "label": "string", "title": "string", "description": "string", "placeholder": "string", "options": [ { "value": "string", "label": "string", "disabled": true } ], "defaultValue": "string", "validationRules": { "type": "string", "required": true, "min": -9007199254740991, "max": -9007199254740991, "pattern": "string" }, "componentId": "string", "entityKind": "control", "checkedChildren": "string", "uncheckedChildren": "string", "sectionId": "string", "visibleIf": { "type": "field-equals", "field": "string", "value": "string" }, "prefillFrom": "string", "correctAnswers": [ "string" ], "order": -9007199254740991 } ] } } ], "passPercent": -9007199254740991 }, "videoUrl": "string", "version": -9007199254740991, "publishedReleaseId": "string", "hasUnpublishedChanges": true, "templateUpdateAvailable": true, "status": "active", "dateCreated": null, "dateUpdated": null}