openapi: 3.2.0 info: title: Optimyzee Application App/Auth/Email API version: 4.1.0 x-original-title: API description: App/Auth/Email servers: - url: https://api.optimyzee.com description: Production (host serving this document at /docs) tags: - name: App/Auth/Email description: App/Auth/Email paths: /app/auth/email/resend: post: tags: - App/Auth/Email operationId: appAuthEmailResend responses: '204': description: Successful '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorSchema' '401': description: Unauthenticated content: application/json: schema: $ref: '#/components/schemas/ErrorSchema' security: - token: [] /app/auth/email: post: tags: - App/Auth/Email operationId: appAuthEmailUpdate requestBody: required: true content: application/json: schema: required: - email properties: email: type: string format: email type: object responses: '204': description: Successful '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/ErrorBagSchema' '403': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchema' security: - token: [] /app/auth/email/verify: post: tags: - App/Auth/Email operationId: appAuthEmailVerify requestBody: required: true content: application/json: schema: required: - code properties: code: type: string type: object responses: '204': description: Successful '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/ErrorBagSchema' '403': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorSchema' security: - token: [] components: schemas: ErrorSchema: required: - errors properties: error: type: string message: type: - string - 'null' type: object ErrorBagSchema: required: - errors properties: errors: type: object additionalProperties: type: array items: type: string type: object securitySchemes: token: type: apiKey description: Bearer token authorization name: authorization in: header