openapi: 3.0.3 info: title: Send SMS version: 1.0.0 servers: - url: https://control.msg91.com paths: /api/v5/flow: post: operationId: send-sms summary: Send SMS parameters: - name: authkey in: header required: false schema: type: string - name: accept in: header required: false schema: type: string example: application/json - name: content-type in: header required: false schema: type: string example: application/json requestBody: content: application/json: schema: type: object properties: template_id: type: string short_url: type: string short_url_expiry: type: string realTimeResponse: type: string schtime: type: string recipients: type: array items: type: object properties: mobiles: type: string VAR1: type: string VAR2: type: string example: template_id: EnterSMStemplateID short_url: 1 (On) or 0 (Off) short_url_expiry: Seconds (Optional) realTimeResponse: 1 (Optional) schtime: 'Enter the scheduled time in the format: YYYY-MM-DD HH:MM:SS (e.g., 2025-01-31 14:30:00) (Optional)' recipients: - mobiles: 919XXXXXXXXX VAR1: VALUE 1 VAR2: VALUE 2 - mobiles: 919XXXXXXXXX VAR1: VALUE 1 VAR2: VALUE 2 - mobiles: 919XXXXXXXXX VAR1: VALUE 1 VAR2: VALUE 2 responses: '200': description: When SMS is sent successfully content: application/json: schema: type: object properties: message: type: string type: type: string example: message: 5e1e93cad6fc054d8e759a5b type: success