Below, you will find a sample C# (HttpClient) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
C# RestSharp
Below, you will find a sample C# (RestSharp) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
cURL
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
Javascript -Fetch
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
C# (HttpClient)
Below, you will find a sample C# (HttpClient) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
C# RestSharp
Below, you will find a sample C# (RestSharp) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
cURL
Below, you will find a sample cURL request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
Javascript -Fetch
Below, you will find a sample Javascript (Fetch) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
JQuery
Below, you will find a sample Javascript (jQuery) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
XHR
Below, you will find a sample Javascript (XHR) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
NodeJS Axios
Below, you will find a sample NodeJS (Axios) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample:
NodeJS- Native
Below, you will find a sample NodeJS (Native) request for STI-AS. You will need to replace the following values with yours (values are in curly braces):
ToNumber
Any 10 or 11 digit US-based telephone number
FromNumber
Any 10 or 11 digit US-based telephone number
API Key
Your SmartCarrier API key. You may find your API key by visiting https://app.smartcarrier.io/my-account/api-key
Code Sample: