Follow this tutorial to integrate the SMS API. It will provide instructions on how to quickly integrate SMS messaging services into various solutions using the HTTP Application Programming Interface (HTTP API). The HTTP API can be used to send SMS messages, collect delivery reports, make number context requests (number validation). The API is based on REST standards, allowing you to use your browser to access URLs. In order to interact with our API, any HTTP client in any programming language can be used.
To integrate the SMS API, you must have an SMS account. The SMS account is independent of the merchant account. To create an SMS account, please contact firstname.lastname@example.org
All requests are submitted via the HTTP POST method.
The API supports JSON content types and acceptance criteria that must be specified in the header. If the Content-Type is not specified, you will receive a general error.
To use the SMS API, you need to add the API key (provided by CinetPay) in the HTTP request header
CURLOPT_HTTPHEADER => array( 'Authorization: App my_apikey', 'Content-Type: application/json' ),
mon comptethen click on
Gérer les clés API
Créer une clé API