Auditmark

Get report layout

GET
/report-layouts/{lid}

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

Path Parameters

lid*Lid

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/report-layouts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "template_family_id": "290e2e3d-b358-4141-b04d-2f3e9b65d632",  "is_default": true,  "version": 0,  "origin": "string",  "shell_key": "string",  "schema_version": 0,  "theme": {    "theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8",    "theme_version": 0,    "overrides": {}  },  "page": {    "cover_image_url": "string",    "logo_url": "string",    "photo_resolution": "low",    "image_size": "S",    "section_dividers": false  },  "content": {    "blocks": [      {        "id": "string",        "type": "intake_details",        "enabled": true,        "display_condition": {          "kind": "score",          "op": "lt",          "value": "string",          "severity": "critical",          "field": "string"        },        "config": {}      }    ]  },  "email": {    "subject": "{inspection.title}",    "body": "Template: {template.title}\nCompleted on: {inspection.completed_date}",    "default_to": [],    "cc": [],    "bcc": [],    "auto_send": false  },  "effective_logo_url": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}