WeFitter notification API

Send a notification to all devices for the specified profiles The data will be sent to the client in the following format: ``` { "app": , "title": , "body": , "link": } ```

Operations 2

POST /notification/send_to_all/ Notification to all profiles in app #
POST /notification/send_to_profiles/ Notification to specific profiles #

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/wefitter-notification-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

wefitter-notification-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WeFitter app Notification API
  description: This is the WeFitter API
  termsOfService: https://www.wefitter.com/privacy/
  contact:
    email: hello@wefitter.com
  license:
    name: BSD License
  version: v1.3
servers:
- url: https://api.wefitter.com/api/v1.3
security:
- BearerProfile: []
tags:
- name: notification
  description: "Send a notification to all devices for the specified profiles\nThe data will be sent to the client in the following format:\n```\n{\n        \"app\": <app public id>,\n        \"title\": <title>,\n        \"body\": <body>,\n        \"link\": <optional link>\n}\n```\n"
paths:
  /notification/send_to_all/:
    parameters: []
    post:
      operationId: notification_send_to_all_create
      summary: Notification to all profiles in app
      description: Send a notification to all registered devices in the app.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
      tags:
      - notification
      security:
      - BearerAdmin: []
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Notification'
        required: true
  /notification/send_to_profiles/:
    parameters: []
    post:
      operationId: notification_send_to_profiles_create
      summary: Notification to specific profiles
      description: Send a notification to all registered devices for the specified profiles.
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationForProfiles'
      tags:
      - notification
      security:
      - BearerAdmin: []
      deprecated: false
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NotificationForProfiles'
        required: true
components:
  schemas:
    Notification:
      required:
      - title
      - body
      type: object
      properties:
        title:
          title: Title
          type: string
          maxLength: 512
          minLength: 1
        body:
          title: Body
          type: string
          maxLength: 2048
          minLength: 1
        schedule:
          title: Schedule
          description: date and time to send notification
          type:
          - string
          - 'null'
          format: date-time
        link:
          title: Link
          type: string
          maxLength: 1024
    NotificationForProfiles:
      required:
      - title
      - body
      - profiles
      type: object
      properties:
        title:
          title: Title
          type: string
          maxLength: 512
          minLength: 1
        body:
          title: Body
          type: string
          maxLength: 2048
          minLength: 1
        schedule:
          title: Schedule
          description: date and time to send notification
          type:
          - string
          - 'null'
          format: date-time
        link:
          title: Link
          type: string
          maxLength: 1024
        profiles:
          type: array
          items:
            description: The profiles to send the push notification to
            type: string
            format: uuid
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: 'Basic Authentication is used to create administrator bearer tokens.


        Once a bearer token has been made, remove this auth. (''logout'' in Swagger'')'
    BearerProfile:
      type: apiKey
      name: Authorization
      in: header
      description: 'Bearer authentication for logged-in profiles.


        When using the GUI, please don''t forget to prefix your bearer tokens with the text ''bearer'', followed by a space.'
    BearerAdmin:
      type: apiKey
      name: Authorization
      in: header
      description: 'Bearer authentication for administrators.


        When using the GUI, please don''t forget to prefix your bearer tokens with the text ''bearer'', followed by a space.'