---
title: How Do I Send a “+” Sign in an SMS Using the API?
description: "Sending a \"**+**\" sign in an SMS via **SMSGatewayCenter**’s API requires proper URL encoding to ensure the character is interpreted correctly. Follow these steps: **URL Encode the \"+\" Sign**: In your **[SMS Gateway](https://www.smsgatewaycenter.com)** API request, encode the \"+\" sign as…"
url: "https://www.smsgatewaycenter.com/blog/kb/how-do-i-send-a-sign-in-an-sms-using-the-api/"
updated: "2025-03-03"
category: API
---

# How Do I Send a “+” Sign in an SMS Using the API?

Sending a "**+**" sign in an SMS via **SMSGatewayCenter**’s API requires proper URL encoding to ensure the character is interpreted correctly. Follow these steps:

**URL Encode the "+" Sign**: In your **[SMS Gateway](https://www.smsgatewaycenter.com)** API request, encode the "+" sign as %2B. For example, if you want to send a message like "Contact +919876543210," encode it as "Contact%2B919876543210" in the **msg** parameter.

**Use Sample Scripts**: Refer to our **[SMS API documentation](https://www.smsgatewaycenter.com/developer-api/send-sms-file/)** and sample scripts (e.g., PHP CURL or HTTP requests) to implement URL encoding. In PHP, you can use urlencode():

```
$message = urlencode("Contact +919876543210");
curl -X POST 
  https://unify.smsgateway.center/SMSApi/send 
  -H 'apikey: secretkey' 
  -H 'cache-control: no-cache' 
  -H 'content-type: application/x-www-form-urlencoded' 
  -d 'userid=user&password=userpass&senderid=SENDER&sendMethod=quick&msgType=text&mobile=919xxxxxxxxx9&msg=$message&duplicateCheck=true&output=json'
```

**Test the Request**: Send a test SMS to verify the "+" sign appears correctly in the message. Ensure your sender ID and recipient number are properly formatted.

If issues persist, check our troubleshooting tips or contact support for assistance.

### More Related Articles

- [How do I secure my API keys in a production environment?](https://www.smsgatewaycenter.com/blog/kb/how-do-i-secure-my-api-keys-in-a-production-environment/)
- [What should I do if my API request times out?](https://www.smsgatewaycenter.com/blog/kb/what-should-i-do-if-my-api-request-times-out/)
- [Solving Common Verify OTP API Problems](https://www.smsgatewaycenter.com/blog/kb/solving-common-verify-otp-api-problems/)

Found this useful?[Add as Preferred Source on Google](https://www.google.com/preferences/source?q=smsgatewaycenter.com)
