Files
wapp/swagger.yml
2025-12-12 09:12:03 +01:00

36 lines
637 B
YAML

openapi: 3.0.0
info:
title: WAPP API
version: 1.0.0
components:
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: x-api-key
security:
- ApiKeyAuth: []
paths:
/api/send:
post:
summary: Send a WhatsApp message
security:
- ApiKeyAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
phoneNumber:
type: string
message:
type: string
responses:
'200':
description: OK