# Send SMS

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /message/sendsms:
    post:
      summary: Send SMS
      deprecated: false
      description: >-
        ### Description :

        Send or receive short text messages in Beetexting. You can send messages
        sequentially to recipients at up to X requests per minute. A single SMS
        can include up to (X Characters or Bytes).


        ### URL : 

        https://connect.beetexting.com/prod/message/sendsms?from=+15551234890&to=+15553307409&k=j&text=Texting
        from postman

        (While sending the request please make sure to append
        https://connect.beeteting.com/prod if the url in the cUrl command starts
        with /message ...)


        **Note : To add the OAuth2.0 Auth Token please see the section 'OAuth2.0
        For Beetexting' and 'Postman How-to for beetexting section'
      tags:
        - APIs/Message API
      parameters:
        - name: from
          in: query
          description: >-
            The phone number from which the sms is being sent. The phone number
            of the sender. Example: +13462958864 
          required: true
          example: '+13462958864'
          schema:
            type: string
        - name: to
          in: query
          description: >-
            One or more phone numbers of the receipients of the message
            separated by comma. Example: +13093932133, +13093932132 
          required: true
          example: '+13093932133'
          schema:
            type: string
        - name: text
          in: query
          description: The sms text
          required: true
          example: Test
          schema:
            type: string
        - name: tag
          in: query
          description: Tag of the contact.
          required: false
          example: myTag
          schema:
            type: string
        - name: scheduledDateTime
          in: query
          description: >-
            Date time for message delivery schedule in milliseconds. Delivery
            time of the message cannot be sooner than next 3 minutes.
          required: false
          schema:
            type: string
        - name: x-api-key
          in: header
          description: >-
            The API Key generated for the client in the Integration > API
            Connect > Add new Client > API Key field
          required: true
          example: HvG7OZaxgz3raDMzX9CYp9105hV9VwDa6zrCS234
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
              example:
                result: Message delivered
          headers: {}
          x-apidog-name: Success
      security:
        - oauth21:
            - https://com.beetexting.scopes/SendMessage
      x-apidog-folder: APIs/Message API
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1058487/apis/api-21020114-run
components:
  schemas: {}
  securitySchemes:
    oauth21:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.beetexting.com/oauth2/authorize/
          tokenUrl: https://auth.beetexting.com/oauth2/token/
          refreshUrl: ''
          scopes:
            https://com.beetexting.scopes/SendMessage: ''
          x-apidog:
            addTokenTo: header
            useTokenType: access_token
            queryParamKey: access_token
            headerPrefix: Bearer
            redirectUri: https://www.getpostman.com/oauth2/callback
            clientId: 21j1vrkg48ps5d5h12pifbeabc
            clientSecret: 1kflmrmb46ijdc4lmktipkrh019kt5rradm1j7d10upujast2mst
            codeVerifier: ''
            challengeAlgorithm: S256
            clientAuthentication: header
            useTokenConfigAsRefreshTokenConfig: true
            authRequestParams: []
            tokenRequestParams: []
servers: []
security: []

```
