{"id":212012,"date":"2020-08-10T16:05:50","date_gmt":"2020-08-10T14:05:50","guid":{"rendered":"http:\/\/sycszpz.cluster100.hosting.ovh.net\/api-sms-http\/api-documentation\/"},"modified":"2025-09-08T09:01:18","modified_gmt":"2025-09-08T07:01:18","slug":"api-documentation","status":"publish","type":"page","link":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/","title":{"rendered":"API documentation"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; inner_shadow=&#8221;on&#8221; custom_padding_last_edited=&#8221;on|phone&#8221; _builder_version=&#8221;4.16&#8243; background_image=&#8221;https:\/\/www.textinghouse.com\/wp-content\/uploads\/2017\/11\/bg_api_sms.jpg&#8221; background_position=&#8221;top_left&#8221; custom_padding=&#8221;0px||29px||false|false&#8221; custom_padding_tablet=&#8221;&#8221; custom_padding_phone=&#8221;||30px|&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row column_structure=&#8221;2_3,1_3&#8243; custom_padding_last_edited=&#8221;on|phone&#8221; _builder_version=&#8221;4.19.4&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; custom_padding=&#8221;0px|0px|0px|0px|false|false&#8221; custom_padding_tablet=&#8221;&#8221; custom_padding_phone=&#8221;0px|||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;2_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h1 style=\"text-align: center;\"><span style=\"color: #ffffff;\">API SMS PRO Documentation<\/span><\/h1>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_button button_url=&#8221;https:\/\/api.textinghouse.com\/&#8221; button_text=&#8221;Test API&#8221; button_alignment=&#8221;center&#8221; disabled_on=&#8221;on|off|off&#8221; _builder_version=&#8221;4.16&#8243; custom_button=&#8221;on&#8221; button_text_color=&#8221;#ffffff&#8221; button_bg_color=&#8221;#ffa200&#8243; button_border_width=&#8221;0&#8243; button_letter_spacing=&#8221;1&#8243; button_font=&#8221;|on|||&#8221; button_icon=&#8221;&#x35;||divi||400&#8243; button_rel=&#8221;off||on||&#8221; custom_margin=&#8221;0px||0px|&#8221; custom_margin_tablet=&#8221;70px|||&#8221; saved_tabs=&#8221;all&#8221; global_colors_info=&#8221;{}&#8221; button_text_size__hover_enabled=&#8221;off&#8221; button_one_text_size__hover_enabled=&#8221;off&#8221; button_two_text_size__hover_enabled=&#8221;off&#8221; button_text_color__hover_enabled=&#8221;off&#8221; button_one_text_color__hover_enabled=&#8221;off&#8221; button_two_text_color__hover_enabled=&#8221;off&#8221; button_border_width__hover_enabled=&#8221;off&#8221; button_one_border_width__hover_enabled=&#8221;off&#8221; button_two_border_width__hover_enabled=&#8221;off&#8221; button_border_color__hover_enabled=&#8221;off&#8221; button_one_border_color__hover_enabled=&#8221;off&#8221; button_two_border_color__hover_enabled=&#8221;off&#8221; button_border_radius__hover_enabled=&#8221;off&#8221; button_one_border_radius__hover_enabled=&#8221;off&#8221; button_two_border_radius__hover_enabled=&#8221;off&#8221; button_letter_spacing__hover_enabled=&#8221;off&#8221; button_one_letter_spacing__hover_enabled=&#8221;off&#8221; button_two_letter_spacing__hover_enabled=&#8221;off&#8221; button_bg_color__hover_enabled=&#8221;off&#8221; button_one_bg_color__hover_enabled=&#8221;off&#8221; button_two_bg_color__hover_enabled=&#8221;off&#8221;][\/et_pb_button][et_pb_text _builder_version=&#8221;4.16&#8243; text_font=&#8221;||||||||&#8221; text_orientation=&#8221;center&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><span style=\"font-size: 8pt;\"><strong><span style=\"color: #ffffff;\">If you have a specific need, <a href=\"https:\/\/www.textinghouse.com\/en\/contact\/\">contact us<\/a>!<\/span><\/strong><\/span><\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=&#8221;1&#8243; specialty=&#8221;on&#8221; _builder_version=&#8221;4.20.2&#8243; custom_margin=&#8221;15px|||||&#8221; custom_padding=&#8221;0px|||||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;1_4&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;]<\/p>\n<p>[et_pb_sidebar area=&#8221;et_pb_widget_area_8&#8243; disabled_on=&#8221;on|on|off&#8221; admin_label=&#8221;Barre lat\u00e9rale&#8221; module_id=&#8221;doc-menu&#8221; _builder_version=&#8221;4.20.2&#8243; global_colors_info=&#8221;{}&#8221;][\/et_pb_sidebar]<\/p>\n<p>[\/et_pb_column][et_pb_column type=&#8221;3_4&#8243; specialty_columns=&#8221;3&#8243; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;|||&#8221; global_colors_info=&#8221;{}&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_row_inner module_id=&#8221;doc-text&#8221; _builder_version=&#8221;4.16&#8243; custom_padding=&#8221;||29px|||&#8221; locked=&#8221;off&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column_inner saved_specialty_column_type=&#8221;3_4&#8243; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.17.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>Versions<\/h2>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Num<\/th>\n<th>Modifications<\/th>\n<th>Date of application<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1.0.0<\/td>\n<td>Initial version<\/td>\n<td>\u00a0<\/td>\n<\/tr>\n<tr>\n<td>1.1.0<\/td>\n<td>\n<ul>\n<li>Commercial messages must include the words &#8216;STOP sms-s.top&#8217;.<\/li>\n<li>Error code added : 400 &#8211; STOP mention missing<\/li>\n<\/ul>\n<\/td>\n<td>16\/12\/2021<\/td>\n<\/tr>\n<tr>\n<td>1.1.1<\/td>\n<td>\n<ul>\n<li>Date format updated for <a href=\"#doc-remrep\">&#8216;SMS replies callback&#8217;<\/a>.<\/li>\n<li>Callbacks <a href=\"#doc-remstatut\">&#8216;Status callback&#8217;<\/a> and <a href=\"#doc-remrep\">&#8216;SMS replies callback&#8217;<\/a> now send JSON by default.<\/li>\n<\/ul>\n<\/td>\n<td>11\/07\/2022<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-intro&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>1. Introduction<\/h2>\n<p><\/p>\n<p>The HTTP API is the <strong>easiest way<\/strong> to use TextingHouse&#8217;s SMS communication portal. This interface can be used in the form of HTTP <strong>POST<\/strong> as well as <strong>GET<\/strong> URL. We recommend using POST if the data volume is large, as the GET is limited in size. TextingHouse&#8217;s responses to these queries are plain text (<strong>content-type: text\/plain; charset=utf-8<\/strong>). For example the ID of the SMS created, the SMS status code, the credit value, an error code&#8230; They are inserted directly into the <strong>HTTP body of the response<\/strong>, without any particular tag. Communication with our API is done over <strong>HTTPS<\/strong> on port 443. <strong>Note<\/strong>: It is important that the entire document is read before contacting support. All of the examples shown in this document use HTTP GET.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-prerequis&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>2. Prerequisites<\/h2>\n<p><\/p>\n<p>In order to use the SMS sending API you first need an <strong>active customer account<\/strong> with <strong>positive credit<\/strong> on the TextingHouse systems. The identifiers will be replaced by &#8216;<em>XXXX<\/em>&#8216; in the code examples that follow. To register, it&#8217;s here: <a href=\"https:\/\/api.textinghouse.com\" rel=\"nofollow\"> Register &#8211; API TextingHouse<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-exemple&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>3. Examples<\/h2>\n<p><\/p>\n<p>Below are basic implementation examples for sending an SMS via the TextingHouse API. The parameters are <strong>case sensitive<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_accordion _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_accordion_item title=&#8221;GET basic command example&#8221; open=&#8221;on&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<p><strong>GET:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">https:\/\/api.textinghouse.com\/http\/v1\/do?user=XXXX&amp;pass=XXXX&amp;cmd=sendsms&amp;to=999&amp;txt=XXXXX&amp;iscom=N<\/code><\/pre>\n<p><\/p>\n<p><strong>Return example:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">ID:5d726149a129c829e8c23f7b<\/code><\/pre>\n<p>[\/et_pb_accordion_item][et_pb_accordion_item title=&#8221;Javascript Node.js example &#8211; axios&#8221; _builder_version=&#8221;4.27.4&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; open=&#8221;off&#8221;]<\/p>\n<p><strong><a title=\"axios github\" href=\"https:\/\/github.com\/axios\/axios\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">axios<\/a>:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-js\">const axios = require('axios');    \r\n\r\naxios({\r\n  method: 'post',\r\n  url: 'https:\/\/api.textinghouse.com\/http\/v1\/do',\r\n  data: {\r\n    user: 'XXXX',\r\n    pass: 'XXXX',\r\n    cmd: 'sendsms',\r\n    to: '999',\r\n    txt: 'My test SMS',\r\n    iscom: 'N'\r\n  },\r\n  responseType: 'text'\r\n})\r\n.then((res) =&gt; {\r\n  console.log(res.data)\r\n})\r\n.catch((error) =&gt; {\r\n  console.error(error)\r\n});<\/code><\/pre>\n<p>[\/et_pb_accordion_item][et_pb_accordion_item title=&#8221;PHP example &#8211; cURL&#8221; _builder_version=&#8221;4.16&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221; open=&#8221;off&#8221;]<\/p>\n<p><strong><a title=\"PHP cURL init\" href=\"https:\/\/www.php.net\/manual\/en\/function.curl-init.php\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">cURL<\/a>:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-php\">$data = array(\r\n    'user' =&gt; 'XXXX',\r\n    'pass' =&gt; 'XXXX',\r\n    'cmd' =&gt; 'sendsms',\r\n    'to' =&gt; '999',\r\n    'txt' =&gt; 'My test SMS',\r\n    'iscom' =&gt; 'N'\r\n);\r\n$url = 'https:\/\/api.textinghouse.com\/http\/v1\/do';\r\n$ch = curl_init($url);\r\n$postString = http_build_query($data, '', '&amp;');\r\ncurl_setopt($ch, CURLOPT_POST, 1);\r\ncurl_setopt($ch, CURLOPT_POSTFIELDS, $postString);\r\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\r\n$response = curl_exec($ch);\r\ncurl_close($ch);<\/code><\/pre>\n<p>[\/et_pb_accordion_item][\/et_pb_accordion][et_pb_text module_id=&#8221;doc-fonctionnement&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>4. How the API works<\/h2>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-auth&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.1 Authentication<\/h3>\n<p><\/p>\n<p>Once your account is created on <a title=\"TextingHouse API\" href=\"https:\/\/api.textinghouse.com\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">TextingHouse API<\/a>, your login details are available on the &#8220;Options&#8221; page:<\/p>\n<p><\/p>\n<ul>\n<li><strong>user<\/strong> : the username provided to you for the http TextingHouse API<\/li>\n<li><strong>pass<\/strong> : the password associated with the username<\/li>\n<\/ul>\n<p><\/p>\n<p>An <strong>IP lock<\/strong> can also be added via the &#8220;Options&#8221; &gt; &#8220;IP lock&#8221; page in order to allow sending only from a specific IP address: <strong>this is recommended<\/strong>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-commandes&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.2 Commands<\/h3>\n<p><\/p>\n<p>The commands are specified via the \u00ab <strong>cmd<\/strong> \u00bb parameter. The possible values are: \u00a0<\/p>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>cmd value<\/th>\n<th>Additional parameters<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>sendsms<\/td>\n<td>yes<\/td>\n<td>Command used for sending SMS. See\u00a0<a href=\"#doc-envoimess\">Send SMS<\/a><\/td>\n<\/tr>\n<tr>\n<td>getstatus<\/td>\n<td>yes<\/td>\n<td>Get the status of a message via its ID. See <a href=\"#doc-demstatut\">Get SMS status<\/a><\/td>\n<\/tr>\n<tr>\n<td>getcredit<\/td>\n<td>no<\/td>\n<td>Get customer account actual credit. See <a href=\"#doc-conscred\">Consult your credit balance<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-envoimess&#8221; _builder_version=&#8221;4.19.4&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.3 Send SMS<\/h3>\n<p><\/p>\n<p>Sending a message is done using the command \u00ab\u00a0<strong>sendsms<\/strong>\u00a0\u00bb:<\/p>\n<p><\/p>\n<pre><code class=\"language-html\">&amp;cmd=sendsms<\/code><\/pre>\n<p><\/p>\n<p>The parameters of the \u00ab\u00a0<strong>sendsms<\/strong>\u00a0\u00bb command are as follows:<\/p>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Mandatory<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>to<\/td>\n<td>yes<\/td>\n<td>Recipient&#8217;s phone number prefixed by the international country code<br \/>Ex: 33 for France<\/td>\n<\/tr>\n<tr>\n<td>txt<\/td>\n<td>yes<\/td>\n<td>\n<p>Message text.<br \/>The text should be &#8220;URL Encoded&#8221;.<br \/>Note that some special characters may be replaced depending on the SMS destination network.<br \/>See <a href=\"#doc-caract-aut\">5.3 Allowed characters in SMS<\/a><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>climsgid<\/td>\n<td>no<\/td>\n<td>Message client ID Defined by customer to get follow-up. Up to 32 characters.<\/td>\n<\/tr>\n<tr>\n<td>from<\/td>\n<td>no<\/td>\n<td>Allows you to customize the sender ID of the SMS. Sender ID personalization is restricted to a set of names authorized for your account. Requests are made via the &#8220;Options&#8221; page of the <a href=\"https:\/\/api.textinghouse.com\/\" rel=\"nofollow\">API interface<\/a>. Limited to 11 unaccented characters (a-zA-Z0-9). The personalization of the sender ID is not possible for certain destinations (technical restriction of certain operators). TextingHouse reserves the right to replace the sender chosen by the customer at the time of sending.<\/td>\n<\/tr>\n<tr>\n<td>iscom<\/td>\n<td>yes<\/td>\n<td>Indicates whether it is a commercial message or not. Possible value:<\/p>\n<ul>\n<li>&#8216;Y&#8217; for: Yes, this is a commercial message<\/li>\n<li>&#8216;N&#8217; for: No, this is not a commercial message<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Commercial messages must be sent on working days and during the day.<\/strong> The authorized slots (according to the local time of the recipient) are therefore as follows:<\/p>\n<ul>\n<li>Monday to Friday between 8 a.m. and 8 p.m.,<\/li>\n<li>Saturday between 10 a.m. and 3 p.m.<\/li>\n<\/ul>\n<p>Commercial messages on Sundays and public holidays are not permitted.<\/p>\n<p>Text messages of a commercial nature sent outside the authorized time slots will be retained and sent at the next working hour without the customer being able to issue a complaint or cancellation of sending.<\/p>\n<p>Each commercial message must also:<\/p>\n<ul>\n<li><strong>specify the identity of the advertiser<\/strong>,<\/li>\n<li><strong>include the mention &#8216;STOP sms-s.top&#8217;<\/strong><\/li>\n<\/ul>\n<p>See detail below: <a href=\"#doc-messcom\">Commercial \/ marketing SMS<\/a><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p>Example of sending an SMS containing the message \u00ab\u00a0SMS accentu\u00e9 de test via TextingHouse\u00a0\u00bb to the French number \u00a0with the client ID \u00ab FRS78913246\u00a0\u00bb:<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">https:\/\/api.textinghouse.com\/http\/v1\/do?user=XXXX&amp;pass=XXXXXX&amp;cmd=sendsms&amp;to=33628000000&amp;txt=SMS%20accentu%C3%A9%20de%20test%20via%20TextingHouse&amp;climsgid=FRS78913246&amp;from=test&amp;iscom=N<\/code><\/pre>\n<p><\/p>\n<p><strong>Return:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">ID:&lt;api_id&gt; <em>(TextingHouse ID)<\/em><\/code><\/pre>\n<p><\/p>\n<p><strong>Example:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">ID:5d726149a129c829e8c23f7b<\/code><\/pre>\n<p><\/p>\n<p>Following a sending, the API provides the message ID, which confirms that the message has been properly handled. This ID will be necessary for you to correlate the feedback of statuses and the messages sent.<\/p>\n<p><\/p>\n<p><strong>Or, in case of error:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">ERR: &lt;error_code&gt; | error description<\/code><\/pre>\n<p><\/p>\n<p><strong>Example:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">ERR: 101 | Authentication failed<\/code><\/pre>\n<p><\/p>\n<p>In the event of an error, the following codes must be taken into consideration:<\/p>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th><strong>Error code<\/strong><\/th>\n<th><strong>Description<\/strong><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>100<\/td>\n<td>Missing parameter<\/td>\n<\/tr>\n<tr>\n<td>101<\/td>\n<td>Authentication failure: invalid username, password or IP address<\/td>\n<\/tr>\n<tr>\n<td>104<\/td>\n<td>Insufficient credit<\/td>\n<\/tr>\n<tr>\n<td>350<\/td>\n<td>Stop flooding. Only one message (same content, same telephone number) per recipient is authorized per 10 seconds. Beyond this limit, the API returns this error.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>STOP mention missing<br \/>The message is commercial but the mention `STOP sms-s.top` is missing.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<h4 id=\"doc-messcom\">Commercial \/ marketing SMS<\/h4>\n<p><\/p>\n<p>The parameter \u00ab <strong>iscom<\/strong> \u00bb (mandatory) of the \u00ab <strong>sendsms<\/strong> \u00bb command indicates if your SMS is commercial (or marketing), or if it is a service message.<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><strong>Reminder of the CNIL rules concerning commercial SMS:<\/strong><\/p>\n<p><\/p>\n<p>SMS advertising is possible in France provided that people have explicitly given their consent to be canvassed when collecting their mobile phone number.<\/p>\n<p><\/p>\n<p>Each commercial message must:<\/p>\n<p><\/p>\n<ul>\n<li>specify the identity of the advertiser,<\/li>\n<li>provide a simple way to object to receiving new solicitations (<strong>STOP SMS<\/strong>).<\/li>\n<li>be sent only on working days and during the day.<\/li>\n<\/ul>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><strong>STOP SMS<\/strong><\/p>\n<p><\/p>\n<p>All commercial SMS (iscom = Y) must include the mention &#8216;STOP sms-s.top&#8217; at the end of the text of your message.<\/p>\n<p><\/p>\n<p>TextingHouse will then automatically collect STOP SMS from your recipients to allow them to unsubscribe from your communications.<\/p>\n<p><\/p>\n<p>If a commercial SMS does not contain the mention &#8216;STOP sms-s.top&#8217;, it will be refused (error 400).<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<p><strong>Time restrictions:<\/strong><\/p>\n<p><\/p>\n<p>The rules for prospecting by SMS define that messages of a commercial nature must be sent on working days and during the day. The slots allowed by TextingHouse are therefore as follows:<\/p>\n<p><\/p>\n<ul>\n<li>Saturday between 10 a.m. and 3 p.m.<\/li>\n<\/ul>\n<p><\/p>\n<p>Commercial messages are not permitted on Sundays or public holidays.<\/p>\n<p><\/p>\n<p>Text messages of a commercial nature sent outside the authorized time slots will be retained and sent at the next working hour without the customer being able to issue a complaint or cancellation.<\/p>\n<p><\/p>\n<p>&nbsp;<\/p>\n<p><\/p>\n<h4 id=\"doc-messcredit\">SMS cost<\/h4>\n<p><\/p>\n<p>Each SMS sent to the API (except <a title=\"test SMS\" href=\"#doc-smstest\">test SMS<\/a> sent to 999), is billed at <a title=\"SMS pricing\" href=\"https:\/\/www.textinghouse.com\/en\/pricing\/\">the rate in effect<\/a> at the time of sending. If the SMS <strong>exceeds 160 characters<\/strong>, each additional SMS will be counted according to the <a title=\"FAQ SMS\" href=\"https:\/\/www.textinghouse.com\/en\/faq\/#smslength\">cutting of the SMS (see FAQ What size of message can I send by SMS ?)<\/a>.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-demstatut&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.4 Get SMS status<\/h3>\n<p><\/p>\n<p>We recommend the use of automatic status reporting via the callback URL: see <a href=\"#doc-remstatut\">Status callback<\/a>. However, it is possible to request the status of a message by specifying its TextingHouse ID or its customer ID with the command \u00ab\u00a0<strong>getstatus<\/strong>\u00a0\u00bb\u00a0:<\/p>\n<p><\/p>\n<pre class=\"doc-code\"><code class=\"css\">&amp;cmd=getstatus<\/code><\/pre>\n<p><\/p>\n<p>The parameters are as follows:<\/p>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>api_id<\/td>\n<td>TextingHouse ID returned by the API when sending<\/td>\n<\/tr>\n<tr>\n<td>climsgid<\/td>\n<td>Customer ID provided when sending<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<p>If both parameters are entered, only the api_id will be taken into account. Example:<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">https:\/\/api.textinghouse.com\/http\/v1\/do?user=XXXX&amp;pass=XXXXXX&amp;cmd=getstatus&amp;api_id=1c97394eea5806c0741be3601d8fca0b<\/code><\/pre>\n<p><\/p>\n<p>Or<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">https:\/\/api.textinghouse.com\/http\/v1\/do?user=XXXX&amp;pass=XXXXXX&amp;cmd=getstatus&amp;climsgid=FRS78913246<\/code><\/pre>\n<p><\/p>\n<p><strong>Return:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">&lt;status_code&gt;<\/code><\/pre>\n<p><\/p>\n<p><strong>Example:<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">3<\/code><\/pre>\n<p><\/p>\n<p>Status codes: see <a href=\"#doc-codestatus\">Status dode<\/a> Error code:<\/p>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Error code<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>100<\/td>\n<td>Missing parameter<\/td>\n<\/tr>\n<tr>\n<td>101<\/td>\n<td>Authentication failure: invalid username, password or IP address<\/td>\n<\/tr>\n<tr>\n<td>201<\/td>\n<td>api_id unknown<\/td>\n<\/tr>\n<tr>\n<td>202<\/td>\n<td>climsgid unknown<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-remstatut&#8221; _builder_version=&#8221;4.17.4&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.5 Status callback<\/h3>\n<p><\/p>\n<p>The TextingHouse API will send the statuses with <strong>HTTP POST<\/strong> containing the status in JSON format on a URL provided by the client (callback URL). This URL configuration is done on the API interface page &#8220;Options&#8221; &gt; &#8220;DLR and MO callbacks&#8221;.<\/p>\n<p><\/p>\n<p>For example if the entered callback URL is\u00a0<i>https:\/\/www.mysite.com\/myscript.do<\/i>, the request made by TextingHouse will be:<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">POST https:\/\/www.mondomaine.com\/monscript.do HTTP\/1.1\r\nContent-Type: application\/json\r\n\r\n{\r\n  \"apimsgid\": \"5d726149a129c829e8c23f7b\",\r\n  \"climsgid\": \"FR-6468446\",\r\n  \"status\": \"3\"\r\n}<\/code><\/pre>\n<p><\/p>\n<p>With the following parameters:<\/p>\n<p><\/p>\n<ul>\n<li><strong>apimsgid<\/strong>: TextingHouse ID returned by the API when sending (string)<\/li>\n<li><strong>climsgid<\/strong>: Optional customer ID provided when sending (string)<\/li>\n<li><strong>status<\/strong>: SMS status (string) &#8211; code list: see <a href=\"#doc-codestatus\">Status codes<\/a><\/li>\n<\/ul>\n<p><\/p>\n<p>The client-side script should respond with a 2XX HTML status code. The response body is not processed by TextingHouse.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-remrep&#8221; _builder_version=&#8221;4.17.4&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.6 SMS replies callback (SMS MO)<\/h3>\n<p><\/p>\n<p>The TextingHouse API will send the SMS replies<strong>*<\/strong> with <strong>HTTP POST<\/strong> containing the SMS reply in JSON format on a URL provided by the client (SMSMO callback URL). This URL configuration is done on the API interface page &#8220;Options&#8221; &gt; &#8220;DLR and MO callbacks&#8221;.<\/p>\n<p><\/p>\n<p><strong>*<\/strong><em> Depending on the operators and the sending countries. Warning, when a sender ID name is used (parameter &#8216;from&#8217; in &#8216;sendsms&#8217; command), the recipients cannot reply to SMS.<\/em><\/p>\n<p><\/p>\n<p>For example if the entered callback URL is <i>https:\/\/www.mysite.com\/myscript.do<\/i>, The request made by TextingHouse will be:<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">POST https:\/\/www.mondomaine.com\/monscript.do HTTP\/1.1\r\nContent-Type: application\/json\r\n\r\n{\r\n  \"apimsgid\": \"5d726149a129c829e8c23f7b\",\r\n  \"climsgid\": \"FR-6468446\",\r\n  \"from\": \"33600000000\",\r\n  \"txt\": \"Texte du message\",\r\n  \"date\": \"2019-04-01T13:09:16Z\"\r\n}<\/code><\/pre>\n<p><\/p>\n<p>With the following parameters:<\/p>\n<p><\/p>\n<ul>\n<li><strong>apimsgid<\/strong>: TextingHouse ID returned by the API when sending (string)<\/li>\n<li><strong>climsgid<\/strong>: Optional customer ID provided when sending (string)<\/li>\n<li><strong>from<\/strong>: phone number of the message sender (string)<\/li>\n<li><strong>txt<\/strong>: the message (string)<\/li>\n<li><strong>date<\/strong>: message UTC date, format YYYY-MM-DD HH:mm:ss (string)<\/li>\n<\/ul>\n<p><\/p>\n<p>The client-side script should respond with a 2XX HTML status code. The response body is not processed by TextingHouse.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-conscred&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>4.7 Consult your credit balance<\/h3>\n<p><\/p>\n<p>Get your credit balance with command <strong>getcredit<\/strong> :<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">&amp;cmd=getcredit<\/code><\/pre>\n<p><\/p>\n<p><strong>Example :<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">https:\/\/api.textinghouse.com\/http\/v1\/do?user=XXXX&amp;pass=XXXXXX&amp;cmd=getcredit<\/code><\/pre>\n<p><\/p>\n<p>Return:<\/p>\n<p><\/p>\n<pre><code class=\"language-http\">&lt;credit&gt;<\/code><\/pre>\n<p><\/p>\n<p><strong>Example :<\/strong><\/p>\n<p><\/p>\n<pre><code class=\"language-http\">1423<\/code><\/pre>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-smstest&#8221; _builder_version=&#8221;4.16&#8243; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>4.8 Test SMS to 999<\/h3>\n<p><\/p>\n<p>Sending an SMS to the number 999 is a <strong>simple way to test the API<\/strong> for both development and service monitoring. Sending an SMS to this number is subject to authentication as for sending a standard SMS to a &#8220;classic&#8221; recipient. Note that <strong>SMS sent to 999 are not charged<\/strong>. The API will support these tests in the same way as standard SMS (see <a href=\"#doc-envoimess\">Send SMS<\/a>, <a href=\"#doc-demstatut\">Get SMS status<\/a> et\u00a0<a href=\"#doc-remstatut\">Status callback<\/a>), this implies in particular:<\/p>\n<p><\/p>\n<ul>\n<li>The return of a message id.<\/li>\n<li>Support for your internal id (optional).<\/li>\n<li>The transmission of an acknowledgment of receipt in &#8220;delivered&#8221; status. Note that this virtual acknowledgment of receipt is generated at the end of the test (the SMS is not delivered to an operator) but nevertheless reflects the proper functioning of our sending chain and in particular the communication between the API front-ends and our platforms of consignments.<\/li>\n<li>The response to the status query on this message ID.<\/li>\n<\/ul>\n<p><\/p>\n<p>The content of the test SMS is free and not taken into account.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-backup&#8221; _builder_version=&#8221;4.27.4&#8243; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3>4.9 Ensure Service Continuity with API Redundancy<\/h3>\n<p><\/p>\n<p data-start=\"126\" data-end=\"260\">As part of the integration with our SMS API, we strongly recommend implementing an automatic failover mechanism in your development.<\/p>\n<p><\/p>\n<p data-start=\"262\" data-end=\"469\">In practice, if a request to the primary URL <code data-start=\"307\" data-end=\"329\">api.textinghouse.com<\/code> does not succeed (no response), we advise your system to immediately retry the same request on our backup server <code data-start=\"443\" data-end=\"466\">api2.textinghouse.com<\/code>.<\/p>\n<p><\/p>\n<p data-start=\"471\" data-end=\"647\">This best practice ensures greater fault tolerance and optimal service continuity for your application, even in the event of temporary unavailability of the primary frontend.<\/p>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-annexes&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h2>5. Appendices<\/h2>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-codestatus&#8221; _builder_version=&#8221;4.16&#8243; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>5.1 Status codes<\/h3>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Status code<\/th>\n<th>Status type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>temporary<\/td>\n<td>Processing in progress<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>temporary<\/td>\n<td>In progress: SMS sent, awaiting final status.<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>final<\/td>\n<td>SMS received<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>final<\/td>\n<td>Expired or out of reach<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>final<\/td>\n<td>Not subscribed<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>final<\/td>\n<td>SMS not received&#8221;<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>final<\/td>\n<td>Prohibited sending<\/td>\n<\/tr>\n<tr>\n<td>20<\/td>\n<td>final<\/td>\n<td>Insufficient credit<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-codeerr&#8221; _builder_version=&#8221;4.16&#8243; custom_margin=&#8221;||100px|||&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>5.2 Error codes<\/h3>\n<p><\/p>\n<table class=\"doc-table\">\n<thead>\n<tr>\n<th>Error code<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>100<\/td>\n<td>Missing parameters<\/td>\n<\/tr>\n<tr>\n<td>101<\/td>\n<td>Authentication failure: invalid username, password or IP address<\/td>\n<\/tr>\n<tr>\n<td>104<\/td>\n<td>Insufficient credit<\/td>\n<\/tr>\n<tr>\n<td>201<\/td>\n<td>Unknown api_id<\/td>\n<\/tr>\n<tr>\n<td>202<\/td>\n<td>Unknown climsgid<\/td>\n<\/tr>\n<tr>\n<td>300<\/td>\n<td>Error processing request<\/td>\n<\/tr>\n<tr>\n<td>350<\/td>\n<td>Flood detected. Only one message (same content, same telephone number) per recipient is authorized per 10 seconds. Beyond this limit, the API returns this error.<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\n<p>STOP mention missing<\/p>\n<p>The message is commercial but the mention `STOP sms-s.top` is missing.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>[\/et_pb_text][et_pb_text module_id=&#8221;doc-caract-aut&#8221; _builder_version=&#8221;4.27.4&#8243; custom_margin=&#8221;||100px|||&#8221; global_colors_info=&#8221;{}&#8221;]<\/p>\n<h3>5.3 Allowed characters in SMS<\/h3>\n<p><\/p>\n<p>JavaScript pattern representing the allowed characters:<\/p>\n<p><\/p>\n<pre><code class=\"language-regex\">\/[ 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\u00c4\u00e4\u00e0\u00c5\u00e5\u00c6\u00e6\u00df\u00c7\u00e8\u00e9\u00c9\u00ec\u00d6\u00f6\u00f2\u00d8\u00f8\u00d1\u00f1\u00dc\u00fc\u00f9#\u00a4%&amp;()*+,\\-.\/:;&lt;&gt;=\u00a7$!?\u00a3\u00bf\u00b7@\u00a1'\"\\n\\[\\]{}~^|]\/<\/code><\/pre>\n<p><\/p>\n<p><i>See <a href=\"https:\/\/en.wikipedia.org\/wiki\/GSM_03.38\" rel=\"nofollow\">SM 03.38<\/a><\/i><\/p>\n<p>[\/et_pb_text][\/et_pb_column_inner][\/et_pb_row_inner][\/et_pb_column][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>API SMS PRO DocumentationIf you have a specific need, contact us!Versions Num Modifications Date of application 1.0.0 Initial version \u00a0 1.1.0 Commercial messages must include the words &#8216;STOP sms-s.top&#8217;. Error code added : 400 &#8211; STOP mention missing 16\/12\/2021 1.1.1 Date format updated for &#8216;SMS replies callback&#8217;. Callbacks &#8216;Status callback&#8217; and &#8216;SMS replies callback&#8217; now [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":207788,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-212012","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>API documentation HTTP - Send SMS PRO TextingHouse<\/title>\n<meta name=\"description\" content=\"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"API documentation HTTP - Send SMS PRO TextingHouse\" \/>\n<meta property=\"og:description\" content=\"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"TextingHouse SMS pro\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TextingHouse\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-08T07:01:18+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@TextingHouse\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/api-documentation\\\/\",\"url\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/api-documentation\\\/\",\"name\":\"API documentation HTTP - Send SMS PRO TextingHouse\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#website\"},\"datePublished\":\"2020-08-10T14:05:50+00:00\",\"dateModified\":\"2025-09-08T07:01:18+00:00\",\"description\":\"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/api-documentation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/api-documentation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/api-documentation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/sending-pro-sms-via-web-browser-extension-textinghouse\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/api-sms-http\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"API documentation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/\",\"name\":\"TextingHouse SMS pro\",\"description\":\"L&#039;int\u00e9gration du SMS \u00e0 vos applications m\u00e9tier\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#organization\",\"name\":\"TextingHouse\",\"url\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.textinghouse.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/cropped-TextingHouse_logo_800.png\",\"contentUrl\":\"https:\\\/\\\/www.textinghouse.com\\\/wp-content\\\/uploads\\\/2017\\\/05\\\/cropped-TextingHouse_logo_800.png\",\"width\":512,\"height\":512,\"caption\":\"TextingHouse\"},\"image\":{\"@id\":\"https:\\\/\\\/www.textinghouse.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/TextingHouse\",\"https:\\\/\\\/x.com\\\/TextingHouse\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/textinghouse\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC9PEMl25tu5mNeTNeJXK5bA\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"API documentation HTTP - Send SMS PRO TextingHouse","description":"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/","og_locale":"en_US","og_type":"article","og_title":"API documentation HTTP - Send SMS PRO TextingHouse","og_description":"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.","og_url":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/","og_site_name":"TextingHouse SMS pro","article_publisher":"https:\/\/www.facebook.com\/TextingHouse","article_modified_time":"2025-09-08T07:01:18+00:00","twitter_card":"summary_large_image","twitter_site":"@TextingHouse","twitter_misc":{"Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/","url":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/","name":"API documentation HTTP - Send SMS PRO TextingHouse","isPartOf":{"@id":"https:\/\/www.textinghouse.com\/en\/#website"},"datePublished":"2020-08-10T14:05:50+00:00","dateModified":"2025-09-08T07:01:18+00:00","description":"TextingHouse HTTP API documentation - Send SMS PRO, get SMS status, get SMS reply and consult your credit balance.","breadcrumb":{"@id":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/api-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.textinghouse.com\/en\/sending-pro-sms-via-web-browser-extension-textinghouse\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.textinghouse.com\/en\/api-sms-http\/"},{"@type":"ListItem","position":3,"name":"API documentation"}]},{"@type":"WebSite","@id":"https:\/\/www.textinghouse.com\/en\/#website","url":"https:\/\/www.textinghouse.com\/en\/","name":"TextingHouse SMS pro","description":"L&#039;int\u00e9gration du SMS \u00e0 vos applications m\u00e9tier","publisher":{"@id":"https:\/\/www.textinghouse.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.textinghouse.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.textinghouse.com\/en\/#organization","name":"TextingHouse","url":"https:\/\/www.textinghouse.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.textinghouse.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.textinghouse.com\/wp-content\/uploads\/2017\/05\/cropped-TextingHouse_logo_800.png","contentUrl":"https:\/\/www.textinghouse.com\/wp-content\/uploads\/2017\/05\/cropped-TextingHouse_logo_800.png","width":512,"height":512,"caption":"TextingHouse"},"image":{"@id":"https:\/\/www.textinghouse.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TextingHouse","https:\/\/x.com\/TextingHouse","https:\/\/www.linkedin.com\/company\/textinghouse","https:\/\/www.youtube.com\/channel\/UC9PEMl25tu5mNeTNeJXK5bA"]}]}},"_links":{"self":[{"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/pages\/212012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/comments?post=212012"}],"version-history":[{"count":0,"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/pages\/212012\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/pages\/207788"}],"wp:attachment":[{"href":"https:\/\/www.textinghouse.com\/en\/wp-json\/wp\/v2\/media?parent=212012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}