The Art of Service Newsletter API

The newsletter API from The Art of Service — 5 operation(s) for newsletter.

GitHub OpenAPI

Operations 6

GET /api/newsletter/approve/{token} Approve Newsletter #
GET /api/newsletter/edit/{token} Edit Newsletter Form #
POST /api/newsletter/edit/{token} Submit Newsletter Changes #
POST /api/newsletter/generate Admin Generate Newsletter #
POST /api/newsletter/regenerate Admin Regenerate Newsletter #
GET /api/newsletter/status Admin Newsletter Status #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/theartofservice-com:theartofservice-com-newsletter-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

theartofservice-com-newsletter-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheArtOfService Knowledge Graph Compliance Platform…
  version: 1.0.0
tags:
- name: newsletter
paths:
  /api/newsletter/approve/{token}:
    get:
      tags:
      - newsletter
      summary: Approve Newsletter
      description: 'Approve the newsletter draft and send to all recipients.


        This endpoint is called when the admin clicks APPROVE in the draft email.

        Returns an HTML page with the result.'
      operationId: approve_newsletter_api_newsletter_approve__token__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/newsletter/edit/{token}:
    get:
      tags:
      - newsletter
      summary: Edit Newsletter Form
      description: Show a form where the admin can request changes to the draft.
      operationId: edit_newsletter_form_api_newsletter_edit__token__get
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - newsletter
      summary: Submit Newsletter Changes
      description: 'Process change request: regenerate draft and send new approval email.'
      operationId: submit_newsletter_changes_api_newsletter_edit__token__post
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/newsletter/generate:
    post:
      tags:
      - newsletter
      summary: Admin Generate Newsletter
      description: Manually trigger newsletter draft generation.
      operationId: admin_generate_newsletter_api_newsletter_generate_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/newsletter/regenerate:
    post:
      tags:
      - newsletter
      summary: Admin Regenerate Newsletter
      description: Regenerate newsletter with specific change instructions.
      operationId: admin_regenerate_newsletter_api_newsletter_regenerate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegenerateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
  /api/newsletter/status:
    get:
      tags:
      - newsletter
      summary: Admin Newsletter Status
      description: Get the current newsletter status.
      operationId: admin_newsletter_status_api_newsletter_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RegenerateRequest:
      properties:
        changes:
          type: string
          title: Changes
          default: ''
      type: object
      title: RegenerateRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer