openapi: 3.2.0 info: title: Deputy V1 My Nps API version: 1.0.0 description: 'Generated reference for Deputy''s legacy V1 `/supervise/` (supervisor-level operations) and `/my/` (authenticated-employee operations) endpoints. Enumerated statically from router classes under `deputy-webapp/app/api/v1/routers/Super*Router.php` and `My*Router.php`. V1 is in maintenance mode — new integrations should prefer V2. This spec covers only the `/my/*` routes. The sibling family is in a separate ReadMe spec.' servers: - url: https://{subdomain}.{region}.deputy.com/api/v1 description: Deputy tenant variables: subdomain: default: your-subdomain region: default: deputy enum: - au - eu - na - deputy security: - BearerAuth: [] tags: - name: nps description: V1 /my/nps/* endpoints paths: /my/nps: post: tags: - nps summary: Create or update Nps operationId: my_nps__post responses: '200': description: Success content: application/json: schema: type: object '400': description: Bad request '401': description: Not authenticated '403': description: Insufficient permissions '404': description: Not found requestBody: required: true content: application/json: schema: type: object put: tags: - nps summary: Create Nps operationId: my_nps__put responses: '200': description: Success content: application/json: schema: type: object '400': description: Bad request '401': description: Not authenticated '403': description: Insufficient permissions '404': description: Not found requestBody: required: true content: application/json: schema: type: object /my/nps/cannps: get: tags: - nps summary: GET Nps / cannps operationId: my_nps__cannps_get responses: '200': description: Success content: application/json: schema: type: object '400': description: Bad request '401': description: Not authenticated '403': description: Insufficient permissions '404': description: Not found /my/nps/later: post: tags: - nps summary: POST Nps / later operationId: my_nps__later_post responses: '200': description: Success content: application/json: schema: type: object '400': description: Bad request '401': description: Not authenticated '403': description: Insufficient permissions '404': description: Not found requestBody: required: true content: application/json: schema: type: object components: securitySchemes: BearerAuth: type: http scheme: bearer description: OAuth 2.0 access token or Deputy Permanent Token.