Auditmark

List locations

GET
/locations

Authorization

OrgApiKey
AuthorizationBearer <token>

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

In: header

Query Parameters

client_account_id?|null
q?string|null
source?string|null
active?boolean|null
limit?|null
offset?Offset
include_templates?Include Templates
include_template_assignments?Include Template Assignments
include_contacts?Include Contacts
order?string|null
family_ids?array<>|null

Response Body

application/json

application/json

curl -X GET "https://api.auditmark.io/v1/locations"
[  {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "client_account_id": "219adf14-412b-4051-82f8-967a3418e740",    "client_account_name": "string",    "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",    "parent_name": "string",    "name": "string",    "kind": "string",    "address": "string",    "source": "string",    "external_provider": "string",    "external_synced_at": "2019-08-24T14:15:22Z",    "active": true,    "updated_at": "2019-08-24T14:15:22Z",    "templates": [      {        "family_id": "fcd2485f-01cf-42a4-b87e-419b8257112a",        "name": "string",        "pinned": true      }    ],    "template_count": 0,    "assigned_family_ids": [      "e52fbb48-0eb1-457c-88a1-df870f42d6e3"    ],    "pinned_family_id": "2c1659d4-a186-4215-a989-54d65250ec62",    "report_contacts": [      {        "name": "string",        "role": "string",        "email": "string",        "phone": "string"      }    ]  }]
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}