More details
Robust and flexible /// SMS API,Contacts API,Contacts Group API,Profile API

Flexacore SMS SMS API allows you to send and receive SMS messages to and from any country in the world through a REST API. Each message is identified by a unique random ID so that users can always check the status of a message using the given endpoint.

API Endpoint

https://api.flexacore.com/v1/sms/send

Parameter Required Description
Authorization Send your API token with the authentication type set as Bearer (Example: Authorization: Bearer {api_token})
Accept Set to application/json

Send outbound SMS

Flexacore SMS’s Programmable SMS API enables you to programmatically send SMS messages from your web application. First, you need to create a new message object. Flexacore SMS returns the created message object with each request.

Send your first SMS message with this example request.

API Endpoint

https://api.flexacore.com/v1/sms/send

Parameter Type Description
recipient string Use comma (,) to send to multiple numbers. Ex. 31612345678,8801721970168
sender_id string In the case of an alphanumeric string, the maximum length is 11 characters.
type string The type of the message. For text message you have to insert plain as sms type.
message string The body of the SMS message.
schedule_time datetime The scheduled date and time of the message in RFC3339 format (Y-m-d H:i)

Example request for Single Number (PHP)


curl -X POST https://api.flexacore.com/v1/sms/send \
-H ‘Authorization: Bearer 7|xs6pv2dspHJq8sWLhrpNFH5YLilMRQcVxLwSw2Sd’ \
-d “recipient=31612345678” \
-d “sender_id=YourName” \
-d “type=plain” \
-d “schedule_time=2024-12-20 07:00” \
-d “message=This is a test message”

Example request for Multiple Numbers (PHP)


curl -X POST https://api.flexacore.com/v1/sms/send \
-H ‘Authorization: Bearer 7|xs6pv2dspHJq8sWLhrpNFH5YLilMRQcVxLwSw2Sd’ \
-d “recipient=31612345678,8801721970168” \
-d “sender_id=YourName” \
-d “type=plain” \
-d “schedule_time=2021-12-20 07:00” \
-d “message=This is a test message”

Returns a contact object if the request was successful. (JSON)


{
“status”: “success”,
“data”: “sms reports with all details”,
}

Returns if the request failed, an error object will be returned. (JSON)


{
“status”: “error”,
“message” : “A human-readable description of the error.”
}

Get A Quote For Web Design,Web Development,Web Based Systems,API Development,USSD Integration,Plugin Development,M-Pesa Integration

    Your Names *

    Your Phone Number *

    Your Email *

    Project Title *

    Tell us more about your project *

    Project Files (Optional)

    Privacy Preferences

    While browsing our website (flexacore.com), we may store information through your browser from specific services, usually in the form of cookies. Here you can change your Privacy preferences. It is worth noting that blocking some types of cookies may impact your experience on our website and the services we are able to offer.

    For performance and security reasons we use Cloudflare
    required
    Our website (flexacore.com) uses cookies, mainly from 3rd party services. Define your Privacy Preferences and/or agree to our use of cookies.