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

# ステッカーを送信

> WebP 形式に自動変換されたステッカーを送信



## OpenAPI

````yaml /ja/openapi.yml post /send/sticker
openapi: 3.0.0
info:
  title: WhatsApp API マルチデバイス
  version: 9.7.0
  description: |
    この API は API 経由で whatsapp を送信するために使用されます。

    Web ダッシュボードは別のプロジェクトです (gowa-ui); サーバーは
    最新のリリースアセットをダウンロードし、`/`で動作します（または、
    APP_UI_ENABLED=falseの場合はJSONバナーを返します）。

    デバイススコープ:
    - すべてのデバイススコープの REST コールで `X-Device-Id` を送信します。
    - WebSocket: `/wsに接続しますか？device_id=<id> ` 。
    - WebSocket 認証（Basic Auth が有効な場合）: ブラウザーは WebSocket 接続で
      Authorization ヘッダーを設定できないため、クエリ文字列にも
      `&authorization=<base64(user:pass)>` を渡してください。 認証情報が URL に表示されるため、本番環境では
      TLS を使用してください。
servers:
  - url: http://localhost:3000
security:
  - basicAuth: []
tags:
  - name: app
    description: Whatsappサーバーへの初期接続
  - name: device
    description: マルチデバイスサポートのためのデバイス管理
  - name: user
    description: 情報の取得
  - name: send
    description: メッセージ (テキスト/イメージ/ファイル/ビデオ) を送信します。
  - name: message
    description: メッセージ操作 (revoke/react/update)
  - name: call
    description: 通話管理 (着信拒否)
  - name: chat
    description: チャットとメッセージ
  - name: group
    description: グループ設定
  - name: newsletter
    description: ニュースレターの設定
  - name: chatwoot
    description: カスタマーサポートのためのChatwoot統合
paths:
  /send/sticker:
    post:
      tags:
        - send
      summary: ステッカーを送信
      description: WebP 形式に自動変換されたステッカーを送信
      operationId: sendSticker
      parameters:
        - $ref: '#/components/parameters/DeviceIdHeader'
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              allOf:
                - $ref: '#/components/schemas/ScheduleOptions'
              properties:
                phone:
                  type: string
                  example: 6289685028129@s.whatsapp.net
                  description: 国コードのある電話番号
                sticker:
                  type: string
                  format: binary
                  description: ステッカー画像ファイル（jpg/jpeg/png/webp/gif）
                sticker_url:
                  type: string
                  example: https://example.com/sticker.png
                  description: 送信するステッカー画像の URL
                duration:
                  type: integer
                  example: 86400
                  description: >-
                    消滅メッセージの持続時間を秒単位で表示します。 許可されている値: 0 (有効期限なし), 864 (24h),
                    604800 (7d), 7776000 (90d).
                reply_message_id:
                  type: string
                  example: 3EB089B9D6ADD58153C561
                  description: 返信したいメッセージID
                is_forwarded:
                  type: boolean
                  example: false
                  description: これは転送ステッカーであるかどうか
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResponse'
        '400':
          description: 不正なリクエスト
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorBadRequest'
        '500':
          description: 内部サーバーエラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorInternalServer'
components:
  parameters:
    DeviceIdHeader:
      name: X-Device-Id
      in: header
      required: false
      description: |
        マルチデバイスサポート用のデバイス識別子 複数のデバイスが登録されている場合に必要です。
        1つのデバイスのみ登録されている場合は、デフォルトとして使用されます。
        `device_id`クエリパラメータとして提供することもできます。
      schema:
        type: string
        example: my-device-id
  schemas:
    ScheduleOptions:
      type: object
      description: >
        メッセージを送信する代わりにスケジュールする任意のフィールド。 スケジュールに

        `scheduled_at` を設定します。設定しないとすぐにメッセージが送信されます。


        デバイスがオフラインまたはログインしていない間、バックグラウンドワーカーがスケジュールされた時間にそれを送信します。
        アップロードされたメディアは、スケジュールが完了するまで

        サーバーに保存されます。

        multipart/form-dataボディでは、`weekdays`を繰り返すフィールド

        （`weekdays=1`、`weekdays=3`）として送ります。
      properties:
        scheduled_at:
          type: string
          format: date-time
          example: '2026-10-01T09:00:00+07:00'
          description: >-
            最初の送信のRFC3339時間。 将来的にする必要があります。 最初の送信は、たとえそれが `weekdays` や
            `day_of_month` の外であったとしても、この時に常に行われます。
        timezone:
          type: string
          example: Asia/Jakarta
          description: IANA タイムゾーンは繰り返し実行を計算するために使用されます。 scheduled_at が設定されている場合に必要です。
        recurrence:
          type: string
          enum:
            - once
            - daily
            - weekly
            - monthly
          default: once
          description: 繰り返し送信する頻度：
        weekdays:
          type: array
          items:
            type: integer
            minimum: 0
            maximum: 6
          uniqueItems: true
          example:
            - 1
            - 3
            - 5
          description: 0=日曜日から6=土曜日に送信する日。 毎週繰り返しがある場合に必要です。
        day_of_month:
          type: integer
          minimum: 1
          maximum: 31
          example: 15
          description: 月の日に送信するには、月の最後の日に締め付け。 毎月繰り返しの場合に必要です。
        end_at:
          type: string
          format: date-time
          example: '2026-12-31T23:59:59+07:00'
          description: 繰り返しのみです。 送信はこの時間の後に行われません。scheduled_at の後にする必要があります。
        occurrence_limit:
          type: integer
          minimum: 1
          example: 10
          description: 繰り返しのみです。 この多くの送信の後に停止します。
    SendResponse:
      type: object
      properties:
        code:
          type: string
          example: SUCCESS
        message:
          type: string
          example: Success
        results:
          type: object
          properties:
            message_id:
              type: string
              example: 3EB0B430B6F8F1D0E053AC120E0A9E5C
              description: スケジュールされた送信が省略されました
            status:
              type: string
              example: <feature> success ....
            schedule_id:
              type: string
              example: 0b5c3a8e-7f5d-4d6f-9d1e-2f8c1a7b9e10
              description: スケジュールされた送信のみ。 /send/schedules ルートで使用します。
            scheduled_at:
              type: string
              format: date-time
              example: '2026-10-01T02:00:00Z'
              description: スケジュールされた送信のみ。 最初の送信時刻。
            next_run_at:
              type: string
              format: date-time
              example: '2026-10-01T02:00:00Z'
              description: スケジュールされた送信のみ。 ワーカーが次に送信するとき。
    ErrorBadRequest:
      type: object
      properties:
        code:
          type: string
          example: 400
          description: HTTP ステータスコードです
        message:
          type: string
          example: field cannot be blank
          description: 詳細エラーメッセージ
        results:
          type: object
          example: null
          description: 追加データ
    ErrorInternalServer:
      type: object
      properties:
        code:
          type: string
          example: INTERNAL_SERVER_ERROR
          description: システムのコードにエラー
        message:
          type: string
          example: you are not loggin
          description: 詳細エラーメッセージ
        results:
          type: object
          example: null
          description: 追加データ
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````

## Related topics

- [Chatwoot統合](https://gowa-docs.mintlify.site/ja/integrations/chatwoot.md)
- [メディア処理](https://gowa-docs.mintlify.site/ja/examples/media-handling.md)
- [スケジュールされた送信](https://gowa-docs.mintlify.site/ja/examples/scheduled-sends.md)
- [チャットプレゼンスを送信 (入力インジケーター)](https://gowa-docs.mintlify.site/ja/api-reference/send/チャットプレゼンスを送信-入力インジケーター.md)
- [場所を送信](https://gowa-docs.mintlify.site/ja/api-reference/send/場所を送信.md)


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