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

# Send SMS

> Sends an SMS from one of your organization's phone numbers.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/send-sms
openapi: 3.1.0
info:
  title: Guava API Server
  version: master
servers:
  - url: https://app.goguava.ai
security: []
paths:
  /v1/send-sms:
    post:
      tags:
        - SMS
      summary: Send SMS
      description: Sends an SMS from one of your organization's phone numbers.
      operationId: send_sms_v1_send_sms_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendSMSRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendSMSResponse'
        '400':
          description: >-
            The sender number isn't owned by your organization or isn't
            SMS-enabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Your account has an unresolved billing issue.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: The carrier failed to send the message.
      security:
        - APIKey: []
components:
  schemas:
    SendSMSRequest:
      properties:
        from_number:
          type: string
          pattern: ^\+[1-9]\d{1,14}$
          title: From Number
          description: >-
            Sender, in E.164 format. Must be an SMS-enabled number owned by your
            organization.
          examples:
            - '+14155550100'
        to_number:
          type: string
          pattern: ^\+[1-9]\d{1,14}$
          title: To Number
          description: Recipient, in E.164 format.
          examples:
            - '+14155550123'
        message:
          type: string
          title: Message
          description: Message body.
          examples:
            - Your appointment is confirmed for 3pm tomorrow.
      type: object
      required:
        - from_number
        - to_number
        - message
      title: SendSMSRequest
    SendSMSResponse:
      properties:
        status:
          type: string
          title: Status
          description: Delivery status reported by the carrier, e.g. `queued` or `sent`.
      type: object
      required:
        - status
      title: SendSMSResponse
    ErrorResponse:
      properties:
        detail:
          type: string
          title: Detail
      type: object
      required:
        - detail
      title: ErrorResponse
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKey:
      type: http
      description: 'A Guava API key, sent as `Authorization: Bearer <key>`.'
      scheme: bearer

````

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