Skip to main content
POST
Create policy draft

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
title
string
required
Required string length: 1 - 300
category
enum<string>
required
Available options:
hr,
security,
operations,
legal,
finance
slug
string | null
Required string length: 1 - 100
Pattern: ^[a-z0-9-]+$
content
string | null
Maximum string length: 200000
fileUrl
string<uri> | null
Maximum string length: 2048
ownerId
string<uuid> | null
reviewerId
string<uuid> | null
reviewCycleMonths
integer | null
Required range: 1 <= x <= 60
requiresAcknowledgement
boolean
default:false
ackAudience
enum<string>
default:all_members
Available options:
all_members,
department
ackDepartmentId
string<uuid> | null
effectiveDate
string<date-time> | null

Response

201 - application/json

Success

data
object
required