searchpipe-tech Messages API
The messages API from searchpipe-tech — 3 operation(s) for messages.
The messages API from searchpipe-tech — 3 operation(s) for messages.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/searchpipe-tech:searchpipe-tech-messages-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: SearchPipe Messages API
version: 0.2.0
tags:
- name: Messages
paths:
/messages:
get:
tags:
- Messages
summary: List My Messages
description: 列当前用户的站内信(按创建时间倒序),附未读数。
operationId: list_my_messages_messages_get
security:
- HTTPBearer: []
parameters:
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
default: 1
title: Page
- name: size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Size
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MessageListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/messages/unread-count:
get:
tags:
- Messages
summary: Unread Count
description: 未读数(控制台导航角标轮询用)。
operationId: unread_count_messages_unread_count_get
security:
- HTTPBearer: []
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Unread Count Messages Unread Count Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/messages/{message_id}/read:
post:
tags:
- Messages
summary: Mark Message Read
description: 标记已读。他人消息一律 404(不暴露存在性)。重复标记幂等。
operationId: mark_message_read_messages__message_id__read_post
security:
- HTTPBearer: []
parameters:
- name: message_id
in: path
required: true
schema:
type: string
title: Message Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Mark Message Read Messages Message Id Read Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
MessageListResponse:
properties:
items:
items:
$ref: '#/components/schemas/MessageItem'
type: array
title: Items
total:
type: integer
title: Total
unread_count:
type: integer
title: Unread Count
page:
type: integer
title: Page
size:
type: integer
title: Size
type: object
required:
- items
- total
- unread_count
- page
- size
title: MessageListResponse
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
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
MessageItem:
properties:
id:
type: string
title: Id
title:
type: string
title: Title
content:
type: string
title: Content
kind:
type: string
title: Kind
read:
type: boolean
title: Read
read_at:
anyOf:
- type: string
- type: 'null'
title: Read At
created_at:
type: string
title: Created At
type: object
required:
- id
- title
- content
- kind
- read
- read_at
- created_at
title: MessageItem
securitySchemes:
HTTPBearer:
type: http
scheme: bearer