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

# Send a single SMS to a contact



## OpenAPI

````yaml /openapi.json post /api/sms/send
openapi: 3.0.0
info:
  title: GoMobile Backend API
  description: >-
    API documentation for GoMobile telephony platform - automated calling
    campaigns, interactive voice flows, and call management
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:3000
    description: Local Development
security: []
tags:
  - name: Organizations
    description: Multi-tenant organization management
  - name: Teams
    description: Team structure and hierarchy
  - name: Contacts
    description: Customer contact management (CRM)
  - name: Entities
    description: Business entities management
  - name: Audiences
    description: Contact segmentation and groups
  - name: Programs
    description: Call campaign configuration
  - name: Call Flows
    description: Interactive call flow builder
paths:
  /api/sms/send:
    post:
      tags:
        - SMS
      summary: Send a single SMS to a contact
      operationId: SmsController_send
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendSingleSmsDto'
      responses:
        '201':
          description: SMS sent successfully
        '400':
          description: Invalid input or template error
        '402':
          description: Insufficient credits
        '404':
          description: Contact or sender ID not found
components:
  schemas:
    SendSingleSmsDto:
      type: object
      properties:
        contactId:
          type: string
          description: UUID of the contact to send SMS to
        senderId:
          type: string
          description: UUID of the sender ID to use
        messageTemplate:
          type: string
          description: Message template with optional {{ $contact.* }} placeholders
          example: >-
            Hello {{ $contact.firstName }}, your loyalty tier is {{
            $contact.customAttributes.loyalty_tier }}.
      required:
        - contactId
        - senderId
        - messageTemplate

````