LINE Dummy API

The dummy API from LINE — 1 operation(s) for dummy.

Operations 1

POST /callback #

Documentation

Specifications

Other Resources

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/line-dummy-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

line-dummy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webhook Type Definition Dummy API
  description: Webhook event definition of the LINE Messaging API
  version: 1.0.0
servers:
- url: https://example.com
tags:
- name: dummy
paths:
  /callback:
    post:
      operationId: callback
      tags:
      - dummy
      description: This is the dummy endpoint to generate the model classes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallbackRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                description: dummy response
                type: string
                example: OK
components:
  schemas:
    EventMode:
      type: string
      description: Channel state.
      enum:
      - active
      - standby
    Event:
      description: Webhook event
      required:
      - type
      - timestamp
      - mode
      - webhookEventId
      - deliveryContext
      type: object
      properties:
        type:
          type: string
          description: Type of the event
        source:
          $ref: '#/components/schemas/Source'
        timestamp:
          type: integer
          format: int64
          description: Time of the event in milliseconds.
        mode:
          $ref: '#/components/schemas/EventMode'
        webhookEventId:
          type: string
          description: Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
        deliveryContext:
          $ref: '#/components/schemas/DeliveryContext'
      discriminator:
        propertyName: type
        mapping:
          message: '#/components/schemas/MessageEvent'
          unsend: '#/components/schemas/UnsendEvent'
          follow: '#/components/schemas/FollowEvent'
          unfollow: '#/components/schemas/UnfollowEvent'
          join: '#/components/schemas/JoinEvent'
          leave: '#/components/schemas/LeaveEvent'
          memberJoined: '#/components/schemas/MemberJoinedEvent'
          memberLeft: '#/components/schemas/MemberLeftEvent'
          postback: '#/components/schemas/PostbackEvent'
          videoPlayComplete: '#/components/schemas/VideoPlayCompleteEvent'
          beacon: '#/components/schemas/BeaconEvent'
          accountLink: '#/components/schemas/AccountLinkEvent'
          membership: '#/components/schemas/MembershipEvent'
          module: '#/components/schemas/ModuleEvent'
          activated: '#/components/schemas/ActivatedEvent'
          deactivated: '#/components/schemas/DeactivatedEvent'
          botSuspended: '#/components/schemas/BotSuspendedEvent'
          botResumed: '#/components/schemas/BotResumedEvent'
          delivery: '#/components/schemas/PnpDeliveryCompletionEvent'
          messageEdited: '#/components/schemas/MessageEditedEvent'
    CallbackRequest:
      externalDocs:
        url: https://developers.line.biz/en/reference/messaging-api/#request-body
      description: 'The request body contains a JSON object with the user ID of a bot that should receive webhook events and an array of webhook event objects.

        '
      type: object
      required:
      - destination
      - events
      properties:
        destination:
          type: string
          description: 'User ID of a bot that should receive webhook events.

            The user ID value is a string that matches the regular expression, `U[0-9a-f]{32}`.

            '
          pattern: ^U[0-9a-f]{32}$
          maxLength: 33
          minLength: 33
        events:
          description: 'Array of webhook event objects.

            The LINE Platform may send an empty array that doesn''t include a webhook event object to confirm communication.

            '
          type: array
          items:
            $ref: '#/components/schemas/Event'
    DeliveryContext:
      type: object
      description: webhook's delivery context information
      required:
      - isRedelivery
      properties:
        isRedelivery:
          type: boolean
          description: Whether the webhook event is a redelivered one or not.
    Source:
      externalDocs:
        url: https://developers.line.biz/en/reference/messaging-api/#source-user
      description: the source of the event.
      required:
      - type
      type: object
      properties:
        type:
          type: string
          description: source type
      discriminator:
        propertyName: type
        mapping:
          user: '#/components/schemas/UserSource'
          group: '#/components/schemas/GroupSource'
          room: '#/components/schemas/RoomSource'