> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create slack boost

> Create a slack boost for a post. When the post publishes, Ordinal sends a notification to the selected Slack channel. Each post can have at most one slack boost. Use a `slackWebhookId` from a [connected Slack marketing boost channel](/integrations/slack).



## OpenAPI

````yaml /api/openapi.json post /slack-boosts
openapi: 3.1.0
info:
  title: Ordinal API
  version: 1.0.0
  description: API to create and manage Ordinal workspaces, posts, profiles, and analytics
servers:
  - url: https://app.tryordinal.com/api/v1
    description: Production server
security:
  - bearerAuth: []
tags:
  - name: Analytics
    description: Social media analytics data
  - name: Approvals
    description: Post approval workflows
  - name: Comments
    description: >-
      Post comments for team collaboration. Supports @mentions using the format
      @[Display Name](userId).
  - name: Engagements
    description: Auto-engagements for posts (likes, comments, reposts)
  - name: Invites
    description: Workspace invitations for adding new users
  - name: Labels
    description: Labels for organizing posts
  - name: Instagram
    description: Instagram utilities for location search and tagging
  - name: LinkedIn
    description: LinkedIn utilities for profile lookups, tagging, and mentions
  - name: Posts
    description: Create and manage posts
  - name: Profiles
    description: List connected social profiles
  - name: Slack Boosts
    description: >-
      List connected Slack channels (webhooks), then create and manage slack
      boosts so teams get notified in Slack when posts publish. Requires Slack
      connected with marketing boost channels.
  - name: Subscribers
    description: Post subscribers for notifications
  - name: File Uploads
    description: >-
      Upload files from URLs for use in posts. Supports images (JPEG, PNG, GIF,
      WebP) up to 10 MB and videos (MP4, MOV) up to 350 MB.
  - name: Ideas
    description: >-
      Create and manage content ideas. Ideas are draft posts without scheduled
      dates that can be converted to calendar posts.
  - name: Inline Comments
    description: >-
      Text-anchored comments on specific post content. Read-only API for
      retrieving inline comments across channels.
  - name: Users
    description: Workspace users
  - name: Webhooks
    description: >-
      Create, list, get, update, and delete webhooks to receive real-time event
      notifications
  - name: Workspaces
    description: Workspace information
paths:
  /slack-boosts:
    post:
      tags:
        - Slack Boosts
      summary: Create slack boost
      description: >-
        Create a slack boost for a post. When the post publishes, Ordinal sends
        a notification to the selected Slack channel. Each post can have at most
        one slack boost. Use a `slackWebhookId` from a [connected Slack
        marketing boost channel](/integrations/slack).
      operationId: slack-boosts-create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - postId
                - slackWebhookId
              properties:
                postId:
                  type: string
                  format: uuid
                  description: The ID of the post to attach the slack boost to
                slackWebhookId:
                  type: string
                  format: uuid
                  description: >-
                    The ID of the Slack webhook (channel) to send notifications
                    to
                copy:
                  type: string
                  description: Optional custom message included in the Slack notification
            example:
              postId: 550e8400-e29b-41d4-a716-446655440300
              slackWebhookId: 550e8400-e29b-41d4-a716-446655440920
              copy: New post — please like and share!
      responses:
        '200':
          description: Slack boost created
          content:
            application/json:
              schema:
                type: object
                properties:
                  slackBoost:
                    $ref: '#/components/schemas/SlackBoost'
              example:
                slackBoost:
                  id: 550e8400-e29b-41d4-a716-446655440910
                  copy: New post — please like and share!
                  isAutoCreated: false
                  postId: 550e8400-e29b-41d4-a716-446655440300
                  slackWebhook:
                    id: 550e8400-e29b-41d4-a716-446655440920
                    channelName: marketing-boost
                    teamName: Acme Corp
                  createdAt: '2026-01-15T10:30:00.000Z'
                  updatedAt: '2026-01-15T10:30:00.000Z'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    SlackBoost:
      type: object
      description: A slack boost sends a Slack notification when its post publishes
      properties:
        id:
          type: string
          format: uuid
        copy:
          type: string
          nullable: true
          description: Optional custom message in the Slack notification
        isAutoCreated:
          type: boolean
          description: True when the boost was added automatically via channel auto-boost
        postId:
          type: string
          format: uuid
        slackWebhook:
          $ref: '#/components/schemas/SlackWebhookSummary'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    SlackWebhookSummary:
      type: object
      description: Slack channel (webhook) targeted by a slack boost
      properties:
        id:
          type: string
          format: uuid
        channelName:
          type: string
          nullable: true
        teamName:
          type: string
          nullable: true
    ValidationError:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: object
          properties:
            errors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
  responses:
    BadRequest:
      description: Bad Request - Invalid input parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
          example:
            code: BAD_REQUEST
            message: Bad Request
            data:
              errors:
                publishAt:
                  - Invalid date format
                status:
                  - Invalid enum value
    Unauthorized:
      description: Unauthorized - Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: UNAUTHORIZED
            message: Invalid or unauthorized API key
    NotFound:
      description: Not Found - Resource does not exist
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: NOT_FOUND
            message: Post not found or does not belong to this workspace
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Generate an API key from your workspace
        settings.

````