---
title: "Send SMS message over query parameters"
method: GET
path: "/sms/1/text/query"
tags: ["channels", "sms", "outbound-sms", "send-message"]
deprecated: true
---

# Send SMS message over query parameters

`GET /sms/1/text/query`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/sms/1/text/query`
- Auth: none required

> **Deprecated.**

All message parameters of the message can be defined in the query string. Use this method only if [Send SMS message](#channels/sms/send-sms-message) is not an option for your use case!<br>**Note:** Make sure that special characters and user credentials are properly encoded. Use a [URL encoding reference](https://www.w3schools.com/tags/ref_urlencode.asp) as a guide.

## Query parameters

- `username` string, required
- `password` string, required
- `bulkId` string
- `from` string
- `to` string[], required
- `text` string
- `flash` boolean
- `transliteration` string
- `languageCode` string
- `intermediateReport` boolean
- `notifyUrl` string
- `notifyContentType` string
- `callbackData` string
- `validityPeriod` integer
- `sendAt` string, date-time
- `track` string
- `processKey` string
- `trackingType` string
- `indiaDltContentTemplateId` string
- `indiaDltPrincipalEntityId` string
- `indiaDltTelemarketerId` string
- `turkeyIysBrandCode` integer
- `turkeyIysRecipientType` string
- `southKoreaResellerCode` integer

## Response `200`

Successful response

- Cb1ef9a380a46bb9d49281818dd22b206a7f89260670bd103daadd3abc4386a3QuerySmsResponse
  - `bulkId` string: The ID that uniquely identifies the request. Bulk ID will be received only when a message is sent to more than one destination address.
  - `messages` 20085a4036d67f66ebf204560d55d58a7c131c15d42c8ed9442747c488e08630SMSResponseDetails[]: Array of sent message objects, one object per every message.
    - `messageId` string: Unique message ID. If not passed, it will be automatically generated and returned in a response.
    - `status` 20085a4036d67f66ebf204560d55d58a7c131c15d42c8ed9442747c488e08630Status: Indicates the [status](https://www.infobip.com/docs/essentials/response-status-and-error-codes#api-status-codes) of the message and how to recover from an error should there be any.
      - `groupId` integer: Status group ID.
      - `groupName` string: Status group name that describes which category the status code belongs to, e.g. PENDING, UNDELIVERABLE, DELIVERED, EXPIRED, REJECTED.
      - `id` integer: Status ID.
      - `name` string: [Status name](https://www.infobip.com/docs/essentials/response-status-and-error-codes).
      - `description` string: Human-readable description of the status.
      - `action` string: Action that should be taken to recover from the error.
    - `to` string: The destination address of the message.
    - `smsCount` integer: This is the total count of SMS submitted in the request. SMS messages have a character limit and messages longer than that limit will be split into multiple SMS and reflected in the total count of SMS submitted.

## Other responses

- `400`: Error responses
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification-2.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification-2/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification-2/revisions/4a6f8044a927?raw)
