Smstools

SMS Gateway - SMS API in Italia

Comincia subito

Webhooks: Create webhook endpoint

Base URL:

										POST: https://api.smsgatewayapi.com/v1/webhook/create
									
ParameterInputDescription
client_idAPI client IDLogin and go to 'Advanced' - 'API authentication' to find the API keys
Required
client_secretAPI client secretLogin and go to 'Advanced' - 'API authentication' to find the API keys
Required
webhook_endpointURLThe URL for your webhook
Required
webhook_methodPOST/GETThe method for the URL
Required
webhook_typesArray of typesThe array of supported types for this webhook
Required
<?php
	//PHP - cURL
	$ch = curl_init();
	$url = "https://api.smsgatewayapi.com/v1/webhook/create";
	$client_id = "XXX"; // Your API client ID (required)
	$client_secret = "YYY"; // Your API client secret (required)
	$data = [

]; curl_setopt($ch, CURLOPT_URL, "$url"); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_VERBOSE, true); curl_setopt($ch, CURLOPT_HTTPHEADER, [ "X-Client-Id: $client_id", "X-Client-Secret: $client_secret", "Content-Type: application/json", ]); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); $response = curl_exec($ch); ?>

Example success response:

{
    "secret": "ccc14fb1-bf8c-4ebf-882c-caccd4c95a2c"
}

SMS API

Smstools
Con il nostro gateway API SMS puoi aggiungere messaggi alla tua piattaforma in pochi minuti. Prova gratuita. SMS API
5 su 5 basato su 2908 valutazioni degli utenti.
SMSGATEWAYAPI API1

REGISTRATI ORA

Scopri la nostra piattaforma per Messaggi SMS oggi stesso!

REGISTRATI