JustBlogged Blogs API

Blog discovery and selection

GitHub OpenAPI

Operations 8

GET /blogs List accessible blogs #
POST /blogs Create blog #
GET /blogs/{blogId} Get blog #
PATCH /blogs/{blogId} Update blog #
DELETE /blogs/{blogId} Delete blog #
GET /blogs/{blogId}/metadata Get blog metadata #
PATCH /blogs/{blogId}/metadata Update blog metadata #
PATCH /blogs/{blogId}/domain Update blog domain #

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/justblogged-com:justblogged-com-blogs-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

justblogged-com-blogs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: JustBlogged Blogs API
  description: Content management API for JustBlogged multi-tenant blog platform
  version: 1.0.0
  contact:
    name: JustBlogged
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
- url: /api
  description: API base path
security:
- bearerAuth: []
tags:
- name: Blogs
  description: Blog discovery and selection
paths:
  /blogs:
    get:
      tags:
      - Blogs
      summary: List accessible blogs
      description: List blogs accessible to the authenticated caller. User-scoped API keys return all accessible blogs; blog-scoped API keys return only their bound blog.
      operationId: listBlogs
      responses:
        '200':
          description: Accessible blogs
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Blog'
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      tags:
      - Blogs
      summary: Create blog
      description: Create a new blog. Subdomain is auto-generated from the name. Requires a user-scoped API key or authenticated session.
      operationId: createBlog
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBlogRequest'
      responses:
        '200':
          description: Created blog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blog'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /blogs/{blogId}:
    get:
      tags:
      - Blogs
      summary: Get blog
      description: Get a single blog by ID. Requires owner or admin access.
      operationId: getBlog
      parameters:
      - $ref: '#/components/parameters/blogId'
      responses:
        '200':
          description: Blog details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blog'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Blogs
      summary: Update blog
      description: Update blog name, subdomain, description, and logo. Requires owner or admin access.
      operationId: updateBlog
      parameters:
      - $ref: '#/components/parameters/blogId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBlogRequest'
      responses:
        '200':
          description: Updated blog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blog'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      tags:
      - Blogs
      summary: Delete blog
      description: Delete a blog by ID. Only the blog owner can delete. Active subscriptions are cancelled automatically.
      operationId: deleteBlog
      parameters:
      - $ref: '#/components/parameters/blogId'
      responses:
        '200':
          description: Blog deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteSuccess'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
  /blogs/{blogId}/metadata:
    get:
      tags:
      - Blogs
      summary: Get blog metadata
      description: Get custom metadata for a blog. Requires owner or admin access.
      operationId: getBlogMetadata
      parameters:
      - $ref: '#/components/parameters/blogId'
      responses:
        '200':
          description: Blog metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlogMetadata'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    patch:
      tags:
      - Blogs
      summary: Update blog metadata
      description: Merge custom metadata into a blog. themeSettings cannot be updated through this endpoint.
      operationId: updateBlogMetadata
      parameters:
      - $ref: '#/components/parameters/blogId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BlogMetadataPatch'
      responses:
        '200':
          description: Updated blog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blog'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
  /blogs/{blogId}/domain:
    patch:
      tags:
      - Blogs
      summary: Update blog domain
      description: 'Configure or remove a blog''s custom domain. Custom domains require CNAME/A DNS verification.

        Subdirectory hosting (domain + domain_slug) requires TXT record verification.

        Pass an empty domain string to remove the domain.'
      operationId: updateBlogDomain
      parameters:
      - $ref: '#/components/parameters/blogId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBlogDomainRequest'
      responses:
        '200':
          description: Updated blog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Blog'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: Domain already in use by another blog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - statusCode
      - statusMessage
      properties:
        statusCode:
          type: integer
        statusMessage:
          type: string
        message:
          type: string
    UpdateBlogDomainRequest:
      type: object
      required:
      - domain
      properties:
        domain:
          type: string
          maxLength: 100
          pattern: ^(?:$|[a-zA-Z0-9-]+(\.[a-zA-Z]{2,})+)$
          description: Custom domain or empty string to remove
        domainSlug:
          type:
          - string
          - 'null'
          maxLength: 50
          pattern: ^[a-zA-Z0-9-_]*$
          description: Optional subdirectory slug for subdirectory hosting
    BlogMetadata:
      type: object
      additionalProperties: true
    BlogMetadataPatch:
      type: object
      description: Custom metadata. Theme changes use the dedicated theme endpoints.
      not:
        anyOf:
        - required:
          - themeId
        - required:
          - themeSettings
        - required:
          - hasThemeFiles
        - required:
          - themeUpdatedAt
        - required:
          - customThemeBaseId
      additionalProperties:
        oneOf:
        - type: string
        - type: number
        - type: boolean
        - type: 'null'
    Blog:
      type: object
      required:
      - id
      - name
      - subdomain
      - owner_id
      - created_at
      - updated_at
      - metadata
      - theme_id
      properties:
        id:
          type: string
        name:
          type: string
        subdomain:
          type: string
        description:
          type:
          - string
          - 'null'
        domain:
          type:
          - string
          - 'null'
        domain_slug:
          type:
          - string
          - 'null'
        domain_status:
          type:
          - string
          - 'null'
        logo:
          type:
          - string
          - 'null'
          format: uri
        owner_id:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        metadata:
          type: object
          additionalProperties: true
        theme_id:
          type: string
        role:
          type: string
    CreateBlogRequest:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        description:
          type:
          - string
          - 'null'
          maxLength: 500
        logo:
          type:
          - string
          - 'null'
          maxLength: 500
    UpdateBlogRequest:
      type: object
      required:
      - name
      - subdomain
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        subdomain:
          type: string
          minLength: 1
          maxLength: 40
          pattern: ^(?!(?:api|admin|www|mail|app|dashboard|login|signup|blog|static|assets)$)(?!.*--)[a-z0-9]([a-z0-9-]*[a-z0-9])?$
        description:
          type:
          - string
          - 'null'
          maxLength: 500
        logo:
          type:
          - string
          - 'null'
          maxLength: 500
    DeleteSuccess:
      type: object
      required:
      - success
      - message
      properties:
        success:
          type: boolean
        message:
          type: string
  responses:
    BadRequest:
      description: Invalid request data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Authentication required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    blogId:
      name: blogId
      in: path
      required: true
      description: Blog ID
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key authentication (format: jb_xxxx). Blog-scoped keys can manage only their bound blog and inherit the key owner''s current account status and blog permissions.'