Lakpura Notifications API

The Notifications API from Lakpura — 2 operation(s) for notifications.

GitHub OpenAPI

Operations 2

GET /notifications List the signed-in user's notifications #
POST /notifications/send Broadcast a notification to all active users (admin only) #

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/lakpura-com:lakpura-com-notifications-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

lakpura-com-notifications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lakpura® Notifications API
  version: 1.0.0
  description: 'REST API for the Lakpura mobile app (Android/iOS).


    **Authentication** is a JWT Bearer token (HS256). Obtain one from

    `POST /auth/login`, then send `Authorization: Bearer ` on every

    protected request. Tokens are **stateless** and expire after **1 hour**;

    there is no refresh token in v1, so on a `401` re-authenticate via

    `/auth/login`.


    **Errors** for every endpoint use the shape `{ "error": "message" }`. Branch

    on the HTTP status code, not the message text.


    Accounts are staff accounts; **self-registration is disabled**

    (`/auth/register` always returns 403). Administrators create accounts via

    `POST /users/create`.'
servers:
- url: https://api.lakpura.com/mobile/v1
  description: Production
- url: https://app.lakpura.com/api/mobile/v1
  description: Production (legacy base — kept for shipped app builds that pin it)
security:
- bearerAuth: []
tags:
- name: Notifications
paths:
  /notifications:
    get:
      tags:
      - Notifications
      summary: List the signed-in user's notifications
      description: Newest first, dismissed items excluded, max 200.
      responses:
        '200':
          description: Notifications
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Notification'
        '401':
          $ref: '#/components/responses/Error'
          description: Unauthenticated
      operationId: getNotifications
      x-operation-id-source: derived
  /notifications/send:
    post:
      tags:
      - Notifications
      summary: Broadcast a notification to all active users (admin only)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - subject
              - message
              properties:
                subject:
                  type: string
                message:
                  type: string
      responses:
        '200':
          description: Sent
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                    example: Notification sent to 104 users
        '400':
          $ref: '#/components/responses/Error'
          description: Subject and message are required
        '401':
          $ref: '#/components/responses/Error'
          description: Unauthenticated
        '403':
          $ref: '#/components/responses/Error'
          description: Administrator access required
      operationId: postNotificationsSend
      x-operation-id-source: derived
components:
  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Notification:
      type: object
      properties:
        id:
          type: string
          example: '123'
        subject:
          type: string
          example: Order shipped
        message:
          type: string
          example: Your order LK123 has shipped.
        sent_at:
          type: string
          format: date-time
          example: '2026-06-25T10:00:00Z'
    Error:
      type: object
      properties:
        error:
          type: string
          example: Invalid email or password
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT