Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Zego Shifts API

Start and end insurance cover periods (shifts) for customers.

Zego Shifts API is one of 5 APIs that Zego publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Shifts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and a changelog.

This API exposes 6 operations across 6 paths. It is described by OpenAPI 3.0.3, at version 2.0.

Requests are made against a single base URL, https://api.zego.com.

6 operations 6 paths 0 schemas 5 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0
Base URL
https://api.zego.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Zego Shifts API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (partnerToken). By default, every request must be authenticated.

  • partnerToken — Partner authorization token issued by the Zego Partnerships Manager, sent in the Authorization header.

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 5 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Shifts 6

Start and end insurance cover periods (shifts) for customers.

POST
/v1/shift/login/
Start an individual customer's shift
startShift body → 200400401
POST
/v1/shift/logout/
End a customer's shift
endShift body → 200400401
POST
/v1/batch/login/
Start shifts for multiple customers
startBatchShifts body → 200400401
POST
/v1/batch/logout/
End shifts for multiple customers
endBatchShifts body → 200400401
POST
/v2/shift/
Create a shift (open or finished)
createShift body → 201400401
PUT
/v2/shift/{id}
Update a shift with an end time
updateShift 1 param body → 200400401404

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

zego-shifts-api-openapi.yml Raw ↑

Other APIs Zego publishes across the network.

Zego Customer Integration API
Zego Customers API
Zego Occupations API
Zego Policies API