Trend Brand Authentication API

The Brand Authentication API from Trend — 7 operation(s) for brand authentication.

Operations 7

POST /auth/brand/signup #
POST /auth/brand/login #
POST /auth/brand/login/google #
POST /auth/brand/custom-token #
PATCH /auth/brand/update #
PATCH /auth/brand/update/logged-in-after-approval #
GET /auth/brand/profile #

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-brand-authentication-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-brand-authentication-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trend API - 1.28.31 Brand Authentication 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: Brand Authentication
paths:
  /auth/brand/signup:
    post:
      operationId: BrandAuthController_signEmailOnly
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailPasswordDto'
      responses:
        '201':
          description: The user & brand successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrendBrandAuthResponse'
      tags:
      - Brand Authentication
      security:
      - {}
  /auth/brand/login:
    post:
      operationId: BrandAuthController_brandLogin
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailPasswordDto'
      responses:
        '201':
          description: Brand auth session successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrendBrandAuthResponse'
      tags:
      - Brand Authentication
      security:
      - {}
  /auth/brand/login/google:
    post:
      operationId: BrandAuthController_brandLoginSSO
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: string
      responses:
        '201':
          description: Brand auth session successfully created.
      tags:
      - Brand Authentication
  /auth/brand/custom-token:
    post:
      operationId: BrandAuthController_brandRefreshCustomToken
      parameters: []
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: string
      tags:
      - Brand Authentication
  /auth/brand/update:
    patch:
      operationId: BrandAuthController_adminPatchBrandEmail
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminUpdateBrandEmail'
      responses:
        '200':
          description: ''
      tags:
      - Brand Authentication
      security:
      - admin-api-key: []
  /auth/brand/update/logged-in-after-approval:
    patch:
      operationId: BrandAuthController_updateLoggedInAfterApproval
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - Brand Authentication
  /auth/brand/profile:
    get:
      operationId: BrandAuthController_brandProfile
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrendBrandAuthResponse'
        '201':
          description: Retrieve Brand Profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrendBrandAuthResponse'
      tags:
      - Brand Authentication
components:
  schemas:
    AdminUpdateBrandEmail:
      type: object
      properties:
        brandId:
          type: string
        newEmail:
          type: string
        newPassword:
          type: string
      required:
      - brandId
      - newEmail
    TrendBrandAuthResponse:
      type: object
      properties:
        idToken:
          type: string
          description: Authentication Token
        expiresIn:
          type: string
          description: Seconds until idToken expires
        localId:
          type: string
          description: Firebase User ID
        brand:
          $ref: '#/components/schemas/BrandSchema'
        customToken:
          type: string
        email:
          type: string
        refreshToken:
          type: string
      required:
      - idToken
      - expiresIn
      - localId
      - brand
      - customToken
      - email
      - refreshToken
    BrandSchema:
      type: object
      properties: {}
    EmailPasswordDto:
      type: object
      properties:
        password:
          type: string
        url:
          type: string
        email:
          type: string
      required:
      - password
      - email
  securitySchemes:
    access-token:
      scheme: bearer
      bearerFormat: JWT
      type: http
    admin-api-key:
      type: apiKey
      in: header
      name: trend-api-key