> ## 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.

# Publicar status de imagem

> Publica um status (stories) de imagem, com legenda opcional.



## OpenAPI

````yaml /pt-br/api-reference/openapi.json post /status/post-image
openapi: 3.1.0
info:
  title: Zapfy API
  description: >-
    API de WhatsApp multi-tenant. Envie mensagens e gerencie webhooks por uma
    superfície única.
  version: 1.0.0
servers:
  - url: https://api.zapfy.io/v1
security:
  - accountToken: []
paths:
  /status/post-image:
    post:
      tags:
        - Status
      summary: Publicar status de imagem
      description: Publica um status (stories) de imagem, com legenda opcional.
      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: >-
            URL http(s) da mídia (imagem para post-image, vídeo para
            post-video).
          example: https://example.com/story.jpg
        caption:
          type: string
          description: Legenda opcional exibida com o status.
          example: Bastidores
    MessageHandle:
      type: object
      description: >-
        Identificador da mensagem enviada. Guarde o `messageId`: com o mesmo
        `to` do envio, é o que `/messages/delete` e `/messages/edit` pedem.
      properties:
        messageId:
          type: string
          description: ID da mensagem no WhatsApp.
          example: 3EB0C767D4...
  responses:
    MessageAccepted:
      description: Mensagem aceita pelo WhatsApp.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                $ref: '#/components/schemas/MessageHandle'
    Error:
      description: Erro.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Instance not found
  securitySchemes:
    accountToken:
      type: http
      scheme: bearer
      description: Token de conta (`zpfy_acct_...`) — gerencia instâncias e webhooks.
    instanceToken:
      type: http
      scheme: bearer
      description: Token de instância (`zpfy_inst_...`) — envia mensagens.

````