MyZSK API

The MyZSK API is a read-only REST interface that allows for the retrieval of embroidery data, machine statuses, and analytics from the MyZSK platform. It is designed for the programmatic analysis of production, thread breaks, shifts, and operators.

List locations

GET /locations

Returns all active locations for the authenticated company, including a count of visible machines assigned to each location.

Authentication

Requires the X-API-Key header.

Query parameters

None.

Response (200 OK)

FieldTypeDescription
data[].idintegerLocation identifier (use as locationId in report endpoints).
data[].namestringLocation name (e.g. "Headquarters").
data[].id_companyintegerID of the owning company.
data[].company_namestringName of the owning company.
data[].machine_countintegerNumber of visible machines assigned to this location.

Example response

{
  "data": [
    { "id": 1, "name": "Headquarters", "id_company": 42, "company_name": "ACME GmbH", "machine_count": 12 }
  ]
}

Example

curl -H "X-API-Key: $MYZSK_API_KEY" \
     "https://my.zsk.de/customer-api/locations"