Login

Publication

Manage core publication settings, branding, feature toggles, and contributors for the resolved site.

Get publication

GET/v1/publication

Retrieves the profile, custom domain, branding, and feature flags for the target publication. Requires publication:read.

GETRequest
curl https://api.bloghunch.com/v1/publication \
  -H "Authorization: Bearer {token}"
{
  "data": {
    "id": 3696,
    "organization_id": 8,
    "name": "MotoHub",
    "tagline": "Engineering & Motorcycles",
    "description": "A publication about motorcycles.",
    "subdomain": "scode",
    "domain": null,
    "url": "https://scode.mybloghunch.com",
    "logo": "https://cdn.bloghunch.com/uploads/logo.webp",
    "brand_color": "#6366f1",
    "comments_enabled": true,
    "newsletter_enabled": true,
    "approval_workflow_enabled": false,
    "archived": false,
    "created_at": "2026-01-10T12:00:00.000Z",
    "updated_at": "2026-11-15T10:00:00.000Z"
  }
}

Update publication

PATCH/v1/publication

Updates publication metadata, typography, social handles, or feature toggles. Requires publication:write and Owner or Admin role.

  • Name
    name
    Type
    string
    Description

    Publication display name.

  • Name
    tagline
    Type
    string
    Description

    Short tagline shown on the publication homepage.

  • Name
    description
    Type
    string
    Description

    Meta description of the publication.

  • Name
    brand_color
    Type
    string
    Description

    Hex brand color (e.g., #6366f1).

  • Name
    comments_enabled
    Type
    boolean
    Description

    Enable or disable public comments.

  • Name
    approval_workflow_enabled
    Type
    boolean
    Description

    Require editor/admin approval before writers can publish.

PATCHRequest
curl -X PATCH https://api.bloghunch.com/v1/publication \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "MotoHub Pro",
    "description": "The best motorcycle engineering blog.",
    "approval_workflow_enabled": true
  }'

List publication authors

GET/v1/publication/authors

Returns all active team members (Owners, Admins, Editors, Writers) eligible to author posts on the publication. Requires publication:read.

GETRequest
curl https://api.bloghunch.com/v1/publication/authors \
  -H "Authorization: Bearer {token}"
{
  "data": [
    {
      "id": 1,
      "name": "Subham Mitra",
      "username": "subham",
      "tagline": "Editor in Chief",
      "avatar": "https://cdn.bloghunch.com/uploads/user/avatar.webp",
      "role": "owner"
    }
  ]
}

Was this page helpful?