Softkiln Announcements API

The announcements API from Softkiln — 10 operation(s) for announcements.

GitHub OpenAPI

Operations 10

GET /api/admin/announcements/config Announcement Config #
GET /api/admin/announcements List Announcements #
GET /api/admin/announcements/recipients Search Recipients #
GET /api/admin/announcements/{announcement_id} Get Announcement #
POST /api/admin/announcements/audience-preview Audience Preview #
POST /api/admin/announcements/preview Preview #
POST /api/admin/announcements/test Send Test #
POST /api/admin/announcements/send Send #
POST /api/admin/announcements/images Upload Announcement Image #
GET /api/public/announcement-images/{image_id} Serve Announcement Image #

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/softkiln-com:softkiln-com-announcements-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

softkiln-com-announcements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: App Manager Announcements API
  version: 0.1.0
tags:
- name: Announcements
paths:
  /api/admin/announcements/config:
    get:
      tags:
      - Announcements
      summary: Announcement Config
      description: What this deployment can send, so the composer does not have to guess.
      operationId: announcement_config_api_admin_announcements_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/admin/announcements:
    get:
      tags:
      - Announcements
      summary: List Announcements
      operationId: list_announcements_api_admin_announcements_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/admin/announcements/recipients:
    get:
      tags:
      - Announcements
      summary: Search Recipients
      description: Accounts whose email contains ``q``, for picking specific recipients.
      operationId: search_recipients_api_admin_announcements_recipients_get
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/{announcement_id}:
    get:
      tags:
      - Announcements
      summary: Get Announcement
      operationId: get_announcement_api_admin_announcements__announcement_id__get
      parameters:
      - name: announcement_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Announcement Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/audience-preview:
    post:
      tags:
      - Announcements
      summary: Audience Preview
      operationId: audience_preview_api_admin_announcements_audience_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AudiencePreviewIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/preview:
    post:
      tags:
      - Announcements
      summary: Preview
      operationId: preview_api_admin_announcements_preview_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreviewIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/test:
    post:
      tags:
      - Announcements
      summary: Send Test
      description: Send every written language to the caller, and only to the caller.
      operationId: send_test_api_admin_announcements_test_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/send:
    post:
      tags:
      - Announcements
      summary: Send
      operationId: send_api_admin_announcements_send_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendIn'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/admin/announcements/images:
    post:
      tags:
      - Announcements
      summary: Upload Announcement Image
      description: Store an image and return the link to put in the body.
      operationId: upload_announcement_image_api_admin_announcements_images_post
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_upload_announcement_image_api_admin_announcements_images_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/public/announcement-images/{image_id}:
    get:
      tags:
      - Announcements
      summary: Serve Announcement Image
      operationId: serve_announcement_image_api_public_announcement_images__image_id__get
      parameters:
      - name: image_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Image Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AudiencePreviewIn:
      properties:
        category:
          type: string
          enum:
          - service
          - product_update
          title: Category
        audience:
          $ref: '#/components/schemas/AudienceSpec'
      additionalProperties: false
      type: object
      required:
      - category
      - audience
      title: AudiencePreviewIn
    TestIn:
      properties:
        category:
          type: string
          enum:
          - service
          - product_update
          title: Category
        content:
          additionalProperties:
            $ref: '#/components/schemas/LocaleContent'
          type: object
          title: Content
      additionalProperties: false
      type: object
      required:
      - category
      - content
      title: TestIn
    PreviewIn:
      properties:
        category:
          type: string
          enum:
          - service
          - product_update
          title: Category
        locale:
          type: string
          title: Locale
        subject:
          type: string
          title: Subject
          default: ''
        body:
          type: string
          title: Body
          default: ''
      additionalProperties: false
      type: object
      required:
      - category
      - locale
      title: PreviewIn
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_upload_announcement_image_api_admin_announcements_images_post:
      properties:
        file:
          type: string
          contentMediaType: application/octet-stream
          title: File
      type: object
      required:
      - file
      title: Body_upload_announcement_image_api_admin_announcements_images_post
    AudienceSpec:
      properties:
        kind:
          type: string
          enum:
          - all
          - users
          - orgs
          title: Kind
        user_ids:
          items:
            type: string
            format: uuid
          type: array
          title: User Ids
        org_roles:
          items:
            type: string
            enum:
            - owner
            - admin
            - user
          type: array
          title: Org Roles
        app_tiers:
          items:
            type: string
            enum:
            - hobby
            - pro
            - enterprise
          type: array
          title: App Tiers
        org_plans:
          items:
            type: string
            enum:
            - solo
            - team
            - enterprise
          type: array
          title: Org Plans
      additionalProperties: false
      type: object
      required:
      - kind
      title: AudienceSpec
      description: "Who an announcement is for.\n\n* ``all`` — every account that has signed in at least once.\n* ``users`` — the accounts in ``user_ids``.\n* ``orgs`` — members holding one of ``org_roles`` in orgs matching the\n  filters. No filters means every org, which with the default roles is\n  \"everyone who manages an org\". ``org_plans`` and ``app_tiers`` both have to\n  match when both are given; an org matches a tier when any of its apps has it."
    SendIn:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        category:
          type: string
          enum:
          - service
          - product_update
          title: Category
        content:
          additionalProperties:
            $ref: '#/components/schemas/LocaleContent'
          type: object
          title: Content
        audience:
          $ref: '#/components/schemas/AudienceSpec'
      additionalProperties: false
      type: object
      required:
      - id
      - category
      - content
      - audience
      title: SendIn
    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
    LocaleContent:
      properties:
        subject:
          type: string
          title: Subject
          default: ''
        body:
          type: string
          title: Body
          default: ''
      additionalProperties: false
      type: object
      title: LocaleContent