Doc Partner
SMS Partner
Doc Partner - EN
Doc Partner - EN
  • Welcome
  • API
    • SMS Partner
      • Credits
      • Send SMS
        • Single Send
        • Bulk Send
        • Send by Long Number
        • Survey Send
        • Cancel Scheduled SMS
        • Special Characters
      • Status & Statistics
        • Single Status
        • Bulk Status
        • Status by Message
        • Status by Tag
        • Sending Statistics
      • Contact Management
        • Add Group
        • Add Contact
        • Delete Group
        • Add Bulk Contacts
        • Edit Contact
        • Delete Contact
        • Get Group List
        • Get Contact List
        • Get Contact Details
      • Replies / Opt-outs Management
        • Stop List
        • Add Number to SMS Stop List
        • Remove Number from SMS Stop List
        • Replies Management
      • Sub-accounts
        • Activation
        • Create Sub-account
        • Delete Sub-account
        • Sub-account List
        • Manage Sub-account Credits
      • Manage Call Forwarding
      • Number Verification
        • Send a Verification
        • Format Verification
      • Contact Rental
        • Categories
        • Targeting & Calculation
        • Rental Status
        • Download File
      • RCS
    • Error Codes
Powered by GitBook

© 2025 NDA Media

On this page
  • Required Parameters
  • Optional Parameters
  • Response Format and Content-Type
  • Requests
  • Download a PHP Example
  1. API

SMS Partner

Introduction to the SMS Partner API

PreviousWelcomeNextCredits

Last updated 1 month ago

SMS messages are sent via the API. From the website, you have immediate access to our free API: it allows you to easily integrate our SMS services into your website, software, or CRM application in PHP, ASP, .NET, Java, or any other language.

Required Parameters

Each API request must include at least the following parameters:

Name
Description

apiKey

Optional Parameters

Name
Description

_format

Response format: json (default) or xml.

Example call:

https://api.smspartner.fr/v1/me?apiKey=YOUR_API_KEY&_format=json

Response Format and Content-Type

You can format your request in either json or xml. You must set the appropriate header (Content-Type) accordingly:

_format

Content-Type

json

application/json

xml

application/xml

Example JSON request:

POST /v1/send HTTP/1.1
Host: api.smspartner.fr
Content-Type: application/json

{
    "apiKey": "API_KEY",
    "phoneNumbers": "+33600000000",
    "message": "Hello world"
}

Requests

All API requests must be sent to:

http://api.smspartner.fr/v1/{command}

{command} corresponds to the API call you wish to make, with the parameters included in the body (POST) or in the URL (GET).


Download a PHP Example

Directly download a usage example in PHP:

Your account's API key. You can obtain it from your

SMS Partner
Page cover image
dashboard SMS Partner