Gigabark Logo

Gigabark Application Programming Interface (API)

Test with Interactive Test Tool

messages


Description:   Return a list of all messages for the given account.
URL:   https://gigabark.com/api/messages.php
Returns:   array of [message object] or [error object]

Parameters
Parameter Name Required Description Permitted Valued Default
email Yes The email address associated with the Gigabark account making API requests (none)
password Yes The password used to log into the Gigabark account making API requests (none)
format No The format of responses from the Gigabark servers to your API requests. xml, json xml
method No This parameter can be used to filter the message query results. all, voice, sms, survey all


Interactive API Test Tool

This tool simulates an API call to our system at the URL above. The data in the form fields are the parameters sent in that API call. The response from our system is shown below.

email *
password *
format
method
Since you are not logged in, we return an empty object and avoid login verification.

Parameter string on API call:

Response to API call:

Sample PHP Code to call API:
$curl_url = "https://gigabark.com/api/messages.php";
$POST = "email=your.email@email.com&password=pwd"; // Add params from this page

$curl_handle=curl_init($curl_url);
if (!$curl_handle) die("curl connection failed");

curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl_handle, CURLOPT_POST,1);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER,1);
curl_setopt($curl_handle, CURLOPT_TIMEOUT, 5);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS,$POST);

$output = curl_exec($curl_handle);
curl_close($curl_handle);

Contact | terms and conditions | privacy policy
©2007-2024 - Gigabark,LLC