FarazSMS Public APIs
  1. Send
FarazSMS Public APIs
  • Account
    • Profile
      GET
    • Account Balance
      GET
    • update
      POST
    • Charge wallet
      POST
    • Register
      POST
  • Send
    • Send Sample SMS
      POST
    • Send Simple SMS
      POST
    • Send Simple SMS from Excel
      POST
    • Send SMS with Variables
      POST
    • Send SMS with Variables from Excel
      POST
    • Send Peer-to-Peer SMS
      POST
    • Send Peer-to-Peer SMS from Excel
      POST
    • Send Pattern-Based SMS
      POST
  • Phonebook
    • Get Phonebooks
      GET
    • Create New Phonebook
      POST
    • Get Phonebook Attributes
      GET
    • Create New Phonebook Attribute
      POST
    • Get Phonebook Contacts
      GET
  • Pattern
    • Create New Pattern
      POST
    • Get Pattern Details
      GET
    • Edit Pattern
      PUT
    • Get List of User's Patterns
      GET
  • Get Paged Inbox Messages
    GET
  1. Send

Send Peer-to-Peer SMS from Excel

POST
/v1/send/peer-to-peer-file
Send peer-to-peer messages with file input. Each peer contains different text and recipients. Each peer will generate a separate send request record.

Request

Authorization
Add parameter in header
Api-Key
Example:
Api-Key: ********************
Body Params multipart/form-data

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/send/peer-to-peer-file' \
--header 'Api-Key: <api-key>' \
--form 'from="500012345"' \
--form 'peers=@""' \
--form 'numberFormat=""' \
--form 'schedule=""'

Responses

🟢201All SMS requests are enqueued successfully.
application/json
Body

Example
{
    "status": "success",
    "data": [
        0
    ],
    "messages": "string"
}
Modified at 2025-02-17 10:37:30
Previous
Send Peer-to-Peer SMS
Next
Send Pattern-Based SMS
Built with