Skip to content

Create an audit

POST
/v1/audits
curl --request POST \
--url https://api.varman.io/v1/audits \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "frameworkInstanceId": "frm_abc123", "name": "SOC 2 Type II 2026", "type": "soc2_type1", "status": "planning", "auditFirm": "Prescient Assurance", "periodStart": {}, "periodEnd": {}, "fieldworkStart": {}, "fieldworkEnd": {} }'

Creates an audit for a framework instance with type (SOC 2, ISO 27001, HIPAA, GDPR, internal), firm and dates. Status starts at planning.

Media typeapplication/json
object
frameworkInstanceId
required

Framework instance the audit covers

string

Example

frm_abc123
name
required

Audit name

string

Example

SOC 2 Type II 2026
type
required

Audit type

string
Allowed values: soc2_type1 soc2_type2 iso27001_stage1 iso27001_stage2 iso27001_surveillance hipaa gdpr internal
status

Audit status, defaults to planning

string
Allowed values: planning fieldwork reporting complete
auditFirm

Audit firm

object

Example

Prescient Assurance
periodStart

Observation period start (Type II), ISO date

object
periodEnd

Observation period end (Type II), ISO date

object
fieldworkStart

Fieldwork start, ISO date

object
fieldworkEnd

Fieldwork end, ISO date

object