API DOCUMENTATION Last Update: July 2025

SMS Templates - List Service Providers

Retrieves information about an existing SMS Service Providers.

Headers

  Key   Value   Note
api_access_key user_api_key Optional

 

 

The data to be submitted to the API is composed of the following fields:

 

  field   Example   Note
API 1.5 Required
user_id john1970 Required
user_api_key 1959ca5645adac9b13dcb3 Required if not included in the headers
account_id greatwidgets Required
type manage_sms_templates Required
action info_service_providers Required
Output Format:
output JSON or XML Optional. If not provided, defaults to XML
callback someFunctionName Optional: JSONP format
condensed yes Optional (No white space)
Applies only to JSON(P) output

 

 

Example PHP Request:

If you are using PHP, the $data array would look like this:

  1. $data['user_id'] = 'john1970';
  2. $data['user_password'] = '1959caadac9b13dcb3';
  3. $data['type'] = 'manage_sms_templates';
  4. $data['action'] = 'info_service_providers';
  5. $data['account_id'] = 'greatwidgets';

 

Success XML Response

  1. <response status="success">
  2. <sms_services_credentials>
  3. <account_id>greatwidgets</account_id>
  4. <sms_service_id>1</sms_service_id>
  5. <sms_service_name>Twilio</sms_service_name>
  6. <sms_service_enabled>Y</sms_service_enabled>
  7. </sms_services_credentials>
  8. </response>

Error XML Response:

  1. <response status="error">
  2. <error>Error message</error>
  3. </response>