Skip to main content
POST
Create a template from an envelope

Authorizations

Authorization
string
header
required

Organization API key (format atlas_sk_...), passed as a bearer token or the x-api-key header. Created and revoked in the dashboard (Better Auth api-key plugin); shown in full only once and stored hashed.

Body

application/json
sourceEnvelopeId
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
roles
object[]
lockedFieldIds
string[]

Response

Template graph created

template
object
required
roles
object[]
required
fields
object[]
required