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

# Create social post

> Requires `write:campaigns`. Body: `body`, `accountIds`, optional `mediaUrls`, `scheduledAt`, `publishNow`. Creates/schedules via Late (not an email/sms/push campaign).



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/marketing/social-posts
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.1.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/marketing/social-posts:
    post:
      tags:
        - Marketing
      summary: Create social post
      description: >-
        Requires `write:campaigns`. Body: `body`, `accountIds`, optional
        `mediaUrls`, `scheduledAt`, `publishNow`. Creates/schedules via Late
        (not an email/sms/push campaign).
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/V1SocialPostCreate'
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1SocialPostResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1SocialPostCreate:
      type: object
      properties:
        body:
          type: string
          minLength: 1
        accountIds:
          type: array
          items:
            type: string
            minLength: 1
          minItems: 1
        mediaUrls:
          type: array
          items:
            type: string
        scheduledAt:
          type: string
          nullable: true
          format: date-time
        publishNow:
          type: boolean
        title:
          type: string
          nullable: true
        hashtags:
          type: array
          items:
            type: string
      required:
        - body
        - accountIds
    V1SocialPostResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/V1SocialPost'
      required:
        - data
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1SocialPost:
      type: object
      properties:
        id:
          type: string
          format: uuid
        teamId:
          type: string
        campaignId:
          type: string
          nullable: true
          format: uuid
        platform:
          type: string
        content:
          type: string
        mediaUrls:
          type: array
          nullable: true
          items:
            type: string
        hashtags:
          type: array
          nullable: true
          items:
            type: string
        linkUrl:
          type: string
          nullable: true
        scheduledFor:
          type: string
          nullable: true
          format: date-time
        status:
          type: string
        publishedAt:
          type: string
          nullable: true
          format: date-time
        providerId:
          type: string
          nullable: true
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - id
        - teamId
        - campaignId
        - platform
        - content
        - mediaUrls
        - hashtags
        - linkUrl
        - scheduledFor
        - status
        - publishedAt
        - providerId
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

## Related topics

- [Create a social event](/docs/marketing-events/create-a-social-event.md)
- [Create a text, push, or social campaign](/docs/marketing-events/create-a-text-push-or-social-campaign.md)
- [Delete social post](/docs/api-reference/marketing/delete-social-post.md)
- [List social posts](/docs/api-reference/marketing/list-social-posts.md)
- [Get social post](/docs/api-reference/marketing/get-social-post.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.