Create DocumentAsk AIpost https://{hostname}/api/enterprise-policy/v1/{complianceType}/createUse this API to create a policy, standard, procedure, or privacy notice.Path ParamscomplianceTypestringenumrequiredThe type of compliance document.policiesstandardsproceduresprivacynoticesAllowed:policiesstandardsproceduresprivacynoticesBody ParamsorgGroupobjectrequiredThe details of the organization responsible for the policy, standard, procedure, or privacy notice.orgGroup objectnamestringrequiredlength between 1 and 200The name of the policy, standard, procedure, or privacy notice.descriptionstringlength between 0 and 2000The description of the policy, standard, procedure, or privacy notice.effectiveDatedateThe date on which the policy, standard, procedure, or privacy notice takes effect.expirationDatedateThe date on which the policy, standard, procedure, or privacy notice expires.approversarray of objectsrequiredThe details of the user(s) responsible for approving all drafts and changes made to the policy, standard, procedure, or privacy notice.approvers*ADD objectownersarray of objectsrequiredThe details of the user(s) responsible for creating and updating the policy, standard, procedure, or privacy notice.owners*ADD objectdefaultLanguageCodestringrequiredThe default language of the policy, standard, procedure, or privacy notice.Responses 201Created 400Bad Request 401Unauthorized 403Forbidden 429Too Many Requests. For more information, see API Rate Limits. 500Internal Server ErrorUpdated 4 months ago