MeroFoundry push devices API

The push devices API from MeroFoundry — 2 operation(s) for push devices.

GitHub OpenAPI

Operations 2

PUT /api/v1/public/applications/{application_id}/push/devices Register or refresh the calling consumer's push device #
DELETE /api/v1/public/applications/{application_id}/push/devices/{token} Remove the calling consumer's push device #

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/merofoundry-com:merofoundry-com-push-devices-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

merofoundry-com-push-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MeroFoundry Public push devices API
  version: 0.1.0
tags:
- name: push devices
paths:
  /api/v1/public/applications/{application_id}/push/devices:
    put:
      description: Insert the token, or re-bind it to the caller and refresh it; never answer the token.
      operationId: registerPushDevice
      parameters:
      - in: path
        name: application_id
        required: true
        schema:
          format: uuid
          title: Application Id
          type: string
      - in: header
        name: authorization
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RegisterPushDeviceRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PushDeviceRegistrationResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Register or refresh the calling consumer's push device
      tags:
      - push devices
  /api/v1/public/applications/{application_id}/push/devices/{token}:
    delete:
      description: Remove the caller's registration of the token; 204 whether or not there was one.
      operationId: unregisterPushDevice
      parameters:
      - in: path
        name: application_id
        required: true
        schema:
          format: uuid
          title: Application Id
          type: string
      - in: path
        name: token
        required: true
        schema:
          maxLength: 4096
          minLength: 1
          title: Token
          type: string
      - in: header
        name: authorization
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      summary: Remove the calling consumer's push device
      tags:
      - push devices
components:
  schemas:
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
      type: object
    PushDeviceRegistrationData:
      additionalProperties: false
      description: The device the calling consumer registers or refreshes.
      properties:
        appVersion:
          anyOf:
          - maxLength: 64
            minLength: 1
            type: string
          - type: 'null'
          title: Appversion
        locale:
          anyOf:
          - maxLength: 35
            minLength: 1
            type: string
          - type: 'null'
          title: Locale
        platform:
          enum:
          - apns
          - fcm
          title: Platform
          type: string
        token:
          description: 'APNs device token or FCM registration token: printable ASCII, no whitespace.'
          maxLength: 4096
          minLength: 1
          title: Token
          type: string
      required:
      - token
      - platform
      title: PushDeviceRegistrationData
      type: object
    PushDeviceRegistrationResponse:
      properties:
        data:
          $ref: '#/components/schemas/PushDeviceRegistrationResponseData'
      required:
      - data
      title: PushDeviceRegistrationResponse
      type: object
    PushDeviceRegistrationResponseData:
      properties:
        active:
          title: Active
          type: boolean
        appVersion:
          anyOf:
          - type: string
          - type: 'null'
          title: Appversion
        createdAt:
          format: date-time
          title: Createdat
          type: string
        lastSeenAt:
          format: date-time
          title: Lastseenat
          type: string
        locale:
          anyOf:
          - type: string
          - type: 'null'
          title: Locale
        platform:
          enum:
          - apns
          - fcm
          title: Platform
          type: string
      required:
      - platform
      - active
      - createdAt
      - lastSeenAt
      title: PushDeviceRegistrationResponseData
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    RegisterPushDeviceRequest:
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/PushDeviceRegistrationData'
      required:
      - data
      title: RegisterPushDeviceRequest
      type: object