Openwork Dev API

The Dev API from Openwork — 2 operation(s) for dev.

OpenAPI Specification

openwork-dev-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Den Admin Dev API
  description: 'OpenAPI spec for the Den control plane API.


    Authentication:

    - Use `Authorization: Bearer <session-token>` for user-authenticated routes that require a Den session.

    - Use `x-api-key: <den-api-key>` for API-key-authenticated routes that accept organization API keys.

    - Public routes like health and documentation do not require authentication.


    Swagger tip: use the security schemes in the Authorize dialog to set either `bearerAuth` or `denApiKey` before trying protected endpoints.'
  version: dev
servers:
- url: https://api.openworklabs.com
tags:
- name: Dev
paths:
  /v1/dev/emails:
    get:
      operationId: getV1DevEmails
      responses:
        '200': {}
      tags:
      - Dev
  /v1/dev/emails/last:
    get:
      operationId: getV1DevEmailsLast
      responses:
        '200': {}
      tags:
      - Dev
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: session-token
      description: 'Session token passed as `Authorization: Bearer <session-token>` for user-authenticated Den routes.'
    denApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Organization API key passed as the `x-api-key` header for API-key-authenticated Den routes.