Trend Message API

The Message API from Trend — 6 operation(s) for message.

Operations 6

POST /message/brand/{threadId}/send #
POST /message/brand/{threadId}/read #
POST /message/creator/{threadId}/send #
POST /message/creator/{threadId}/read #
GET /message/creator/unread #
POST /message/creator/unread/{threadId} #

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/trend-message-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

trend-message-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trend API - 1.28.31 Message API
  description: OpenAPI documentation for the Trend NestJS API. For additional engineering documentation, visit <a href="https://trendio.notion.site/Trend-Engineering-1ade0c83fcf741a1acb45b73282caf4f" target="_blank"> The Trend Engineering Wiki</a>
  version: 1.28.31
  contact: {}
servers:
- url: https://api.trend.io
  description: 'Production Trend API (host serving /docs-json; root returns "Success! trend-api Version: 1.28.31")'
security:
- access-token: []
tags:
- name: Message
paths:
  /message/brand/{threadId}/send:
    post:
      operationId: MessageController_brandSendMessage
      parameters:
      - name: threadId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrandSendMessageRequestDto'
      responses:
        '201':
          description: ''
      tags:
      - Message
  /message/brand/{threadId}/read:
    post:
      operationId: MessageController_brandReadMessage
      parameters:
      - name: threadId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Message
  /message/creator/{threadId}/send:
    post:
      operationId: MessageController_creatorSendMessage
      parameters:
      - name: threadId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatorSendMessageRequestDto'
      responses:
        '201':
          description: ''
      tags:
      - Message
  /message/creator/{threadId}/read:
    post:
      operationId: MessageController_creatorReadMessage
      parameters:
      - name: threadId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Message
  /message/creator/unread:
    get:
      operationId: MessageController_getCreatorUnreadMessageCount
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Message
  /message/creator/unread/{threadId}:
    post:
      operationId: MessageController_notifyCreatorUnread
      parameters:
      - name: threadId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
      tags:
      - Message
      security:
      - admin-api-key: []
components:
  schemas:
    CreatorSendMessageRequestDto:
      type: object
      properties:
        brandId:
          type: string
        text:
          type: string
        type:
          type: string
          enum:
          - image
          - video
          - text
          - revisionRequest
        url:
          type: string
        thumbnail:
          type: string
        messageId:
          type: string
      required:
      - brandId
      - text
      - type
    BrandSendMessageRequestDto:
      type: object
      properties:
        creatorId:
          type: string
        text:
          type: string
        type:
          type: string
          enum:
          - image
          - video
          - text
          - revisionRequest
        url:
          type: string
        thumbnail:
          type: string
        messageId:
          type: string
      required:
      - creatorId
      - text
      - type
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
    admin-api-key:
      type: apiKey
      in: header
      name: trend-api-key