Zego Occupations API

Supported public liability occupations.

OpenAPI Specification

zego-occupations-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: Zego Partner Customer Integration Occupations API
  version: '2.0'
  description: The Zego Partner API is a RESTful interface for partners and work providers to interact with Zego on behalf of Zego customers. It covers shift management (starting and ending insurance cover for gig-economy drivers and couriers), customer status and validation, customer registration and enrolment, fixed-term public liability policies, supported occupations, and customer matching. Access is granted to partners via an authorization token issued by the Zego Partnerships Manager. This specification was generated by the API Evangelist enrichment pipeline from Zego's published partner developer documentation at https://developer.zego.com/ — it is faithful to the documented operations but is not an official Zego artifact.
  contact:
    name: Zego Partnerships
    url: https://developer.zego.com/
  x-apievangelist-generated: true
  x-source: https://developer.zego.com/
servers:
- url: https://api.zego.com
  description: Production
security:
- partnerToken: []
tags:
- name: Occupations
  description: Supported public liability occupations.
paths:
  /v2/public-liability-occupations/:
    get:
      operationId: listPublicLiabilityOccupations
      tags:
      - Occupations
      summary: List supported public liability occupations
      responses:
        '200':
          description: List of supported occupation codes
        '401':
          description: Unauthorized
components:
  securitySchemes:
    partnerToken:
      type: apiKey
      in: header
      name: Authorization
      description: Partner authorization token issued by the Zego Partnerships Manager, sent in the Authorization header.