Auditmark
Api referencetemplates

Create Version

POST
/templates

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/templates" \  -H "Content-Type: application/json" \  -d '{    "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a"  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",  "version": 0,  "status": "string",  "layout_mode": "string",  "correction_mode": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}