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

# Post image status

> Publishes an image status (story), with an optional caption.



## OpenAPI

````yaml /en/api-reference/openapi.json post /status/post-image
openapi: 3.1.0
info:
  title: Zapfy API
  description: >-
    Multi-tenant WhatsApp API. Send messages and manage webhooks through a
    single surface.
  version: 1.0.0
servers:
  - url: https://api.zapfy.io/v1
security:
  - accountToken: []
paths:
  /status/post-image:
    post:
      tags:
        - Status
      summary: Post image status
      description: Publishes an image status (story), with an optional caption.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostStatusMediaBody'
      responses:
        '200':
          $ref: '#/components/responses/MessageAccepted'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
        - instanceToken: []
components:
  schemas:
    PostStatusMediaBody:
      type: object
      required:
        - url
      properties:
        url:
          type: string
          description: >-
            http(s) URL of the media (image for post-image, video for
            post-video).
          example: https://example.com/story.jpg
        caption:
          type: string
          description: Optional caption shown with the status.
          example: Behind the scenes
    MessageHandle:
      type: object
      description: >-
        Identifier of the sent message. Store the `messageId`: together with the
        same `to` you sent to, it is what `/messages/delete` and
        `/messages/edit` need.
      properties:
        messageId:
          type: string
          description: WhatsApp message ID.
          example: 3EB0C767D4...
  responses:
    MessageAccepted:
      description: Message accepted by WhatsApp.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                $ref: '#/components/schemas/MessageHandle'
    Error:
      description: Error.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Instance not found
  securitySchemes:
    accountToken:
      type: http
      scheme: bearer
      description: Account token (`zpfy_acct_...`) — manages instances and webhooks.
    instanceToken:
      type: http
      scheme: bearer
      description: Instance token (`zpfy_inst_...`) — sends messages.

````