For the complete documentation index, see llms.txt. This page is also available as Markdown.

Send SMS

Send an SMS Message

GET or POST Request

https://v1.api19.com/sms/send

Argument

Required

Type

source

yes

int

destination

yes

int

message

yes

string

key

yes

string

Send a GET or POST request with source, destination, message and key to us and we will deliver it to the recipient.

curl -X POST https://v1.api19.com/sms/send \
 -d 'source=3038821111' \
 -d 'destination=6038821111' \
 -d 'message=yo' \
 -d 'key=your_api_key'
curl https://v1.api19.com/sms/send?key=yourapikey&source=3038821111&destination=6038821111&message=yo
{"status":"ok", "uuid":"j932jf-hh8w32-djfh2f"}

OR

{"status":"error", "error":"invalid source number"}

Last updated