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

# Resend SMS Message

> Resend an SMS message with updated content

# Resend SMS Message

This endpoint allows you to resend an SMS message with updated content using the original message ID.

**Endpoint:** `POST /v1/external/sms/quick/{messageId}/resend`

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url https://api.kairosafrika.com/v1/external/sms/quick/6d558b0b-0458-4b42-919c-d7dbba76600d/resend \
    --header 'x-api-key: YOUR_API_KEY' \
    --header 'x-api-secret: YOUR_API_SECRET' \
    --header 'x-api-version: 2025-08-01' \
    --header 'Content-Type: application/json' \
    --data '{
      "message": "This is test for the Wrapper API"
    }'
  ```
</RequestExample>

## Path Parameter

* **messageId** (string, required): The ID of the original SMS message to resend.

## Request Body

* **message** (string, required): The updated SMS message content to send.

## Responses

* **200 OK**: SMS resent successfully.
* **404 Not Found**: Original message not found.
* **400 Bad Request**: Invalid request data.


## OpenAPI

````yaml POST /v1/external/sms/quick/{messageId}/resend
openapi: 3.0.3
info:
  title: Kairos Afrika SMS API
  description: >-
    Send SMS messages through the Kairos Afrika platform. Switch between staging
    and production environments using the server dropdown.
  version: 1.0.0
  contact:
    name: Kairos Afrika Support
    email: support@kairosafrika.com
servers:
  - url: https://api.kairosafrika.com
    description: Sms API Base URL
security:
  - apiKeyAuth: []
    apiSecretAuth: []
paths:
  /v1/external/sms/quick/{messageId}/resend:
    post:
      tags:
        - SMS
      summary: Resend SMS Message
      description: Resend an SMS message with updated content
      operationId: resendSMS
      parameters:
        - name: messageId
          in: path
          required: true
          schema:
            type: string
          description: The ID of the original SMS message to resend
          example: 6d558b0b-0458-4b42-919c-d7dbba76600d
        - name: x-api-version
          in: header
          required: true
          schema:
            type: string
            enum:
              - '2025-08-01'
          description: API version header (required for full JSON response)
          example: '2025-08-01'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResendSMSRequest'
      responses:
        '200':
          description: SMS resent successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SMSResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: 12d72d1c-08f7-4821-a05c-05fef961553f
        '404':
          description: Original message not found
          content:
            application/json:
              schema:
                $ref: 12d72d1c-08f7-4821-a05c-05fef961553f
components:
  schemas:
    ResendSMSRequest:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: The updated SMS message content to send
          maxLength: 1600
          example: This is test for the Wrapper API
    SMSResponse:
      type: object
      properties:
        statusCode:
          type: integer
          description: HTTP status code
          example: 201
        statusMessage:
          type: string
          description: Status message
          example: Sms successfully sent.
        transactionId:
          type: string
          description: Unique transaction identifier
          example: b0cdebad-e925-4437-b852-5aab112781f0
        sequenceNo:
          type: string
          description: Sequence number
          example: 01K6MN2T13XNK40X17F5FH45DV
        data:
          type: object
          properties:
            totalBatches:
              type: integer
              description: Total number of batches
              example: 1
            batches:
              type: array
              items:
                type: object
                properties:
                  jobId:
                    type: string
                    description: Unique job identifier
                    example: b7d80ca9-4839-407c-b696-74c4ab2c570e
                  messages:
                    type: array
                    items:
                      type: object
                      properties:
                        to:
                          type: string
                          description: Recipient phone number
                          example: '233559400612'
                        from:
                          type: string
                          description: Sender ID
                          example: BLUEFS
                        message:
                          type: string
                          description: SMS message content
                          example: >-
                            This is a testing message from the production server
                            apis
                        type:
                          type: string
                          description: SMS type
                          example: Quick
                        sequenceNo:
                          type: string
                          description: Message sequence number
                          example: 01K6MN2T13XNK40X17F5FH45DV
                        transactionId:
                          type: string
                          description: Transaction identifier
                          example: b0cdebad-e925-4437-b852-5aab112781f0
            senderAddress:
              type: string
              description: Sender address/ID
              example: BLUEFS
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 timestamp
          example: '2025-10-03T09:05:08.745Z'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication
    apiSecretAuth:
      type: apiKey
      in: header
      name: x-api-secret
      description: API Secret for authentication

````