Adapter Sms API

The Sms API from Adapter — 1 operation(s) for sms.

OpenAPI Specification

adapter-sms-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Adapter Adapter API Sms API
  version: 0.1.0
tags:
- name: Sms
paths:
  /sms/webhook:
    post:
      summary: Sms Webhook
      operationId: sms_webhook_sms_webhook_post
      parameters:
      - name: x-twilio-signature
        in: header
        required: false
        schema:
          type: string
          title: X-Twilio-Signature
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Sms
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic
    HTTPBearer:
      type: http
      scheme: bearer