Sending SMS Using SIM Card

Sending SMS using your mobile phone SIM Card

If you would like to send SMS from the SIM Card activated in the phone which is connected to the picky assist, just follow the below method ,

Just pass “application=3″ no change in API Structure or URL

Please note SMS wont support media files to be sent , if you pass media-url then the URL will append at the end of SMS . If dual sim cards are inserted in the phone then SMS will send only from the default SIM card as configured for SMS in your phone.Supported Media Files

For SMS we automatically append “+” before the country code and it works almost in every country and network, if you are facing any issues then please report us the issue.

post
Sending SMS Using Your SIM Card

https://pickyassist.com/app/api/v2/push
This API allows you to send Messages Using your SIM Card
Request
Response
Request
Body Parameters
token
required
string
Your API Token for authentication
application
required
number
Specify through which application the message need to sent. 1 = Whatsapp Personal 2 = Whatsapp Business 3 = SMS 4 = Call Conference Please note SMS sending should be enabled in your SIM Card and you should have enough talk time to send messages
globalmessage
optional
string
Global Message Text Message with emoji supported by SMS
globalmedia
optional
string
URL from we need to fetch the media , Maximum Size is 50 MB
priority
optional
string
This gives priority in the message queue 0 = Low (Default) 1 = High
data
required
object
This is an object which you need to pass the mobile number and message
number
required
number
Mobile Number with full country code without 0 or + +55 12345 6789 – Wrong Format 55123456789 – Correct Format
message
optional
string
Text Message for each number with emoji supported by SMS
Response
200: OK
Please note “100 -> Sucess” response doesn’t means the message has been successfully send to the user, it means your message has been accepted by our servers and pushed to your phone for processing.
{
"status": 100,
"push_id": "7478630",
"message": "Success",
"data": [
{
"msg_id": "9844217",
"number": "934343442290",
"credit": "0.005"
},
{
"msg_id": "9844218",
"number": "35435304220",
"credit": "0.005"
}
]
}

Sample Request Body JSON

{
"token": "YOUR_API_TOKEN",
"priority ": "0",
"application": "3", // sending SMS
"globalmessage": "your global message ",
"globalmedia": "MEDIA FILE UNIQUE URL",
"data": [
{
"number": "NUMBER 1",
"message": "MESSAGE FOR NUMBER 1"
},
{
"number": "NUMBER 2",
"message": "MESSAGE FOR NUMBER 2"
},
{
"number": "NUMBER 3",
"message": "MESSAGE FOR NUMBER 3"
},
{
"number": "NUMBER 4",
"message": "MESSAGE FOR NUMBER 4"
},
{
"number": "NUMBER 5",
"message": "MESSAGE FOR NUMBER 5"
}
]
}

Sample Response

{
"status": 100,
"push_id": "7478630",
"message": "Success",
"data": [
{
"msg_id": "9844217",
"number": "934343442290",
"credit": "0.005"
},
{
"msg_id": "9844218",
"number": "35435304220",
"credit": "0.005"
}
]
}

Please note “100 -> Sucess” response doesn’t means the message has been successfully send to the user, it means your message has been accepted by our servers and pushed to your phone for processing.